正在显示
100 个修改的文件
包含
1849 行增加
和
0 行删除
Components/Model_item/Model_item.js
0 → 100644
1 | +const app=getApp() | ||
2 | +Component({ | ||
3 | + /** | ||
4 | + * 组件的属性列表 | ||
5 | + */ | ||
6 | + properties: { | ||
7 | + list: Array | ||
8 | + }, | ||
9 | + | ||
10 | + /** | ||
11 | + * 组件的初始数据 | ||
12 | + */ | ||
13 | + data: { | ||
14 | + | ||
15 | + }, | ||
16 | + | ||
17 | + /** | ||
18 | + * 组件的方法列表 | ||
19 | + */ | ||
20 | + methods: { | ||
21 | + look_more(e) { | ||
22 | + let login_new=app.globalData.login_new; | ||
23 | + // if(login_new==0){ | ||
24 | + // wx.showToast({ | ||
25 | + // title: '您还不是会员', | ||
26 | + // icon:"none" | ||
27 | + // }) | ||
28 | + // setTimeout(function(){ | ||
29 | + // wx.navigateTo({ | ||
30 | + // url: '/pages/login/login', | ||
31 | + // }) | ||
32 | + // },1500) | ||
33 | + // return false | ||
34 | + // } | ||
35 | + let id = e.currentTarget.dataset.id | ||
36 | + let token=wx.getStorageSync('token'); | ||
37 | + if(token==''){ | ||
38 | + wx.showToast({ | ||
39 | + title: '请先登录', | ||
40 | + icon:'none', | ||
41 | + duration: 1300 | ||
42 | + }) | ||
43 | + setTimeout(function(){ | ||
44 | + wx.navigateTo({ | ||
45 | + url: '/pages/register/register', | ||
46 | + }) | ||
47 | + },1300) | ||
48 | + }else{ | ||
49 | + wx.navigateTo({ | ||
50 | + url: '/pages/shop_detail/shop_detail?id=' + id | ||
51 | + }) | ||
52 | + } | ||
53 | + }, | ||
54 | + }, | ||
55 | + lifetimes: { | ||
56 | + created() { | ||
57 | + // 在组件实例刚刚被创建时执行 | ||
58 | + | ||
59 | + | ||
60 | + }, | ||
61 | + attached() { | ||
62 | + // 在组件实例进入页面节点树时执行 | ||
63 | + }, | ||
64 | + ready() { | ||
65 | + // 在组件在视图层布局完成后执行 | ||
66 | + this.setData({ | ||
67 | + list: this.properties.list | ||
68 | + }) | ||
69 | + | ||
70 | + }, | ||
71 | + detached() { | ||
72 | + // 在组件实例被从页面节点树移除时执行 | ||
73 | + }, | ||
74 | + } | ||
75 | +}) |
Components/Model_item/Model_item.json
0 → 100644
Components/Model_item/Model_item.wxml
0 → 100644
1 | +<view class='real_goods'> | ||
2 | + <view class="real_goods_item" wx:for="{{list}}" wx:key="index" data-id="{{item.id}}" bindtap="{{item.sold==0?'':'look_more'}}"> | ||
3 | + <view class='real_goods_img'> | ||
4 | + <image src='{{item.image||item.images[0]}}' mode="aspectFill" /> | ||
5 | + <image src='/images/mei.png' class="tip" wx:if="{{item.sold == 0}}" /> | ||
6 | + </view> | ||
7 | + <view class='real_goods_bottom'> | ||
8 | + <view class='goods_title'>{{item.name}}</view> | ||
9 | + | ||
10 | + | ||
11 | + <view class='goods_flex'> | ||
12 | + <!-- <view class='score'>积分</view> | ||
13 | + <view class='price'>{{item.price2}}</view> | ||
14 | + <view class='sell'>已卖出{{item.paynum}}件</view> --> | ||
15 | + <view class='price'>¥{{item.min_goods_price||item.price}}</view> | ||
16 | + <block wx:if="{{item.min_goods_price}}"> | ||
17 | + <view class="lineprice" >¥{{item.line_price}}</view> | ||
18 | + </block> | ||
19 | + | ||
20 | + </view> | ||
21 | + <view class='sell' >已卖出{{item.sales}}件</view> | ||
22 | + <!-- <view class='oldprice'>{{item.price}}</view> --> | ||
23 | + </view> | ||
24 | + <view class="pink_cover" wx:if="{{item.sold==0}}" /> | ||
25 | + </view> | ||
26 | +</view> |
Components/Model_item/Model_item.wxss
0 → 100644
1 | +.real_goods { | ||
2 | + width: 750rpx; | ||
3 | + margin: 0 auto; | ||
4 | + /* background: #f9f9f9; */ | ||
5 | + display: flex; | ||
6 | + flex-wrap: wrap; | ||
7 | + padding: 8rpx 0 20rpx; | ||
8 | + box-sizing: border-box; | ||
9 | + margin-bottom:120rpx; | ||
10 | + padding:8rpx 32rpx; | ||
11 | + box-sizing: border-box; | ||
12 | + min-height: 600rpx; | ||
13 | +} | ||
14 | + | ||
15 | +.real_goods_item { | ||
16 | + width: 332rpx; | ||
17 | + margin-bottom: 20rpx; | ||
18 | + border-radius: 10rpx; | ||
19 | + background: #fff; | ||
20 | + overflow: hidden; | ||
21 | + position: relative; | ||
22 | + display:flex; | ||
23 | + flex-direction: column; | ||
24 | + align-items: center; | ||
25 | + margin-right:6rpx | ||
26 | +} | ||
27 | +.real_goods_item:nth-child(2n){ | ||
28 | + border-left:16rpx solid #f5f5f5; | ||
29 | + margin-right: 0; | ||
30 | +} | ||
31 | + | ||
32 | +.real_goods_img { | ||
33 | + width: 332rpx; | ||
34 | + height: 332rpx; | ||
35 | + margin-bottom: 16rpx; | ||
36 | + border-top-left-radius: 10rpx; | ||
37 | + border-top-right-radius: 10rpx; | ||
38 | + overflow: hidden; | ||
39 | + position: relative; | ||
40 | +} | ||
41 | + | ||
42 | +.real_goods_img image { | ||
43 | + width: 100%; | ||
44 | + height: 100%; | ||
45 | +} | ||
46 | + | ||
47 | +.tip { | ||
48 | + width: 87rpx !important; | ||
49 | + height: 80rpx !important; | ||
50 | + position: absolute; | ||
51 | + right: 0; | ||
52 | + top: 0; | ||
53 | + z-index: 2; | ||
54 | +} | ||
55 | + | ||
56 | +.real_goods_bottom { | ||
57 | + padding: 16rpx 20rpx 28rpx 20rpx; | ||
58 | + box-sizing: border-box; | ||
59 | + background: #fff; | ||
60 | + width: 100%; | ||
61 | +} | ||
62 | + | ||
63 | +.goods_title { | ||
64 | + | ||
65 | + font-size: 26rpx; | ||
66 | + font-family: PingFang SC; | ||
67 | + font-weight: 500; | ||
68 | + line-height: 36rpx; | ||
69 | + color: rgba(5, 9, 26, 1); | ||
70 | + overflow: hidden; | ||
71 | + text-overflow: ellipsis; | ||
72 | + display: -webkit-box; | ||
73 | + -webkit-box-orient: vertical; | ||
74 | + -webkit-line-clamp: 2; | ||
75 | + margin-bottom: 10rpx; | ||
76 | +} | ||
77 | + | ||
78 | +.goods_flex { | ||
79 | + height: 50rpx; | ||
80 | + display: flex; | ||
81 | + align-items: center; | ||
82 | +} | ||
83 | + | ||
84 | +.score { | ||
85 | + width: 64rpx; | ||
86 | + height: 32rpx; | ||
87 | + background: rgba(242, 0, 0, 1); | ||
88 | + border-radius: 2rpx; | ||
89 | + text-align: center; | ||
90 | + color: #fff; | ||
91 | + font-size: 22rpx; | ||
92 | + font-family: PingFang SC; | ||
93 | + font-weight: 400; | ||
94 | + margin-right: 12rpx; | ||
95 | +} | ||
96 | + | ||
97 | +.price { | ||
98 | + font-size: 30rpx; | ||
99 | + font-family: PingFang SC; | ||
100 | + font-weight: bold; | ||
101 | + color: rgba(242, 0, 0, 1); | ||
102 | + margin-right: 20rpx; | ||
103 | +} | ||
104 | + | ||
105 | +.sell { | ||
106 | + font-size: 20rpx; | ||
107 | + font-family: PingFang SC; | ||
108 | + font-weight: 400; | ||
109 | + color: rgba(156, 156, 156, 1); | ||
110 | +} | ||
111 | + | ||
112 | +.pink_cover{ | ||
113 | + width: 100%; | ||
114 | + height: 100%; | ||
115 | + background: #ccc; | ||
116 | + opacity: 0.3; | ||
117 | + position: absolute; | ||
118 | + left: 0; | ||
119 | + top: 0; | ||
120 | +} | ||
121 | +.oldprice{ | ||
122 | + color:#BDC4CE; | ||
123 | + font-size: 24rpx; | ||
124 | + text-decoration: line-through | ||
125 | +} | ||
126 | + | ||
127 | +.lineprice{ | ||
128 | + color: rgba(156, 156, 156, 1); | ||
129 | + text-decoration: line-through; | ||
130 | + font-size: 20rpx; | ||
131 | + margin-right:5rpx; | ||
132 | + | ||
133 | +} |
Components/concat/concat.js
0 → 100644
Components/concat/concat.json
0 → 100644
Components/concat/concat.wxml
0 → 100644
Components/concat/concat.wxss
0 → 100644
1 | +.concat_box { | ||
2 | + width: 96rpx; | ||
3 | + height: 210rpx; | ||
4 | + position: fixed; | ||
5 | + right: -24rpx; | ||
6 | + bottom: 127rpx; | ||
7 | +} | ||
8 | + | ||
9 | +.item { | ||
10 | + width: 60rpx; | ||
11 | + height: 60rpx; | ||
12 | + padding: 0; | ||
13 | + border: none !important; | ||
14 | + margin: 0 !important; | ||
15 | + position: relative; | ||
16 | +} | ||
17 | +.dadianhua{ | ||
18 | + width: 60rpx; | ||
19 | + height: 60rpx; | ||
20 | + border-radius: 50%; | ||
21 | + position: absolute; | ||
22 | + left:0; | ||
23 | + top:0; | ||
24 | + border:none; | ||
25 | + outline:none; | ||
26 | + opacity: 0; | ||
27 | +} | ||
28 | + | ||
29 | +.item:first-child { | ||
30 | + margin-bottom: 30rpx !important; | ||
31 | +} | ||
32 | + | ||
33 | +.item image { | ||
34 | + width: 100%; | ||
35 | + height: 100%; | ||
36 | +} |
Components/shop_cart/shop_item.js
0 → 100644
1 | +Component({ | ||
2 | + /** | ||
3 | + * 组件的属性列表 | ||
4 | + */ | ||
5 | + properties: { | ||
6 | + check_num: Number, //已选择商品数量 | ||
7 | + list: Array, | ||
8 | + type: Number, | ||
9 | + checkAll: Boolean, | ||
10 | + action: Boolean | ||
11 | + }, | ||
12 | + | ||
13 | + /** | ||
14 | + * 组件的初始数据 | ||
15 | + */ | ||
16 | + data: { | ||
17 | + | ||
18 | + }, | ||
19 | + | ||
20 | + /** | ||
21 | + * 组件的方法列表 | ||
22 | + */ | ||
23 | + methods: { | ||
24 | + //查看商品详情 | ||
25 | + look_detail(e) { | ||
26 | + let id = e.currentTarget.dataset.id; | ||
27 | + | ||
28 | + // wx.navigateTo({ | ||
29 | + // url: '/pages/shop_detail/shop_detail?id=' + id | ||
30 | + // }) | ||
31 | + }, | ||
32 | + enter(){ | ||
33 | + console.log(this.data.list) | ||
34 | + }, | ||
35 | + //加减商品数量 | ||
36 | + num_change(e) { | ||
37 | + let num = Number(e.currentTarget.dataset.num) | ||
38 | + let type = e.currentTarget.dataset.type | ||
39 | + let index = e.currentTarget.dataset.index | ||
40 | + let id = e.currentTarget.dataset.id | ||
41 | + let product_id = e.currentTarget.dataset.product_id | ||
42 | + if (type == 1) { | ||
43 | + num++ | ||
44 | + } else { | ||
45 | + num-- | ||
46 | + if (num < 1) { | ||
47 | + //触发删除商品的接口 | ||
48 | + | ||
49 | + this.triggerEvent('delete_shop', { | ||
50 | + index: index, | ||
51 | + id: id | ||
52 | + }) | ||
53 | + return | ||
54 | + } | ||
55 | + } | ||
56 | + this.triggerEvent('change_num', { | ||
57 | + num: num, | ||
58 | + index: index, | ||
59 | + type: type, | ||
60 | + product_id: product_id | ||
61 | + }) | ||
62 | + }, | ||
63 | + //改变商品选中状态 | ||
64 | + check_item(e){ | ||
65 | + let index = e.currentTarget.dataset.index | ||
66 | + let check_type = e.currentTarget.dataset.check_type ? e.currentTarget.dataset.check_type:false | ||
67 | + let check_num = Number(this.data.check_num) | ||
68 | + if (!check_type){ | ||
69 | + check_num ++ | ||
70 | + } else { | ||
71 | + check_num -- | ||
72 | + } | ||
73 | + this.triggerEvent('check_type', { | ||
74 | + index: index, | ||
75 | + check_type: !check_type, | ||
76 | + check_num: check_num | ||
77 | + }) | ||
78 | + } | ||
79 | + }, | ||
80 | + lifetimes: { | ||
81 | + created() { | ||
82 | + // 在组件实例刚刚被创建时执行 | ||
83 | + | ||
84 | + | ||
85 | + }, | ||
86 | + attached() { | ||
87 | + // 在组件实例进入页面节点树时执行 | ||
88 | + }, | ||
89 | + ready() { | ||
90 | + // 在组件在视图层布局完成后执行 | ||
91 | + this.setData({ | ||
92 | + list: this.properties.list, | ||
93 | + type: this.properties.type, | ||
94 | + actioning: this.properties.actioning, | ||
95 | + checkAll: this.properties.checkAll, | ||
96 | + check_num: this.properties.check_num ? this.properties.check_num:0 | ||
97 | + }) | ||
98 | + | ||
99 | + console.log(this.data.list) | ||
100 | + | ||
101 | + }, | ||
102 | + detached() { | ||
103 | + // 在组件实例被从页面节点树移除时执行 | ||
104 | + }, | ||
105 | + } | ||
106 | +}) |
Components/shop_cart/shop_item.json
0 → 100644
Components/shop_cart/shop_item.wxml
0 → 100644
1 | +<view class="item" wx:for="{{list}}" wx:key="index"> | ||
2 | + <view class="top" bindtap="lookdetail" data-id="{{item.goods_id}}"> | ||
3 | + <image class="check_box" src="{{item.check_type?'/images/check@.png':'/images/check.png'}}" wx:if="{{type == 1 || type == 2}}" catchtap="check_item" data-check_type="{{item.check_type}}" data-index="{{index}}"/> | ||
4 | + <view class="content {{type==3?'active':''}}"> | ||
5 | + <image class="show_img" src="{{type == 3?item.image:type==4?item.image:type==2?item.image:item.image}}" mode="aspectFill" bindtap="{{type == 1 || type == 2?'look_detail':''}}" data-id="{{item.product_id}}" /> | ||
6 | + <view class="right {{type==3||type==1||type==4?'ractive':''}}"> | ||
7 | + <!-- <view class="word">{{type == 3||type==1||type==4?item.name:type==2?item.product_name:item.product.name}}</view> --> | ||
8 | + <view class="word">{{item.name}}</view> | ||
9 | + <view class="guige"> | ||
10 | + <view class="guigeitem" wx:for="{{item.spec}}" wx:key="index">{{item.spec_name}}:{{item.spec_value}}</view> | ||
11 | + </view> | ||
12 | + <view class="info"> | ||
13 | + <view class="jifen"> | ||
14 | + <text wx:if="{{type==1}}">{{item.goods_price}}</text> | ||
15 | + <text wx:if="{{type==2}}">{{item.goods.min_goods_price}}</text> | ||
16 | + <text style="margin-left: 10rpx;color:#ccc;font-size: 28rpx;" wx:if="{{type == 3 || type == 4}}">X{{item.number}}</text> | ||
17 | + </view> | ||
18 | + <view class="num_box" wx:if="{{type == 1}}"> | ||
19 | + <image class="num_btn" src="/images/reduce.png" data-index="{{index}}" data-type="2" data-num="{{item.number}}" data-id="{{item.car_id}}" data-product_id="{{item.id}}" catchtap="num_change" data-specid="{{item.spec_sku_id}}"/> | ||
20 | + <text>{{item.number}}</text> | ||
21 | + <image class="num_btn" src="/images/add.png" data-index="{{index}}" data-type="1" data-num="{{item.number}}" data-id="{{item.car_id}}" data-specid="{{item.spec_sku_id}}" data-product_id="{{item.id}}" catchtap="num_change"/> | ||
22 | + </view> | ||
23 | + </view> | ||
24 | + </view> | ||
25 | + </view> | ||
26 | + </view> | ||
27 | + <view class="info_box" wx:if="{{type == 3}}"> | ||
28 | + <view class="f_item"> | ||
29 | + <view class="shop" bindtap="enter"> | ||
30 | + 商品积分 | ||
31 | + <text wx:if="{{item.price2!=null}}">{{item.price2*100*item.num/100}}积分</text> | ||
32 | + <text wx:else>{{item.price*100*item.num/100}}积分</text> | ||
33 | + </view> | ||
34 | + </view> | ||
35 | + </view> | ||
36 | +</view> |
Components/shop_cart/shop_item.wxss
0 → 100644
1 | +.item { | ||
2 | + width: 100%; | ||
3 | + background: #fff; | ||
4 | + padding: 0 24rpx; | ||
5 | + box-sizing: border-box; | ||
6 | + margin-top: 20rpx; | ||
7 | +} | ||
8 | + | ||
9 | +.item:first-child { | ||
10 | + margin-top: 0; | ||
11 | +} | ||
12 | + | ||
13 | +.item .top { | ||
14 | + padding: 36rpx 0; | ||
15 | + box-sizing: border-box; | ||
16 | + display: flex; | ||
17 | + align-items: center; | ||
18 | +} | ||
19 | + | ||
20 | +.check_box { | ||
21 | + width: 36rpx; | ||
22 | + height: 36rpx; | ||
23 | + padding: 30rpx 30rpx 30rpx 0; | ||
24 | +} | ||
25 | + | ||
26 | +.content { | ||
27 | + width: 564rpx; | ||
28 | + display: flex; | ||
29 | + justify-content: space-between; | ||
30 | + align-items: center; | ||
31 | +} | ||
32 | + | ||
33 | +.show_img { | ||
34 | + width: 164rpx; | ||
35 | + height: 164rpx; | ||
36 | + margin-right: 24rpx; | ||
37 | +} | ||
38 | + | ||
39 | +.right { | ||
40 | + width: 376rpx; | ||
41 | +} | ||
42 | + | ||
43 | +.word { | ||
44 | + width: 100%; | ||
45 | + height: 76rpx; | ||
46 | + font-size: 28rpx; | ||
47 | + font-family: PingFang SC; | ||
48 | + font-weight: 400; | ||
49 | + overflow: hidden; | ||
50 | + text-overflow: ellipsis; | ||
51 | + display: -webkit-box; | ||
52 | + word-break: break-all; | ||
53 | + -webkit-box-orient: vertical; | ||
54 | + -webkit-line-clamp: 2; | ||
55 | +} | ||
56 | + | ||
57 | +.info { | ||
58 | + display: flex; | ||
59 | + align-items: center; | ||
60 | + justify-content: space-between; | ||
61 | + margin-top: 32rpx; | ||
62 | +} | ||
63 | + | ||
64 | +.jifen { | ||
65 | + display: flex; | ||
66 | + align-items: center; | ||
67 | +} | ||
68 | + | ||
69 | +.jifen .name { | ||
70 | + width: 64rpx; | ||
71 | + height: 36rpx; | ||
72 | + background: rgba(242, 0, 0, 1); | ||
73 | + border-radius: 4rpx; | ||
74 | + font-size: 22rpx; | ||
75 | + font-family: PingFang SC; | ||
76 | + font-weight: 400; | ||
77 | + color: #fff; | ||
78 | + display: flex; | ||
79 | + justify-content: center; | ||
80 | + align-items: center; | ||
81 | + margin-right: 20rpx; | ||
82 | +} | ||
83 | + | ||
84 | +.jifen text { | ||
85 | + font-size: 26rpx; | ||
86 | + font-family: PingFang SC; | ||
87 | + font-weight: bold; | ||
88 | + color: rgba(242, 0, 0, 1); | ||
89 | +} | ||
90 | + | ||
91 | +.num_box { | ||
92 | + display: flex; | ||
93 | + align-items: center; | ||
94 | + justify-content: space-between; | ||
95 | +} | ||
96 | + | ||
97 | +.num_box .num_btn { | ||
98 | + width: 36rpx; | ||
99 | + height: 36rpx; | ||
100 | +} | ||
101 | + | ||
102 | +.num_box text { | ||
103 | + font-size: 30rpx; | ||
104 | + font-family: PingFang SC; | ||
105 | + font-weight: 400; | ||
106 | + color: rgba(19, 26, 46, 1); | ||
107 | + margin: 0 24rpx; | ||
108 | +} | ||
109 | + | ||
110 | +.active { | ||
111 | + width: 100%; | ||
112 | +} | ||
113 | + | ||
114 | +.ractive { | ||
115 | + width: 448rpx; | ||
116 | +} | ||
117 | + | ||
118 | +.info_box { | ||
119 | + width: 100%; | ||
120 | + margin-top: 26rpx; | ||
121 | +} | ||
122 | + | ||
123 | +.f_item { | ||
124 | + width: 100%; | ||
125 | + padding: 28rpx 0; | ||
126 | + box-sizing: border-box; | ||
127 | + border-bottom: 1px solid #eee; | ||
128 | +} | ||
129 | + | ||
130 | +.f_item .shop { | ||
131 | + width: 100%; | ||
132 | + font-size: 28rpx; | ||
133 | + font-family: PingFang SC; | ||
134 | + font-weight: 400; | ||
135 | + color: rgba(19, 26, 46, 1); | ||
136 | + display: flex; | ||
137 | + justify-content: space-between; | ||
138 | + align-items: center; | ||
139 | +} | ||
140 | + | ||
141 | +.f_item .shop text:last-child { | ||
142 | + color: #8e8e8e; | ||
143 | +} | ||
144 | + | ||
145 | +.youfei { | ||
146 | + font-size: 24rpx; | ||
147 | + font-family: PingFang SC; | ||
148 | + font-weight: 400; | ||
149 | + line-height: 34rpx; | ||
150 | + color: rgba(142, 142, 142, 1); | ||
151 | + margin-top: 10rxp; | ||
152 | +} | ||
153 | + | ||
154 | +.jifen_num { | ||
155 | + width: 100%; | ||
156 | + padding: 28rpx 0; | ||
157 | + box-sizing: border-box; | ||
158 | + display: flex; | ||
159 | + flex-direction: row-reverse; | ||
160 | + align-items: center; | ||
161 | + font-size: 28rpx; | ||
162 | + font-family: PingFang SC; | ||
163 | + font-weight: Regular; | ||
164 | + color: #131a2e; | ||
165 | +} | ||
166 | + | ||
167 | +.jifen_num text:last-child { | ||
168 | + font-size: 32rpx; | ||
169 | + color: rgba(242, 0, 0, 1); | ||
170 | + font-family: PingFang SC Bold; | ||
171 | + font-weight: Bold; | ||
172 | +} | ||
173 | + | ||
174 | +.jifen_num text:first-child { | ||
175 | + color: rgba(242, 0, 0, 1); | ||
176 | + margin-left: 10rpx; | ||
177 | +} | ||
178 | + | ||
179 | +.oldprice { | ||
180 | + color: #bdc4ce; | ||
181 | + font-size: 24rpx; | ||
182 | + text-decoration: line-through; | ||
183 | + margin-top:10rpx; | ||
184 | +} | ||
185 | +.guigeitem{ | ||
186 | + color: rgba(156, 156, 156, 1); | ||
187 | + font-size:28rpx; | ||
188 | + margin-right:20rpx; | ||
189 | + margin-bottom:10rpx; | ||
190 | + | ||
191 | +} | ||
192 | +.guige{ | ||
193 | + display:flex; | ||
194 | + flex-wrap: wrap; | ||
195 | + align-items: center; | ||
196 | +} |
Components/shop_item/shop_item.js
0 → 100644
1 | +Component({ | ||
2 | + /** | ||
3 | + * 组件的属性列表 | ||
4 | + */ | ||
5 | + properties: { | ||
6 | + check_num: Number, //已选择商品数量 | ||
7 | + list: Array, | ||
8 | + type: Number, | ||
9 | + checkAll: Boolean | ||
10 | + }, | ||
11 | + | ||
12 | + /** | ||
13 | + * 组件的初始数据 | ||
14 | + */ | ||
15 | + data: { | ||
16 | + | ||
17 | + }, | ||
18 | + | ||
19 | + /** | ||
20 | + * 组件的方法列表 | ||
21 | + */ | ||
22 | + methods: { | ||
23 | + //查看商品详情 | ||
24 | + look_detail(e) { | ||
25 | + let id = e.currentTarget.dataset.id; | ||
26 | + | ||
27 | + // wx.navigateTo({ | ||
28 | + // url: '/pages/shop_detail/shop_detail?id=' + id | ||
29 | + // }) | ||
30 | + }, | ||
31 | + enter(){ | ||
32 | + console.log(this.data.list) | ||
33 | + }, | ||
34 | + //加减商品数量 | ||
35 | + num_change(e) { | ||
36 | + let num = Number(e.currentTarget.dataset.num) | ||
37 | + let type = e.currentTarget.dataset.type | ||
38 | + let index = e.currentTarget.dataset.index | ||
39 | + let id = e.currentTarget.dataset.id | ||
40 | + let product_id = e.currentTarget.dataset.product_id | ||
41 | + if (type == 1) { | ||
42 | + num++ | ||
43 | + } else { | ||
44 | + num-- | ||
45 | + if (num < 1) { | ||
46 | + //触发删除商品的接口 | ||
47 | + | ||
48 | + this.triggerEvent('delete_shop', { | ||
49 | + index: index, | ||
50 | + id: id | ||
51 | + }) | ||
52 | + return | ||
53 | + } | ||
54 | + } | ||
55 | + this.triggerEvent('change_num', { | ||
56 | + num: num, | ||
57 | + index: index, | ||
58 | + type: type, | ||
59 | + product_id: product_id | ||
60 | + }) | ||
61 | + }, | ||
62 | + //改变商品选中状态 | ||
63 | + check_item(e){ | ||
64 | + let index = e.currentTarget.dataset.index | ||
65 | + let check_type = e.currentTarget.dataset.check_type ? e.currentTarget.dataset.check_type:false | ||
66 | + let check_num = Number(this.data.check_num) | ||
67 | + if (!check_type){ | ||
68 | + check_num ++ | ||
69 | + } else { | ||
70 | + check_num -- | ||
71 | + } | ||
72 | + this.triggerEvent('check_type', { | ||
73 | + index: index, | ||
74 | + check_type: !check_type, | ||
75 | + check_num: check_num | ||
76 | + }) | ||
77 | + } | ||
78 | + }, | ||
79 | + lifetimes: { | ||
80 | + created() { | ||
81 | + // 在组件实例刚刚被创建时执行 | ||
82 | + | ||
83 | + | ||
84 | + }, | ||
85 | + attached() { | ||
86 | + // 在组件实例进入页面节点树时执行 | ||
87 | + }, | ||
88 | + ready() { | ||
89 | + // 在组件在视图层布局完成后执行 | ||
90 | + this.setData({ | ||
91 | + list: this.properties.list, | ||
92 | + type: this.properties.type, | ||
93 | + checkAll: this.properties.checkAll, | ||
94 | + check_num: this.properties.check_num ? this.properties.check_num:0 | ||
95 | + }) | ||
96 | + | ||
97 | + console.log(this.data.list) | ||
98 | + | ||
99 | + }, | ||
100 | + detached() { | ||
101 | + // 在组件实例被从页面节点树移除时执行 | ||
102 | + }, | ||
103 | + } | ||
104 | +}) |
Components/shop_item/shop_item.json
0 → 100644
Components/shop_item/shop_item.wxml
0 → 100644
1 | +<view class="item" wx:for="{{list}}" wx:key="index"> | ||
2 | + <view class="top"> | ||
3 | + <image class="check_box" src="{{item.check_type?'/images/check@.png':'/images/check.png'}}" wx:if="{{type == 1 || type == 2}}" catchtap="check_item" data-check_type="{{item.check_type}}" data-index="{{index}}" /> | ||
4 | + <view class="content {{type==3?'active':''}}"> | ||
5 | + <image class="show_img" src="{{type == 3?item.images[0]:type==4?item.product.images[0]:type==2?item.image:item.product.allimages[0]}}" mode="aspectFill" bindtap="{{type == 1 || type == 2?'look_detail':''}}" data-id="{{item.product_id}}"/> | ||
6 | + <view class="right {{type==3?'ractive':''}}"> | ||
7 | + <view class="word">{{type == 3?item.name:type==2?item.product_name:item.product.name}}</view> | ||
8 | + <view class="info"> | ||
9 | + <view class="jifen"> | ||
10 | + <view class="name">积分</view> | ||
11 | + <text wx:if='{{item.product.price2!=null||item.price2!=null}}'>{{type == 3 || type == 2?item.price2:item.product.price2}}</text> | ||
12 | + <text wx:else>{{type == 3 || type == 2?item.goods_price:item.product.price}}</text> | ||
13 | + <text style="margin-left: 10rpx;color:#ccc;font-size: 28rpx;" wx:if="{{type == 3 || type == 4}}">X{{item.num}}</text> | ||
14 | + </view> | ||
15 | + <view class="num_box" wx:if="{{type == 1}}"> | ||
16 | + <image class="num_btn" src="/images/reduce.png" data-index="{{index}}" data-type="0" data-num="{{item.num}}" data-id="{{item.id}}" data-product_id="{{item.product_id}}" catchtap="num_change" /> | ||
17 | + <text>{{item.num}}</text> | ||
18 | + <image class="num_btn" src="/images/add.png" data-index="{{index}}" data-type="1" data-num="{{item.num}}" data-id="{{item.id}}" data-product_id="{{item.product_id}}" catchtap="num_change"/> | ||
19 | + </view> | ||
20 | + </view> | ||
21 | + <view class="oldprice" wx:if="{{item.product.price2!=null||item.price2!=null}}">{{item.product.price||item.price}}</view> | ||
22 | + </view> | ||
23 | + </view> | ||
24 | + </view> | ||
25 | + <view class="info_box" wx:if="{{type == 3}}"> | ||
26 | + <view class="f_item"> | ||
27 | + <view class="shop" bindtap="enter"> | ||
28 | + 商品积分 | ||
29 | + <text wx:if="{{item.price2!=null}}">{{item.price2*100*item.num/100}}积分</text> | ||
30 | + <text wx:else>{{item.price*100*item.num/100}}积分</text> | ||
31 | + </view> | ||
32 | + </view> | ||
33 | + </view> | ||
34 | +</view> |
Components/shop_item/shop_item.wxss
0 → 100644
1 | +.item { | ||
2 | + width: 100%; | ||
3 | + background: #fff; | ||
4 | + padding: 0 24rpx; | ||
5 | + box-sizing: border-box; | ||
6 | + margin-top: 20rpx; | ||
7 | +} | ||
8 | + | ||
9 | +.item:first-child { | ||
10 | + margin-top: 0; | ||
11 | +} | ||
12 | + | ||
13 | +.item .top { | ||
14 | + padding: 36rpx 0; | ||
15 | + box-sizing: border-box; | ||
16 | + display: flex; | ||
17 | + align-items: center; | ||
18 | +} | ||
19 | + | ||
20 | +.check_box { | ||
21 | + width: 36rpx; | ||
22 | + height: 36rpx; | ||
23 | + padding: 30rpx 30rpx 30rpx 0; | ||
24 | +} | ||
25 | + | ||
26 | +.content { | ||
27 | + width: 564rpx; | ||
28 | + display: flex; | ||
29 | + justify-content: space-between; | ||
30 | + align-items: center; | ||
31 | +} | ||
32 | + | ||
33 | +.show_img { | ||
34 | + width: 164rpx; | ||
35 | + height: 164rpx; | ||
36 | + margin-right: 24rpx; | ||
37 | +} | ||
38 | + | ||
39 | +.right { | ||
40 | + width: 376rpx; | ||
41 | +} | ||
42 | + | ||
43 | +.word { | ||
44 | + width: 100%; | ||
45 | + height: 76rpx; | ||
46 | + font-size: 28rpx; | ||
47 | + font-family: PingFang SC; | ||
48 | + font-weight: 400; | ||
49 | + overflow: hidden; | ||
50 | + text-overflow: ellipsis; | ||
51 | + display: -webkit-box; | ||
52 | + word-break: break-all; | ||
53 | + -webkit-box-orient: vertical; | ||
54 | + -webkit-line-clamp: 2; | ||
55 | +} | ||
56 | + | ||
57 | +.info { | ||
58 | + display: flex; | ||
59 | + align-items: center; | ||
60 | + justify-content: space-between; | ||
61 | + margin-top: 32rpx; | ||
62 | +} | ||
63 | + | ||
64 | +.jifen { | ||
65 | + display: flex; | ||
66 | + align-items: center; | ||
67 | +} | ||
68 | + | ||
69 | +.jifen .name { | ||
70 | + width: 64rpx; | ||
71 | + height: 36rpx; | ||
72 | + background: rgba(242, 0, 0, 1); | ||
73 | + border-radius: 4rpx; | ||
74 | + font-size: 22rpx; | ||
75 | + font-family: PingFang SC; | ||
76 | + font-weight: 400; | ||
77 | + color: #fff; | ||
78 | + display: flex; | ||
79 | + justify-content: center; | ||
80 | + align-items: center; | ||
81 | + margin-right: 20rpx; | ||
82 | +} | ||
83 | + | ||
84 | +.jifen text { | ||
85 | + font-size: 26rpx; | ||
86 | + font-family: PingFang SC; | ||
87 | + font-weight: bold; | ||
88 | + color: rgba(242, 0, 0, 1); | ||
89 | +} | ||
90 | + | ||
91 | +.num_box { | ||
92 | + display: flex; | ||
93 | + align-items: center; | ||
94 | + justify-content: space-between; | ||
95 | +} | ||
96 | + | ||
97 | +.num_box .num_btn { | ||
98 | + width: 36rpx; | ||
99 | + height: 36rpx; | ||
100 | +} | ||
101 | + | ||
102 | +.num_box text { | ||
103 | + font-size: 30rpx; | ||
104 | + font-family: PingFang SC; | ||
105 | + font-weight: 400; | ||
106 | + color: rgba(19, 26, 46, 1); | ||
107 | + margin: 0 24rpx; | ||
108 | +} | ||
109 | + | ||
110 | +.active { | ||
111 | + width: 100%; | ||
112 | +} | ||
113 | + | ||
114 | +.ractive { | ||
115 | + width: 448rpx; | ||
116 | +} | ||
117 | + | ||
118 | +.info_box { | ||
119 | + width: 100%; | ||
120 | + margin-top: 26rpx; | ||
121 | +} | ||
122 | + | ||
123 | +.f_item { | ||
124 | + width: 100%; | ||
125 | + padding: 28rpx 0; | ||
126 | + box-sizing: border-box; | ||
127 | + border-bottom: 1px solid #eee; | ||
128 | +} | ||
129 | + | ||
130 | +.f_item .shop { | ||
131 | + width: 100%; | ||
132 | + font-size: 28rpx; | ||
133 | + font-family: PingFang SC; | ||
134 | + font-weight: 400; | ||
135 | + color: rgba(19, 26, 46, 1); | ||
136 | + display: flex; | ||
137 | + justify-content: space-between; | ||
138 | + align-items: center; | ||
139 | +} | ||
140 | + | ||
141 | +.f_item .shop text:last-child { | ||
142 | + color: #8e8e8e; | ||
143 | +} | ||
144 | + | ||
145 | +.youfei { | ||
146 | + font-size: 24rpx; | ||
147 | + font-family: PingFang SC; | ||
148 | + font-weight: 400; | ||
149 | + line-height: 34rpx; | ||
150 | + color: rgba(142, 142, 142, 1); | ||
151 | + margin-top: 10rxp; | ||
152 | +} | ||
153 | + | ||
154 | +.jifen_num { | ||
155 | + width: 100%; | ||
156 | + padding: 28rpx 0; | ||
157 | + box-sizing: border-box; | ||
158 | + display: flex; | ||
159 | + flex-direction: row-reverse; | ||
160 | + align-items: center; | ||
161 | + font-size: 28rpx; | ||
162 | + font-family: PingFang SC; | ||
163 | + font-weight: Regular; | ||
164 | + color: #131a2e; | ||
165 | +} | ||
166 | + | ||
167 | +.jifen_num text:last-child { | ||
168 | + font-size: 32rpx; | ||
169 | + color: rgba(242, 0, 0, 1); | ||
170 | + font-family: PingFang SC Bold; | ||
171 | + font-weight: Bold; | ||
172 | +} | ||
173 | + | ||
174 | +.jifen_num text:first-child { | ||
175 | + color: rgba(242, 0, 0, 1); | ||
176 | + margin-left: 10rpx; | ||
177 | +} | ||
178 | + | ||
179 | +.oldprice { | ||
180 | + color: #bdc4ce; | ||
181 | + font-size: 24rpx; | ||
182 | + text-decoration: line-through; | ||
183 | + margin-top:10rpx; | ||
184 | +} | ||
185 | +.guigeitem{ | ||
186 | + color: rgba(156, 156, 156, 1); | ||
187 | + font-size:28rpx; | ||
188 | + margin-right:20rpx; | ||
189 | + margin-bottom:10rpx; | ||
190 | + | ||
191 | +} | ||
192 | +.guige{ | ||
193 | + display:flex; | ||
194 | + flex-wrap: wrap; | ||
195 | + align-items: center; | ||
196 | +} |
app.js
0 → 100644
1 | +App({ | ||
2 | + onLaunch: function () { | ||
3 | + this.getmessagelist() | ||
4 | + this.getToken(); | ||
5 | + | ||
6 | + //自动更新版本 | ||
7 | + const updateManager = wx.getUpdateManager() | ||
8 | + updateManager.onCheckForUpdate(function (res) { | ||
9 | + // 请求完新版本信息的回调 | ||
10 | + | ||
11 | + }) | ||
12 | + updateManager.onUpdateReady(function () { | ||
13 | + wx.showModal({ | ||
14 | + title: '更新提示', | ||
15 | + content: '新版本已经准备好,是否重启应用?', | ||
16 | + success: function (res) { | ||
17 | + if (res.confirm) { | ||
18 | + // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启 | ||
19 | + updateManager.applyUpdate() | ||
20 | + } | ||
21 | + } | ||
22 | + }) | ||
23 | + }) | ||
24 | + updateManager.onUpdateFailed(function () { | ||
25 | + // 新的版本下载失败 | ||
26 | + wx.showModal({ | ||
27 | + title: '更新提示', | ||
28 | + content: '新版本下载失败', | ||
29 | + showCancel: false | ||
30 | + }) | ||
31 | + }) | ||
32 | + }, | ||
33 | + post: function (url, data, showLoad) { | ||
34 | + | ||
35 | + wx.showNavigationBarLoading() | ||
36 | + var promise = new Promise((resolve, reject) => { | ||
37 | + //init | ||
38 | + let that = this; | ||
39 | + let postData = data , baseUrl; | ||
40 | + // let baseUrl = 'https://binhai.w.broing.cn/api'; | ||
41 | + // let baseUrl ='http://binhaitest.w.brotop.cn/api' | ||
42 | + // 现在用的 | ||
43 | + // let baseUrl = 'https://binhai.w.broing.cn/api' | ||
44 | + // let baseUrl = 'http://binhaitest.w.brotop.cn/api' | ||
45 | + var entrance_type = wx.getStorageSync("entrance_type"); | ||
46 | + console.log(entrance_type); | ||
47 | + if(entrance_type == '1'||url=='/getopenid/get'||url.indexOf('address')>-1){ | ||
48 | + //劳保商城入口 | ||
49 | + baseUrl = 'https://binhai.w.broing.cn/api'; | ||
50 | + }else{ | ||
51 | + //工会商城入口 | ||
52 | + baseUrl = 'https://binhaigh.w.broing.cn/api'; | ||
53 | + } | ||
54 | + console.log(baseUrl); | ||
55 | + //网络请求 | ||
56 | + wx.request({ | ||
57 | + url: baseUrl + url, | ||
58 | + data: postData, | ||
59 | + method: 'POST', | ||
60 | + header: { | ||
61 | + 'content-type': 'application/x-www-form-urlencoded', | ||
62 | + 'token': wx.getStorageSync('token') || '' | ||
63 | + }, | ||
64 | + success: function (res) { //返回取得的数据 | ||
65 | + console.log('ssssssssssssssssssssssssssssssssssss',res) | ||
66 | + if (res.data.code == '200') { | ||
67 | + resolve(res.data) | ||
68 | + } else if (res.data.code == '5000') { | ||
69 | + wx.hideLoading(); | ||
70 | + reject(res.data) | ||
71 | + wx.removeStorageSync('login'); | ||
72 | + | ||
73 | + // wx.removeStorageSync('token'); | ||
74 | + // wx.navigateTo({ | ||
75 | + // url: '/pages/register/register?type=1', | ||
76 | + // }) | ||
77 | + } else { | ||
78 | + wx.showModal({ | ||
79 | + title: '提示', | ||
80 | + content: res.data.msg, | ||
81 | + showCancel: false | ||
82 | + }) | ||
83 | + reject(res.data) | ||
84 | + } | ||
85 | + setTimeout(function () { | ||
86 | + wx.hideNavigationBarLoading() | ||
87 | + }, 600) | ||
88 | + }, | ||
89 | + fail: function (e) { | ||
90 | + reject('网络出错'); | ||
91 | + wx.hideNavigationBarLoading() | ||
92 | + } | ||
93 | + }) | ||
94 | + }); | ||
95 | + return promise; | ||
96 | + }, | ||
97 | + getToken(){ | ||
98 | + let that= this; | ||
99 | + let u = that.interface.getToken; | ||
100 | + wx.login({ | ||
101 | + success: (result) => { | ||
102 | + that.postk(u, { | ||
103 | + code: result.code | ||
104 | + }).then((r) => { | ||
105 | + wx.setStorageSync('token', r.data.token) | ||
106 | + wx.setStorageSync('login', r.data.login_new1) | ||
107 | + wx.setStorageSync('gh_login', r.data.login_new2) | ||
108 | + }) | ||
109 | + }, | ||
110 | + fail: (res) => {}, | ||
111 | + complete: (res) => {}, | ||
112 | + }) | ||
113 | + }, | ||
114 | + // 开放商城公共接口 | ||
115 | + postk: function (url, data, showLoad) { | ||
116 | + wx.showNavigationBarLoading() | ||
117 | + var promise = new Promise((resolve, reject) => { | ||
118 | + //init | ||
119 | + let that = this; | ||
120 | + let postData = data | ||
121 | + // let baseUrl = 'https://binhai.w.broing.cn/api'; | ||
122 | + // let baseUrl ='http://binhaitest.w.brotop.cn/api' | ||
123 | + let baseUrl = 'https://binhaidispark.w.broing.cn/api' | ||
124 | + | ||
125 | + | ||
126 | + //网络请求 | ||
127 | + wx.request({ | ||
128 | + url: baseUrl + url, | ||
129 | + data: postData, | ||
130 | + method: 'POST', | ||
131 | + header: { | ||
132 | + 'content-type': 'application/x-www-form-urlencoded', | ||
133 | + 'token': wx.getStorageSync('token') || '' | ||
134 | + }, | ||
135 | + success: function (res) { //返回取得的数据 | ||
136 | + if (res.data.code == '1') { | ||
137 | + resolve(res.data) | ||
138 | + } else if (res.data.code == '5000') { | ||
139 | + wx.hideLoading(); | ||
140 | + reject(res.data) | ||
141 | + wx.removeStorageSync('token'); | ||
142 | + wx.removeStorageSync('login'); | ||
143 | + // wx.navigateTo({ | ||
144 | + // url: '/pages/register/register?type=1', | ||
145 | + // }) | ||
146 | + } else { | ||
147 | + wx.showModal({ | ||
148 | + title: '提示', | ||
149 | + content: res.data.msg, | ||
150 | + showCancel: false | ||
151 | + }) | ||
152 | + reject(res.data) | ||
153 | + } | ||
154 | + setTimeout(function () { | ||
155 | + wx.hideNavigationBarLoading() | ||
156 | + }, 600) | ||
157 | + }, | ||
158 | + fail: function (e) { | ||
159 | + reject('网络出错'); | ||
160 | + wx.hideNavigationBarLoading() | ||
161 | + } | ||
162 | + }) | ||
163 | + }); | ||
164 | + return promise; | ||
165 | + }, | ||
166 | + | ||
167 | + upload(filetype, file) { | ||
168 | + | ||
169 | + var promise = new Promise((resolve, reject) => { | ||
170 | + wx.showNavigationBarLoading() | ||
171 | + wx.showLoading({ | ||
172 | + title: '上传中', | ||
173 | + }) | ||
174 | + let url = 'https://binhaidispark.w.broing.cn/api/common/upload'; | ||
175 | + | ||
176 | + let head = { | ||
177 | + 'token': wx.getStorageSync('token'), | ||
178 | + 'XX-Device-Type': '' | ||
179 | + } | ||
180 | + let typename = { | ||
181 | + filetype: filetype | ||
182 | + } | ||
183 | + wx.uploadFile({ | ||
184 | + url: url, //仅为示例,非真实的接口地址 | ||
185 | + filePath: file, | ||
186 | + name: 'file', | ||
187 | + header: head, | ||
188 | + formData: typename, | ||
189 | + success: function (res) { | ||
190 | + console.log('上传文件后', res) | ||
191 | + let temdata = JSON.parse(res.data); | ||
192 | + console.log(temdata) | ||
193 | + let urlobj = { | ||
194 | + url: temdata.data.url | ||
195 | + } | ||
196 | + resolve(urlobj); | ||
197 | + }, | ||
198 | + fail: function (res) { | ||
199 | + reject('网络出错'); | ||
200 | + wx.hideNavigationBarLoading() | ||
201 | + wx.hideLoading() | ||
202 | + }, | ||
203 | + complete: () => { | ||
204 | + wx.hideNavigationBarLoading() | ||
205 | + wx.hideLoading() | ||
206 | + }, | ||
207 | + }) | ||
208 | + }); | ||
209 | + return promise; | ||
210 | + }, | ||
211 | + | ||
212 | + | ||
213 | + // 获取个人信息 | ||
214 | + getInfoFun() { | ||
215 | + let that= this; | ||
216 | + let u = that.interface.readteacher; | ||
217 | + that.post(u, {}).then((r) => { | ||
218 | + console.log('3489523498',r) | ||
219 | + if (r.code == 200) { | ||
220 | + | ||
221 | + wx.setStorageSync('login', r.msg.login_new) | ||
222 | + // that.globalData.login_new=r.msg.login_new; | ||
223 | + // console.log( that.globalData.login_new) | ||
224 | + // t.setData({ | ||
225 | + // obj: r.msg | ||
226 | + // }) | ||
227 | + } | ||
228 | + }) | ||
229 | + }, | ||
230 | + | ||
231 | + getmessagelist() { | ||
232 | + let that = this | ||
233 | + let url = '/information/get_all'; | ||
234 | + let data = { | ||
235 | + page: 1, | ||
236 | + pageNum: 10, | ||
237 | + | ||
238 | + } | ||
239 | + this.post(url, data, "POST").then((r) => { | ||
240 | + // console.log(r) | ||
241 | + // that.setData({ | ||
242 | + // messagelist: that.data.messagelist.concat(r.msg) | ||
243 | + // }) | ||
244 | + | ||
245 | + let newlist = []; | ||
246 | + r.msg.forEach(function (value, index, array) { | ||
247 | + console.log(newlist) | ||
248 | + if (value.status == 1) { | ||
249 | + newlist.push(value) | ||
250 | + } | ||
251 | + }) | ||
252 | + | ||
253 | + console.log('77889944556',newlist) | ||
254 | + if (newlist.length != 0) { | ||
255 | + wx.showTabBarRedDot({ | ||
256 | + index: 1, | ||
257 | + success: function (red) { | ||
258 | + | ||
259 | + wx.setTabBarBadge({ | ||
260 | + index: 1, | ||
261 | + text: newlist.length.toString(), | ||
262 | + }) | ||
263 | + } | ||
264 | + }) | ||
265 | + } | ||
266 | + | ||
267 | + | ||
268 | + }).catch((err) => { }) | ||
269 | + }, | ||
270 | + | ||
271 | + onShow: function() { | ||
272 | + console.log('hahahahhahahahhhahh') | ||
273 | + }, | ||
274 | + | ||
275 | + | ||
276 | + //接口管理 | ||
277 | + interface: { | ||
278 | + openid: '/getopenid/get', // 获取openid | ||
279 | + getcode: '/getopenid/getcode', // 获取验证码, | ||
280 | + getToken: '/user/getToken', | ||
281 | + readteacher: '/getopenid/readteacher', // 获取个人信息 | ||
282 | + login: '/getopenid/smslogin', // 登录 | ||
283 | + jifenlist: '/order/jifenlist', // 积分列表 | ||
284 | + address: '/address/index', // 地址列表 | ||
285 | + addaddress: '/address/add', // 添加地址 | ||
286 | + editaddress: '/address/edit', // 修改地址 | ||
287 | + deladdress: '/address/delete', // 删除地址 | ||
288 | + mraddress: '/address/mo', // 修改默认地址 | ||
289 | + adshow: '/address/editshow', //地址详情(数据回显) | ||
290 | + about: '/wb/wb', // 关于我们 | ||
291 | + order: '/order/orderlist', // 获取订单列表 | ||
292 | + payorder: '/order/payorder', // 订单页点击支付 | ||
293 | + disorder: '/order/disorder', // 订单列表取消订单 | ||
294 | + orderrefund: '/order/orderrefund', // 退换货详情 | ||
295 | + // upload: 'https://binhai.w.broing.cn/api/common/upload', // 上传图片 | ||
296 | + upload: 'https://binhai.w.brotop.cn/api', | ||
297 | + refund: '/order/refund', // 退货提交 | ||
298 | + | ||
299 | + delorder: '/order/delorder', // 删除订单 | ||
300 | + okorder: '/order/okorder', // 确认订单 | ||
301 | + orderInfo: '/order/orderInfo', // 订单详情 | ||
302 | + kuaidi: '/kuaidi/kuaidi', //物流信息 | ||
303 | + collectdel: '/product/collectdel', //收藏删除 | ||
304 | + collectList: '/getopenid/collectlist', //收藏列表 | ||
305 | + deleteseach: '/product/deleteseach', //删除搜索历史 | ||
306 | + order_pay: '/order/pay', //订单支付 | ||
307 | + now_add: '/order/now_add', //点击结算 | ||
308 | + hotsreach: '/product/hotsreach', // 热门搜索 | ||
309 | + searchhis: '/product/searchhis', // 商品搜索历史 | ||
310 | + search: '/product/search', // 商品搜索结果列表 | ||
311 | + getPid: '/cap/getpid', // 分类页面 | ||
312 | + prev_pay: '/shop/prev_pay', // 购物车点击结算 | ||
313 | + gwcshop: '/shop/gwcshop', //购物车数量修改保存 | ||
314 | + deletes: '/shop/deletes', //购物车删除 | ||
315 | + shopcar: '/shop/shopcar', // 购物车页面 | ||
316 | + now_prev_pay: '/shop/now_prev_pay', // 直接购买 | ||
317 | + addshop: '/shop/addshop', // 添加购物车 | ||
318 | + collect: '/product/collect', // 收藏 | ||
319 | + getInfo: '/product/getInfo', //商品详情 | ||
320 | + good_list: '/product/get', // 商品 | ||
321 | + index: '/cap/get', // 首页大小分类 | ||
322 | + banner: '/banner/index', // 轮播图 | ||
323 | + notice: '/cap/notice', // 公告 | ||
324 | + youfei: '/shop/youfei1', // 单算邮费 | ||
325 | + youfei1: '/shop/youfei', // 購物車邮费 | ||
326 | + shopcarNum: '/shop/shopcarnum', // 购物车数量 | ||
327 | + orderlist: '/shop/orderlist', // 订单各状态数量 | ||
328 | + order_read: '/shop/read', // 订单数 | ||
329 | + }, | ||
330 | + globalData: { | ||
331 | + login_new:"", | ||
332 | + baseUrlimg :'https://binhaidispark.w.broing.cn/' | ||
333 | + } | ||
334 | +}) |
app.json
0 → 100644
1 | +{ | ||
2 | + "pages": [ | ||
3 | + "pages/index/index", | ||
4 | + "pages/chailvcode/chailvcode", | ||
5 | + "pages/login/login", | ||
6 | + "pages/register/register", | ||
7 | + "pages/coupon/coupon", | ||
8 | + "pages/lingqucoupon/lingqucoupon", | ||
9 | + "pages/startindex/startindex", | ||
10 | + "pages/zuji/zuji", | ||
11 | + "pages/messagedetail/messagedetail", | ||
12 | + "pages/message/message", | ||
13 | + "pages/shop_cart/shop_cart", | ||
14 | + "pages/classify/classify", | ||
15 | + "pages/my/my", | ||
16 | + "pages/shop_detail/shop_detail", | ||
17 | + "pages/order/order", | ||
18 | + "pages/Collection/collection", | ||
19 | + "pages/order/return_goods/return_goods", | ||
20 | + "pages/my/about_us/about_us", | ||
21 | + "pages/my/my_integral/my_integral", | ||
22 | + "pages/address/address", | ||
23 | + "pages/address/edit_address/edit_address", | ||
24 | + "pages/address/add_address/add_address", | ||
25 | + "pages/search/search", | ||
26 | + "pages/search/search_result/search_result", | ||
27 | + "pages/order/order_list/order_list", | ||
28 | + "pages/order/order_detail/order_detail", | ||
29 | + "pages/logistics/logistics", | ||
30 | + "pages/notice/notice", | ||
31 | + "pages/outerChain/outerChain", | ||
32 | + "pages/zhuanqu/zhuanqu", | ||
33 | + "pages/taocandetail/taocandetail", | ||
34 | + "pages/taocanpay/taocanpay", | ||
35 | + "pages/orderdetail/orderdetail", | ||
36 | + "pages/xianshi/xianshi", | ||
37 | + "pages/coupon", | ||
38 | + "pages/pinpaibox/pinpaibox", | ||
39 | + "pages/jumplink/jumplink", | ||
40 | + "pages/birthday/birthday" | ||
41 | + ], | ||
42 | + "subpackages": [ | ||
43 | + { | ||
44 | + "root": "packageA", | ||
45 | + "pages": [ | ||
46 | + "pages/index/index", | ||
47 | + "pages/register/register", | ||
48 | + "pages/login/login", | ||
49 | + "pages/startindex/startindex", | ||
50 | + "pages/zuji/zuji", | ||
51 | + "pages/messagedetail/messagedetail", | ||
52 | + "pages/message/message", | ||
53 | + "pages/shop_cart/shop_cart", | ||
54 | + "pages/classify/classify", | ||
55 | + "pages/my/my", | ||
56 | + "pages/shop_detail/shop_detail", | ||
57 | + "pages/order/order", | ||
58 | + "pages/Collection/collection", | ||
59 | + "pages/order/return_goods/return_goods", | ||
60 | + "pages/my/about_us/about_us", | ||
61 | + "pages/my/my_integral/my_integral", | ||
62 | + "pages/address/address", | ||
63 | + "pages/address/edit_address/edit_address", | ||
64 | + "pages/address/add_address/add_address", | ||
65 | + "pages/search/search", | ||
66 | + "pages/search/search_result/search_result", | ||
67 | + "pages/order/order_list/order_list", | ||
68 | + "pages/order/order_detail/order_detail", | ||
69 | + "pages/logistics/logistics", | ||
70 | + "pages/notice/notice", | ||
71 | + "pages/outerChain/outerChain", | ||
72 | + "pages/zhuanqu/zhuanqu", | ||
73 | + "pages/taocandetail/taocandetail", | ||
74 | + "pages/taocanpay/taocanpay", | ||
75 | + "pages/orderdetail/orderdetail", | ||
76 | + "pages/xianshi/xianshi" | ||
77 | + ] | ||
78 | + } | ||
79 | + ], | ||
80 | + "preloadRule":{ | ||
81 | + "pages/index/index":{ | ||
82 | + "network":"all", | ||
83 | + "packages": ["packageA"] | ||
84 | + } | ||
85 | + }, | ||
86 | + "window": { | ||
87 | + "backgroundTextStyle": "light", | ||
88 | + "navigationBarBackgroundColor": "#3D9AF8", | ||
89 | + "navigationBarTitleText": "海创诚品", | ||
90 | + "navigationBarTextStyle": "white" | ||
91 | + }, | ||
92 | + "tabBar": { | ||
93 | + "custom": true, | ||
94 | + "list": [ | ||
95 | + { | ||
96 | + "pagePath": "pages/index/index", | ||
97 | + "text": "商品", | ||
98 | + "iconPath": "images/tabbar/icon_75.png", | ||
99 | + "selectedIconPath": "images/tabbar/icon_68.png" | ||
100 | + }, | ||
101 | + { | ||
102 | + "pagePath": "pages/message/message", | ||
103 | + "text": "消息", | ||
104 | + "iconPath": "images/tabbar/message.png", | ||
105 | + "selectedIconPath": "images/tabbar/messageactive.png" | ||
106 | + }, | ||
107 | + { | ||
108 | + "pagePath": "pages/shop_cart/shop_cart", | ||
109 | + "text": "购物车", | ||
110 | + "iconPath": "images/tabbar/icon_70.png", | ||
111 | + "selectedIconPath": "images/tabbar/icon_73.png" | ||
112 | + }, | ||
113 | + { | ||
114 | + "pagePath": "pages/my/my", | ||
115 | + "text": "我的", | ||
116 | + "iconPath": "images/tabbar/icon_71.png", | ||
117 | + "selectedIconPath": "images/tabbar/icon_72.png" | ||
118 | + } | ||
119 | + ], | ||
120 | + "selectedColor": "#05091A" | ||
121 | + }, | ||
122 | + "sitemapLocation": "sitemap.json" | ||
123 | +} |
app.wxss
0 → 100644
1 | + | ||
2 | +.container { | ||
3 | + height: 100%; | ||
4 | + display: flex; | ||
5 | + flex-direction: column; | ||
6 | + align-items: center; | ||
7 | + justify-content: space-between; | ||
8 | + padding: 200rpx 0; | ||
9 | + box-sizing: border-box; | ||
10 | +} | ||
11 | +.flex{ | ||
12 | + display:flex; | ||
13 | +} | ||
14 | +.flexone { | ||
15 | + display: flex; | ||
16 | + align-items: center; | ||
17 | + } | ||
18 | + | ||
19 | + .flextwo { | ||
20 | + display: flex; | ||
21 | + align-items: center; | ||
22 | + justify-content: space-between; | ||
23 | + } | ||
24 | + | ||
25 | + .flexthree { | ||
26 | + display: flex; | ||
27 | + align-items: center; | ||
28 | + justify-content: center; | ||
29 | + } | ||
30 | + .flex { | ||
31 | + display: flex; | ||
32 | +} | ||
33 | + | ||
34 | +.flexone { | ||
35 | + display: flex; | ||
36 | + align-items: center; | ||
37 | +} | ||
38 | + | ||
39 | +.flextwo { | ||
40 | + display: flex; | ||
41 | + align-items: center; | ||
42 | + justify-content: space-between; | ||
43 | +} | ||
44 | + | ||
45 | +.flexthree { | ||
46 | + display: flex; | ||
47 | + align-items: center; | ||
48 | + justify-content: center; | ||
49 | +} | ||
50 | + | ||
51 | + | ||
52 | +.empty { | ||
53 | + font-size: 36rpx; | ||
54 | + font-family: PingFang SC; | ||
55 | + font-weight: 400; | ||
56 | + color: #ccc; | ||
57 | + margin-top: 200rpx; | ||
58 | + text-align: center; | ||
59 | +} | ||
60 | +.oldprice{ | ||
61 | + color:#BDC4CE; | ||
62 | + font-size: 24rpx; | ||
63 | + text-decoration: line-through | ||
64 | +} | ||
65 | +::-webkit-scrollbar { | ||
66 | + width: 0; | ||
67 | + height: 0; | ||
68 | + color: transparent; | ||
69 | + } | ||
70 | + .lineprice{ | ||
71 | + color:#8E8E8E; | ||
72 | + text-decoration: line-through; | ||
73 | + font-size:28rpx; | ||
74 | + margin-left:20rpx; | ||
75 | + } | ||
76 | +/*优惠券列表 */ | ||
77 | +.couponpageitem{ | ||
78 | + width:686rpx; | ||
79 | + height:276rpx; | ||
80 | + background: linear-gradient(135deg,#d6b17d 1%, #cda263); | ||
81 | +border-radius: 8rpx; | ||
82 | +margin:24rpx auto 0; | ||
83 | +} | ||
84 | +.couponpageitem{ | ||
85 | + display:flex; | ||
86 | + align-items: center; | ||
87 | + padding: 52rpx 24rpx; | ||
88 | + box-sizing: border-box; | ||
89 | +} | ||
90 | +.finishling{ | ||
91 | + width:208rpx; | ||
92 | + height:46rpx; | ||
93 | + font-size: 0; | ||
94 | + position: relative; | ||
95 | +} | ||
96 | +.finishling image{ | ||
97 | + width:100%; | ||
98 | + height: 100%; | ||
99 | +} | ||
100 | +.coupontop{ | ||
101 | + display:flex; | ||
102 | +} | ||
103 | +.couponright{ | ||
104 | + display:flex; | ||
105 | + padding-left: 16rpx; | ||
106 | + box-sizing: border-box; | ||
107 | +} | ||
108 | +.bigmoney{ | ||
109 | + color:#fff; | ||
110 | + font-size: 70rpx; | ||
111 | +} | ||
112 | +.smalltext{ | ||
113 | + color:#fff; | ||
114 | + font-size: 24rpx; | ||
115 | + margin-bottom: 20rpx; | ||
116 | +} | ||
117 | +.coupontitle{ | ||
118 | + color:#fff; | ||
119 | + font-size: 32rpx; | ||
120 | +} | ||
121 | +.afterling{ | ||
122 | + color:#CEA365; | ||
123 | + font-size: 22rpx; | ||
124 | + position: absolute; | ||
125 | + top:8rpx; | ||
126 | + right:10rpx; | ||
127 | +} | ||
128 | +.fullmoney{ | ||
129 | + color:#fff; | ||
130 | + font-size: 28rpx; | ||
131 | + margin-top:20rpx | ||
132 | +} | ||
133 | +.useright{ | ||
134 | + width: 160rpx; | ||
135 | +height: 64rpx; | ||
136 | +background: #ffffff; | ||
137 | +border-radius: 200rpx; | ||
138 | +box-shadow: 0px 16rpx 16rpx 0px rgba(82,48,0,0.17); | ||
139 | +color:#CEA467; | ||
140 | +font-size: 28rpx; | ||
141 | +text-align: center; | ||
142 | +line-height: 64rpx; | ||
143 | +margin-top:46rpx | ||
144 | +} | ||
145 | +.rightright{ | ||
146 | + margin-left:32rpx; | ||
147 | +} | ||
148 | +.couponleft{ | ||
149 | + display:flex; | ||
150 | + align-items: baseline; | ||
151 | + width:99rpx; | ||
152 | + position: relative; | ||
153 | + padding-right: 10rpx; | ||
154 | + /* box-sizing:border-box; */ | ||
155 | + flex:0 0 auto; | ||
156 | + /* border-right:1rpx solid #fff; */ | ||
157 | +} | ||
158 | +.couponleftk{ | ||
159 | + display:flex; | ||
160 | + align-items: baseline; | ||
161 | + width:240rpx; | ||
162 | + position: relative; | ||
163 | + padding-right: 10rpx; | ||
164 | + /* box-sizing:border-box; */ | ||
165 | + flex:0 0 auto; | ||
166 | + /* border-right:1rpx solid #fff; */ | ||
167 | +} | ||
168 | +.couponleft::after{ | ||
169 | + display:block; | ||
170 | + content:''; | ||
171 | + width:1rpx; | ||
172 | + height:104rpx; | ||
173 | + background: #ffff; | ||
174 | + position: absolute; | ||
175 | + top:0; | ||
176 | + right:1rpx; | ||
177 | + | ||
178 | +} | ||
179 | +.couponleftk::after{ | ||
180 | + display:block; | ||
181 | + content:''; | ||
182 | + width:1rpx; | ||
183 | + height:104rpx; | ||
184 | + background: #ffff; | ||
185 | + position: absolute; | ||
186 | + top:0; | ||
187 | + right:1rpx; | ||
188 | +} | ||
189 | +.nodata{ | ||
190 | + color:#999; | ||
191 | + font-size:32rpx; | ||
192 | + text-align: center; | ||
193 | + margin-top:100rpx | ||
194 | +} | ||
195 | +.flextwo{ | ||
196 | + display:flex; | ||
197 | + align-items: center; | ||
198 | + justify-content: space-between; | ||
199 | +} | ||
200 | +.flexthree{ | ||
201 | + display:flex; | ||
202 | + align-items: center; | ||
203 | + justify-content: flex-end; | ||
204 | +} |
custom-tab-bar/index.js
0 → 100644
1 | +let type = wx.getStorageSync('selecttype'); | ||
2 | +console.log(type, '类型') | ||
3 | + | ||
4 | +Component({ | ||
5 | + data: { | ||
6 | + selected: 0, | ||
7 | + text: '', | ||
8 | + color: "#7A7E83", | ||
9 | + selectedColor: "#05091A", | ||
10 | + list: [{ | ||
11 | + pagePath: "/pages/index/index", | ||
12 | + text: "商品", | ||
13 | + iconPath: "/images/tabbar/icon_75.png", | ||
14 | + selectedIconPath: "/images/tabbar/icon_68.png" | ||
15 | + }, | ||
16 | + { | ||
17 | + pagePath: "/pages/message/message", | ||
18 | + text: "消息", | ||
19 | + iconPath: "/images/tabbar/message.png", | ||
20 | + selectedIconPath: "/images/tabbar/messageactive.png" | ||
21 | + }, | ||
22 | + { | ||
23 | + pagePath: "/pages/shop_cart/shop_cart", | ||
24 | + text: "购物车", | ||
25 | + iconPath: "/images/tabbar/icon_70.png", | ||
26 | + selectedIconPath: "/images/tabbar/icon_73.png" | ||
27 | + }, | ||
28 | + { | ||
29 | + pagePath: "/pages/my/my", | ||
30 | + text: "我的", | ||
31 | + iconPath: "/images/tabbar/icon_71.png", | ||
32 | + selectedIconPath: "/images/tabbar/icon_72.png" | ||
33 | + } | ||
34 | + ] | ||
35 | + | ||
36 | + }, | ||
37 | + properties: { | ||
38 | + selected: { | ||
39 | + type: Number, // 接收父组件传过来的值 | ||
40 | + value: '' | ||
41 | + }, | ||
42 | + text: { | ||
43 | + type: Number, // 接收父组件传过来的值 | ||
44 | + value: '' | ||
45 | + }, | ||
46 | + list: { | ||
47 | + type: Array, // 接收父组件传过来的值 | ||
48 | + value: '' | ||
49 | + }, | ||
50 | + }, | ||
51 | + attached() {}, | ||
52 | + onLoad() { | ||
53 | + | ||
54 | + }, | ||
55 | + onShow: function () { | ||
56 | + console.log(this.data.text, '我是text') | ||
57 | + if (this.data.text == 1) { | ||
58 | + this.setData({ | ||
59 | + list: [{ | ||
60 | + pagePath: "/pages/index/index", | ||
61 | + text: "商品", | ||
62 | + iconPath: "/images/tabbar/icon_75.png", | ||
63 | + selectedIconPath: "/images/tabbar/icon_68.png" | ||
64 | + }, | ||
65 | + { | ||
66 | + pagePath: "/pages/message/message", | ||
67 | + text: "消息", | ||
68 | + iconPath: "/images/tabbar/message.png", | ||
69 | + selectedIconPath: "/images/tabbar/messageactive.png" | ||
70 | + }, | ||
71 | + { | ||
72 | + pagePath: "/pages/shop_cart/shop_cart", | ||
73 | + text: "购物车", | ||
74 | + iconPath: "/images/tabbar/icon_70.png", | ||
75 | + selectedIconPath: "/images/tabbar/icon_73.png" | ||
76 | + }, | ||
77 | + { | ||
78 | + pagePath: "/pages/my/my", | ||
79 | + text: "我的", | ||
80 | + iconPath: "/images/tabbar/icon_71.png", | ||
81 | + selectedIconPath: "/images/tabbar/icon_72.png" | ||
82 | + } | ||
83 | + ] | ||
84 | + }) | ||
85 | + } else { | ||
86 | + this.setData({ | ||
87 | + list: [{ | ||
88 | + pagePath: "/packageA/pages/index/index", | ||
89 | + text: "商品", | ||
90 | + iconPath: "/images/tabbar/icon_75.png", | ||
91 | + selectedIconPath: "/images/tabbar/icon_68.png" | ||
92 | + }, | ||
93 | + { | ||
94 | + pagePath: "/packageA/pages/message/message", | ||
95 | + text: "消息", | ||
96 | + iconPath: "/images/tabbar/message.png", | ||
97 | + selectedIconPath: "/images/tabbar/messageactive.png" | ||
98 | + }, | ||
99 | + { | ||
100 | + pagePath: "/packageA/pages/shop_cart/shop_cart", | ||
101 | + text: "购物车", | ||
102 | + iconPath: "/images/tabbar/icon_70.png", | ||
103 | + selectedIconPath: "/images/tabbar/icon_73.png" | ||
104 | + }, | ||
105 | + { | ||
106 | + pagePath: "/packageA/pages/my/my", | ||
107 | + text: "我的", | ||
108 | + iconPath: "/images/tabbar/icon_71.png", | ||
109 | + selectedIconPath: "/images/tabbar/icon_72.png" | ||
110 | + } | ||
111 | + ] | ||
112 | + }) | ||
113 | + } | ||
114 | + }, | ||
115 | + | ||
116 | + methods: { | ||
117 | + switchTab(e) { | ||
118 | + const data = e.currentTarget.dataset | ||
119 | + const url = data.path; | ||
120 | + console.log('343434734783489743', this.data.text) | ||
121 | + if (this.data.text == 1) { | ||
122 | + console.log(38434477) | ||
123 | + wx.switchTab({ | ||
124 | + url | ||
125 | + }) | ||
126 | + } else { | ||
127 | + console.log(url) | ||
128 | + wx.redirectTo({ | ||
129 | + url | ||
130 | + }) | ||
131 | + } | ||
132 | + | ||
133 | + } | ||
134 | + }, | ||
135 | + | ||
136 | +}) |
custom-tab-bar/index.json
0 → 100644
custom-tab-bar/index.wxml
0 → 100644
1 | +<view class="tabBar"> | ||
2 | + <view class="tab-bar-border"></view> | ||
3 | + <view wx:for="{{list}}" wx:key="index" class="tab-bar-item" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab"> | ||
4 | + <image src="{{selected === index ? item.selectedIconPath : item.iconPath}}" class="tabIcon"></image> | ||
5 | + <view style="color: {{selected === index ? selectedColor : color}}" class="tabText">{{item.text}}</view> | ||
6 | + </view> | ||
7 | +</view> |
custom-tab-bar/index.wxss
0 → 100644
1 | +.tabBar { | ||
2 | + position: fixed; | ||
3 | + bottom: 0; | ||
4 | + left: 0; | ||
5 | + right: 0; | ||
6 | + height: 100rpx; | ||
7 | + background: white; | ||
8 | + display: flex; | ||
9 | + z-index: 12000; | ||
10 | + padding-bottom: env(safe-area-inset-bottom); | ||
11 | +} | ||
12 | + | ||
13 | +.tab-bar-border { | ||
14 | + background-color: rgba(0, 0, 0, 0.33); | ||
15 | + position: absolute; | ||
16 | + left: 0; | ||
17 | + top: 0; | ||
18 | + width: 100%; | ||
19 | + height: 1px; | ||
20 | + transform: scaleY(0.5); | ||
21 | +} | ||
22 | + | ||
23 | +.tab-bar-item { | ||
24 | + flex: 1; | ||
25 | + text-align: center; | ||
26 | + display: flex; | ||
27 | + justify-content: center; | ||
28 | + align-items: center; | ||
29 | + flex-direction: column; | ||
30 | + position: relative; | ||
31 | +} | ||
32 | + | ||
33 | +.tab-bar-item .tabIcon { | ||
34 | + width: 28px; | ||
35 | + height: 28px; | ||
36 | +} | ||
37 | + | ||
38 | +.tab-bar-item .tabText { | ||
39 | + font-size: 10px; | ||
40 | +} | ||
41 | +.connect{ | ||
42 | + width:240rpx!important; | ||
43 | + height:100rpx; | ||
44 | + position: absolute; | ||
45 | + top:0; | ||
46 | + left:0; | ||
47 | + background: transparent; | ||
48 | + padding: none!important; | ||
49 | + | ||
50 | +} |
images/38.png
0 → 100644
595 字节
images/39.png
0 → 100644
533 字节
images/40.png
0 → 100644
578 字节
images/__MACOSX/._编组 14.png
0 → 100644
176 字节
images/add.png
0 → 100644
1.0 KB
images/alcheck.png
0 → 100644
499 字节
images/all.png
0 → 100644
976 字节
images/bingo.png
0 → 100644
165 字节
images/bodadianhua_icon.png
0 → 100644
634 字节
images/bubble.png
0 → 100644
7.6 KB
images/changxiang.png
0 → 100644
18.6 KB
images/check.png
0 → 100644
844 字节
images/check@.png
0 → 100644
673 字节
images/close.png
0 → 100644
1.2 KB
images/dapai.png
0 → 100644
301.9 KB
images/del.png
0 → 100644
662 字节
images/delete.png
0 → 100644
450 字节
images/dianhua.png
0 → 100644
3.3 KB
images/gosee.png
0 → 100644
1.2 KB
images/gou.png
0 → 100644
3.2 KB
images/haowu.png
0 → 100644
15.0 KB
images/huo.png
0 → 100644
4.7 KB
images/icon_13.png
0 → 100644
843 字节
images/icon_14.png
0 → 100644
994 字节
images/icon_15.png
0 → 100644
984 字节
images/icon_16.png
0 → 100644
1.0 KB
images/icon_29.png
0 → 100644
1.1 KB
images/icon_30.png
0 → 100644
1.5 KB
images/icon_31.png
0 → 100644
1.7 KB
images/icon_32.png
0 → 100644
991 字节
images/icon_33.png
0 → 100644
750 字节
images/icon_34.png
0 → 100644
860 字节
images/icon_35.png
0 → 100644
560 字节
images/icon_37.png
0 → 100644
909 字节
images/icon_41.png
0 → 100644
278 字节
images/icon_43.png
0 → 100644
543 字节
images/icon_46.png
0 → 100644
3.7 KB
images/icon_48.png
0 → 100644
494 字节
images/icon_50.png
0 → 100644
7.9 KB
images/icon_51.png
0 → 100644
813 字节
images/icon_54.png
0 → 100644
966 字节
images/icon_55.png
0 → 100644
3.3 KB
images/icon_58.png
0 → 100644
1.0 KB
images/icon_59.png
0 → 100644
4.6 KB
images/icon_60.png
0 → 100644
388 字节
images/icon_61.png
0 → 100644
1.2 KB
images/icon_62.png
0 → 100644
1.1 KB
images/icon_64.png
0 → 100644
1.1 KB
images/icon_65.png
0 → 100644
4.5 KB
images/icon_78.png
0 → 100644
4.9 KB
images/icon_79.png
0 → 100644
53.6 KB
images/icon_80.png
0 → 100644
5.5 KB
images/icon_81.png
0 → 100644
1.8 KB
images/icon_82.png
0 → 100644
1.7 KB
images/icon_83.png
0 → 100644
1.0 KB
images/icon_84.png
0 → 100644
2.2 KB
images/icon_85.png
0 → 100644
7.6 KB
images/img_chailv.png
0 → 100644
52.0 KB
images/img_laobao.png
0 → 100644
40.6 KB
images/jingzhi.png
0 → 100644
18.6 KB
images/kefu_icon.png
0 → 100644
847 字节
images/line.png
0 → 100644
295 字节
images/login_bg.png
0 → 100644
20.7 KB
images/logo.png
0 → 100644
6.3 KB
images/manjian.png
0 → 100644
3.7 KB
images/mei.png
0 → 100644
740 字节
images/more.png
0 → 100644
2.2 KB
images/notice.png
0 → 100644
2.2 KB
images/reduce.png
0 → 100644
961 字节
images/rehot.png
0 → 100644
23.1 KB
images/sc.png
0 → 100644
1007 字节
images/sc@.png
0 → 100644
688 字节
images/search.png
0 → 100644
782 字节
images/select.png
0 → 100644
338 字节
images/select_active.png
0 → 100644
347 字节
images/success.png
0 → 100644
4.5 KB
images/tabbar/icon_68.png
0 → 100644
1.9 KB
-
请 注册 或 登录 后发表评论