Initial Commit

This commit is contained in:
quantulr
2024-05-06 15:34:15 +08:00
commit e3a0666d5a
307 changed files with 28969 additions and 0 deletions

14
.gitignore vendored Normal file
View File

@ -0,0 +1,14 @@
# Windows
[Dd]esktop.ini
Thumbs.db
$RECYCLE.BIN/
# macOS
.DS_Store
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
# Node.js
node_modules/

View File

@ -0,0 +1,36 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="JavaDoc" enabled="true" level="WARNING" enabled_by_default="true">
<option name="TOP_LEVEL_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="" />
</value>
</option>
<option name="INNER_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="" />
</value>
</option>
<option name="METHOD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="@return@param@throws or @exception" />
</value>
</option>
<option name="FIELD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="" />
</value>
</option>
<option name="IGNORE_DEPRECATED" value="false" />
<option name="IGNORE_JAVADOC_PERIOD" value="true" />
<option name="IGNORE_DUPLICATED_THROWS" value="false" />
<option name="IGNORE_POINT_TO_ITSELF" value="false" />
<option name="myAdditionalJavadocTags" value="date" />
</inspection_tool>
</profile>
</component>

7
.idea/misc.xml generated Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
</project>

8
.idea/modules.xml generated Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/sphc.iml" filepath="$PROJECT_DIR$/.idea/sphc.iml" />
</modules>
</component>
</project>

9
.idea/sphc.iml generated Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

171
.idea/workspace.xml generated Normal file
View File

@ -0,0 +1,171 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c2d6f755-9310-4166-846a-09797c5c9d9a" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/project.config.json" beforeDir="false" afterPath="$PROJECT_DIR$/project.config.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../../wisdommining-serve/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../../wisdommining-serve/.idea/workspace.xml" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
</component>
<component name="ProjectConfigurationFiles">
<option name="files">
<list>
<option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
<option value="$PROJECT_DIR$/.idea/sphc.iml" />
<option value="$PROJECT_DIR$/.idea/misc.xml" />
<option value="$PROJECT_DIR$/.idea/vcs.xml" />
<option value="$PROJECT_DIR$/.idea/modules.xml" />
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="-20" />
<option name="width" value="1945" />
<option name="height" value="1050" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
<OptionsSetting value="false" id="Update" />
</component>
<component name="ProjectView">
<navigator proportions="" version="1">
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="ProjectPane">
<subPane>
<expand>
<path>
<item name="sphc" type="b2602c69:ProjectViewProjectNode" />
<item name="sphc" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="PackagesPane" />
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="project.structure.last.edited" value="Project" />
<property name="project.structure.proportion" value="0.0" />
<property name="project.structure.side.proportion" value="0.0" />
<property name="settings.editor.selected.configurable" value="configurable.group.appearance" />
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="c2d6f755-9310-4166-846a-09797c5c9d9a" name="Default Changelist" comment="" />
<created>1624441941787</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1624441941787</updated>
<workItem from="1624441943125" duration="30000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="30000" />
</component>
<component name="ToolWindowManager">
<frame x="-7" y="-7" width="1550" height="838" extended-state="6" />
<layout>
<window_info id="Designer" />
<window_info id="Image Layers" />
<window_info id="Capture Tool" />
<window_info id="UI Designer" />
<window_info id="Favorites" side_tool="true" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Terminal" />
<window_info anchor="bottom" id="Docker" show_stripe_button="false" />
<window_info anchor="bottom" id="Event Log" side_tool="true" />
<window_info anchor="bottom" id="Database Changes" />
<window_info anchor="bottom" id="Version Control" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Run" order="2" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="right" id="Maven" />
<window_info anchor="right" id="Palette" />
<window_info anchor="right" id="Codota" />
<window_info anchor="right" id="Word Book" side_tool="true" />
<window_info anchor="right" id="Capture Analysis" />
<window_info anchor="right" id="Database" />
<window_info anchor="right" id="Palette&#9;" />
<window_info anchor="right" id="Theme Preview" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
</layout>
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
<component name="masterDetails">
<states>
<state key="GlobalLibrariesConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="JdkListConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ProjectLibrariesConfigurable.UI">
<settings>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>

154
app.js Normal file
View File

@ -0,0 +1,154 @@
//app.js
App({
onLaunch: function () {
wx.getStorage({
key: 'user',
success: user => {
//登录
this.wxlogin()
}
})
},
wxlogin(option) {
// 登录
console.log("登录参数")
wx.showLoading({
title: '加载中...',
mask: true
})
wx.login({
success: res => {
if (res.code) {
console.log(res)
var code = res.code;
wx.getUserProfile({ //getUserProfile流程
success: res2 => { //获取userinfo成功
console.log("res2", res2);
wx.request({
url: this.globalData.ip + '/wisdommining/api/wechat/getOpenid',
data: {
code: code,
},
success: suc => {
console.log(suc);
if (suc.data.code == 1) {
this.login({
openid: suc.data.value,
nicename: res2.userInfo.nickName,
photo: res2.userInfo.avatarUrl
})
} else {
wx.showModal({
title: '提示!',
content: suc.data.msg,
showCancel: false,
})
}
},
fail: f => {
wx.hideLoading();
console.log(f)
}
});
}, fail: ff => {
wx.hideLoading();
console.log(f)
}
})
}
},
fail: e => {
wx.hideLoading();
wx.showToast({
title: '登录错误~',
icon: 'none',
})
},
})
},
//登录
login(options) {
console.log(options)
wx.request({
url: this.globalData.ip + '/wisdommining/api/wechat/addUser',
method: 'POST',
data: {
wxNickname: options.nicename,
wxPhoto: options.photo,
wxOpenid: options.openid,
userPid: parseInt(this.globalData.pId)
},
success: res => {
console.log(res);
if (res.data.code == 1) {
wx.setStorage({
key: 'user',
data: res.data.value,
})
//获取ID
this.globalData.userId = res.data.value.id;
wx.hideLoading()
} else {
wx.showModal({
title: '提示!',
content: res.data.message,
showCancel: false,
})
}
},
fail: f => {
console.log(res)
}
});
},
//登录提醒
login_no() {
wx.showModal({
title: '您还未登录!',
content: '登录后可浏览更多内容,是否需要登录?',
confirmText: '去登录',
confirmColor: '#ee7b1e',
success: res => {
if (res.confirm) {
wx.navigateTo({
url: '/pages/login/login',
})
}
}
})
},
//分享的积分
share(){
wx.request({
url: this.globalData.ip + '/wisdommining/api/user/putIntetralEarnings',
method: 'PUT',
header: {
"content-type": "application/x-www-form-urlencoded",
},
data: {
userId:this.globalData.userId
},
success: res => {
console.log(res)
}
})
},
globalData: {
statusBarHeight: wx.getSystemInfoSync()['statusBarHeight'],//自定义导航栏顶部高度
cartNum: '',//购物车数量
userId: 0,//个人id
pId: 0,//上级id
bgImg: 'https://sanpinhuicai.com/wisdommining/static/icon/bg/',//背景图片地址
// ip: 'http://106.54.198.47/', //接口地址
ip: 'https://sanpinhuicai.com/', //接口地址
//ip: 'http://192.168.0.199:9090/', //接口地址
//appId wx65c9560afc9cbaa7
}
})

101
app.json Normal file
View File

@ -0,0 +1,101 @@
{
"pages": [
"pages/index/index",
"pages/classify/classify",
"pages/cart/cart",
"pages/my/my",
"pages/login/login",
"pages/bindCompany/bindCompany",
"pages/expresswx/expresswx",
"pages/my/my_address/my_address",
"pages/my/my_address/my_address_details/my_address_details",
"pages/welfare/welfare",
"pages/welfare/cartPay/cartPay",
"pages/index/welfareImg/welfareImg",
"pages/index/banner_details/welfareImg",
"pages/chuxiao/integral",
"pages/chuxiao/cx_details/goodsDetails",
"pages/chuxiao/cartPay/cartPay",
"pages/index_search/index_search",
"pages/index/index_address/index_address",
"pages/goodsDetails/goodsDetails",
"pages/search_details/search_details",
"pages/cartPay/cartPay",
"pages/order_details/order_details",
"pages/my/my_data/my_data",
"pages/my/my_cash/my_cash",
"pages/my/my_introduction/my_introduction",
"pages/my/my_vipjs/my_introduction",
"pages/my/my_feedback/my_feedback",
"pages/integral/integral",
"pages/my/my_bill/my_bill",
"pages/my/ourteam/ourteam",
"pages/my/my_order/my_order",
"pages/my/coupon/coupon",
"pages/welfareImg/welfareImg",
"pages/my/shops/shops",
"pages/order_detailsCode/order_details",
"pages/my/after_sales/after_sales",
"pages/my/applyAfter_sales/applyAfter_sales",
"pages/welfareImg/welfare_tj/welfare_tj",
"pages/my/my_wallet/my_wallet",
"pages/my/my_feedback_list/my_feedback_list",
"pages/chuxiao/cx_wxParse/cx_wxParse",
"pages/my/my_feedback_list/list_details/list_details",
"pages/my/after_sales_next/after_sales_next",
"pages/my/after_jilu/after_jilu",
"pages/logistics_details/logistics_details"
],
"entryPagePath": "pages/index/index",
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "三品慧采",
"navigationBarTextStyle": "black"
},
"tabBar": {
"color": "#333333",
"selectedColor": "#ee7b1e",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "/icon/tab1.png",
"selectedIconPath": "/icon/tab1-active.png"
},
{
"pagePath": "pages/classify/classify",
"text": "分类",
"iconPath": "/icon/tab2.png",
"selectedIconPath": "/icon/tab2-active.png"
},
{
"pagePath": "pages/welfareImg/welfareImg",
"text": "福利定制",
"iconPath": "/icon/tab5.png",
"selectedIconPath": "/icon/tab5-active.png"
},
{
"pagePath": "pages/cart/cart",
"text": "购物车",
"iconPath": "/icon/tab3.png",
"selectedIconPath": "/icon/tab3-active.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "/icon/tab4.png",
"selectedIconPath": "/icon/tab4-active.png"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json",
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将方便您查看附近自提点"
}
}
}

88
app.wxss Normal file
View File

@ -0,0 +1,88 @@
/* 在使用的Wxss中引入WxParse.css,可以在app.wxss */
@import "/wxParse/wxParse.wxss";
/* 元素在主轴(页面)上左右两端或者上下两端开始排列 */
.display_J_B {
display: flex;
justify-content: space-between;
}
/* 每个元素两侧的间隔相等。所以,元素之间的间隔比元素与边框的间隔大一倍 */
.display_J_A {
display: flex;
justify-content: space-around;
}
/* 元素在主轴(页面)上由左或者上开始排列 */
.display_J_S {
display: flex;
justify-content: flex-start;
}
/* 元素在主轴(页面)上由右或者下开始排列 */
.display_J_E {
display: flex;
justify-content: flex-end;
}
/* 元素在主轴(页面)上居中排列 */
.display_J_C {
display: flex;
justify-content: center;
}
/* 弹性盒子元素在该行的侧轴(纵轴)上居中放置。(居中对齐) */
.display_A_C {
display: flex;
align-items: center;
}
/* 弹性盒子元素的侧轴(纵轴)起始位置的边界紧靠住该行的侧轴结束边界。(靠下对齐) */
.display_A_E {
display: flex;
align-items: flex-end;
}
/* 弹性盒子元素的侧轴(纵轴)起始位置的边界紧靠住该行的侧轴起始边界(靠上对齐) */
.display_A_S {
display: flex;
align-items: flex-start;
}
/* 一行溢出隐藏 '...' */
.GStitleOne {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* 两行溢出隐藏 '...' */
.GStitleTwo {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
/* 三行溢出隐藏 '...' */
.GStitleThree {
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.height100 {
height: 100rpx;
}
::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
color: transparent;
}

56
dist/step/index.js vendored Normal file
View File

@ -0,0 +1,56 @@
Component({
externalClasses: ['i-class'],
properties: {
status: {
type: String,
//wait、process、finish、error
value: ''
},
date: {
type: String,
value: ''
},
title: {
type: String,
value: ''
},
content: {
type: String,
value: ''
},
icon: {
type: String,
value: ''
}
},
options: {
// 在组件定义时的选项中启用多slot支持
multipleSlots: true
},
relations: {
'../steps/index': {
type: 'parent'
}
},
data: {
//step length
len: 1,
//current in step index
index: 0,
//parent component select current index
current: 0,
//css direction
direction: 'horizontal'
},
methods: {
updateDataChange(options) {
this.setData({
len: options.len,
index: options.index,
current: options.current,
direction: options.direction
})
}
}
})

3
dist/step/index.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"component": true
}

82
dist/step/index.wxml vendored Normal file
View File

@ -0,0 +1,82 @@
<view class="i-class i-step-item {{parse.getClass(status,current,index)}} {{ direction === 'vertical' ? 'i-step-vertical' : 'i-step-horizontal' }}" style="{{parse.getItemStyle(len,direction)}}">
<view class="i-step-item-ico">
<view class="i-step-ico tctc" wx:if="{{parse.noIco(status,current,index,icon) }}">
<view class="erer"></view>
</view>
<view class="i-step-ico" wx:else style='height:12rpx;'>
<!-- <i-icon i-class="i-step-ico-in" type="{{parse.getIcoClass(status,icon)}}"></i-icon> -->
<image src="/icon/qr.png" style='width:30rpx;height:30rpx;'></image>
</view>
<view class="i-step-line i-donger" wx:if="{{index==0}}"></view>
<view class="i-step-line" wx:if="{{ index !== len - 1&&index!==0}}"></view>
</view>
<view class="i-step-item-main">
<!-- <view class="i-step-item-date" wx:if="{{date!== ''}}">
{{date}}
</view>
<view class="i-step-item-date" wx:else style='margin-right:80rpx;'>
<slot name="date" class="111"></slot>
</view> -->
<view style='flex:1'>
<view class="i-step-item-title" wx:if="{{title !== ''}}">
{{title}}
</view>
<view class="i-step-item-title" wx:else>
<slot name="title"></slot>
</view>
<view class="i-step-item-content" wx:if="{{content !== ''}}">
{{content}}
</view>
<view class="i-step-item-content" wx:else>
<slot name="content"></slot>
</view>
</view>
</view>
</view>
<wxs module="parse">
var allStatus = ['wait', 'process', 'finish', 'error'];
module.exports = {
noIco: function(status, current, index, icon) {
var aindex = allStatus.indexOf(status);
var noIcon = true;
if (index < current || icon !== '') {
noIcon = false;
}
return noIcon;
},
getIcoClass: function(status, ico) {
var class = '';
if (status === 'error') {
class = 'close';
} else {
class = 'right';
}
if (ico !== '') {
class = ico;
}
return class;
},
getItemStyle: function(len, direction) {
if (direction === 'horizontal') {
return 'width :' + 100 / len + '%';
} else {
return 'width : 100%;';
}
},
getClass: function(status, current, index) {
//wait、process、finish、error
var startClass = 'i-step-'
var classes = '';
var cindex = allStatus.indexOf(status);
if (cindex !== -1) {
classes = startClass + allStatus[cindex];
}
if (index < current) {
classes = startClass + 'finish';
} else if (index === current) {
classes = startClass + 'process';
}
return classes;
}
}
</wxs>

167
dist/step/index.wxss vendored Normal file
View File

@ -0,0 +1,167 @@
.i-step-ico {
width: 24px;
height: 100%;
border-radius: 100%;
background: #fff;
position: relative;
z-index: 2;
margin: 0 auto;
/* border: #dddee1 solid 1px; */
}
.i-step-ico-in {
vertical-align: baseline;
}
.i-step-line {
position: absolute;
left: 50%;
top: 12px;
width: 100%;
height: 1px;
background: #dddee1;
}
.i-step-horizontal .i-step-ico::after {
position: absolute;
top: 11px;
left: 23px;
z-index: 1;
content: '';
height: 1px;
background: #fff;
width: 10px;
}
.i-step-horizontal .i-step-item-main {
text-align: center;
}
.i-step-horizontal .i-step-ico::before {
position: absolute;
top: 11px;
left: -11px;
z-index: 1;
content: '';
height: 1px;
background: #fff;
width: 10px;
}
.i-step-ico {
box-sizing: border-box;
font-size: 12px;
}
.i-step-process .i-step-ico {
/* border: #2d8cf0 solid 1px; */
color: #fff;
/* background: #72B34B; */
}
.i-step-wait .i-step-ico {
border: #e9eaec solid 1px;
color: #e9eaec;
}
.i-step-wait .i-step-line {
background: #72B34B;
}
.i-step-finish .i-step-ico {
/* border: #2d8cf0 solid 1px; */
/* color: #2d8cf0; */
}
.i-step-finish .i-step-line {
/* background: #72B34B; */
}
.i-step-error .i-step-ico {
border: #ed3f14 solid 1px;
color: #ed3f14;
}
.i-step-error .i-step-line {
background: #ed3f14;
}
.i-step-item {
font-size: 12px;
position: relative;
display: inline-block;
box-sizing: border-box;
padding-left: 10px;
vertical-align: top;
}
.i-step-item-ico {
width: 100%;
/* height: 40rpx; */
line-height: 24px;
text-align: center;
}
.i-step-item-main {
margin-top: 10px;
clear: both;
}
.erer{
width: 12rpx;
height: 12rpx;
background-color: #d2d2d2;
border-radius: 100%;
}
.tctc{
display: flex;
justify-content: center;
}
.i-step-item-title {
font-size: 14px;
font-weight: 700;
position: relative;
top: -10rpx;
color: #1c2438;
}
.i-step-item-content {
font-size: 12px;
font-weight: 700;
margin-top: 2px;
color: #80848f;
}
.i-step-vertical {
padding-bottom: 35rpx;
}
.i-step-vertical .i-step-item-ico {
width: 24px;
float: left;
}
.i-step-vertical .i-step-item-main {
margin-left: 40px;
margin-top: 0;
clear: inherit;
display: flex;
position: relative;
/* left: -160rpx; */
}
.i-step-item-date{
font-size: 24rpx;
color: #666;
/* margin-right: 80rpx; */
}
.i-step-vertical .i-step-line {
position: absolute;
height: 100%;
top: 0;
left: 10px;
margin: 0 0 0 12px;
width: 1px;
}
.i-donger{
background:rgba(0, 0, 0, 0);
border-left:1rpx dashed #d9ae59;
}

50
dist/steps/index.js vendored Normal file
View File

@ -0,0 +1,50 @@
Component({
externalClasses: ['i-class'],
properties : {
current : {
type : Number,
value : -1,
observer : '_updateDataChange'
},
status : {
type : String,
//wait、process、finish、error
value : ''
},
direction : {
type : String,
//value has horizontal or vertical
value : 'horizontal'
}
},
relations : {
'../step/index' : {
type : 'child',
linked(){
this._updateDataChange();
},
linkChanged () {
this._updateDataChange();
},
unlinked () {
this._updateDataChange();
}
}
},
methods: {
_updateDataChange() {
let steps = this.getRelationNodes('../step/index');
const len = steps.length;
if (len > 0) {
steps.forEach((step, index) => {
step.updateDataChange({
len : len,
index : index,
current : this.data.current,
direction : this.data.direction
});
});
}
}
}
})

3
dist/steps/index.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"component": true
}

3
dist/steps/index.wxml vendored Normal file
View File

@ -0,0 +1,3 @@
<view class="i-class i-steps">
<slot></slot>
</view>

3
dist/steps/index.wxss vendored Normal file
View File

@ -0,0 +1,3 @@
.i-steps {
/* padding-left: 117rpx; */
}

BIN
icon/address-down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

BIN
icon/address.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
icon/adress_empty.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
icon/back-w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

BIN
icon/back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

BIN
icon/bind-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
icon/c-down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
icon/c-up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
icon/check-jt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
icon/check.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icon/checked.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icon/code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icon/code_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
icon/delete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
icon/delete_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 B

BIN
icon/down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
icon/edit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
icon/empty.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
icon/emptyCart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
icon/ewm.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
icon/express_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
icon/fx_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
icon/fx_title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
icon/goods-cart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icon/goods-fx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
icon/goods-index.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
icon/goods-xj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
icon/goods_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
icon/goods_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
icon/icx-bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
icon/index-address.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
icon/index-cx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icon/index-more.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

BIN
icon/integral.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
icon/integral_rules.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
icon/login-bj.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
icon/login-top.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
icon/login_no.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
icon/my-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
icon/my-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
icon/my-3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
icon/my-4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
icon/my-5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
icon/my-6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
icon/my-7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
icon/my-data-bom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
icon/my_feedback_photo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
icon/no_pictures.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
icon/none.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
icon/order-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
icon/order-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icon/order-3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
icon/order-4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icon/order-5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
icon/order-addrass.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
icon/order-right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

BIN
icon/order_none.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
icon/price-down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

BIN
icon/price-down2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 451 B

BIN
icon/price-up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

BIN
icon/price-up2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

BIN
icon/qr.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

BIN
icon/right.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

BIN
icon/right_hui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

BIN
icon/rules-bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
icon/search.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
icon/sq_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
icon/sq_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
icon/sq_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
icon/sq_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
icon/tab1-active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icon/tab1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
icon/tab2-active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
icon/tab2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
icon/tab3-active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
icon/tab3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icon/tab4-active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icon/tab4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
icon/tab5-active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
icon/tab5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
icon/team_go.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icon/vip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Some files were not shown because too many files have changed in this diff Show More