正在显示
11 个修改的文件
包含
174 行增加
和
198 行删除
@@ -22,11 +22,6 @@ Component({ | @@ -22,11 +22,6 @@ Component({ | ||
22 | wx.makePhoneCall({ | 22 | wx.makePhoneCall({ |
23 | phoneNumber: wx.getStorageSync('tel') | 23 | phoneNumber: wx.getStorageSync('tel') |
24 | }) | 24 | }) |
25 | - }, | ||
26 | - tokefu(){ | ||
27 | - wx.navigateTo({ | ||
28 | - url: '/pages/kefu/kefu', | ||
29 | - }) | ||
30 | } | 25 | } |
31 | } | 26 | } |
32 | }) | 27 | }) |
1 | <view class="concat_box"> | 1 | <view class="concat_box"> |
2 | - <button bindtap="tokefu" class="item" plain="true"> | ||
3 | - <image src="/images/icon_65.png" /> | ||
4 | - </button> | 2 | + <image src="/images/icon_65.png" class="item" /> |
3 | + <button open-type="contact" plain="true" class="dadianhua"></button> | ||
5 | <view class="item" catchtap="tel"> | 4 | <view class="item" catchtap="tel"> |
6 | <image src="/images/bodadianhua_icon.png" /> | 5 | <image src="/images/bodadianhua_icon.png" /> |
7 | </view> | 6 | </view> |
@@ -54,7 +54,7 @@ App({ | @@ -54,7 +54,7 @@ App({ | ||
54 | //工会商城入口 | 54 | //工会商城入口 |
55 | baseUrl = 'https://binhaigh.w.broing.cn/api'; | 55 | baseUrl = 'https://binhaigh.w.broing.cn/api'; |
56 | } else if (entrance_type == '3') { | 56 | } else if (entrance_type == '3') { |
57 | - //采办商城入口 | 57 | + //工会商城入口 |
58 | baseUrl = 'https://bgcb.w.broing.cn/api'; | 58 | baseUrl = 'https://bgcb.w.broing.cn/api'; |
59 | } | 59 | } |
60 | // 天远甄选 | 60 | // 天远甄选 |
1 | { | 1 | { |
2 | - "pages": [ | 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": [ | ||
3 | "pages/index/index", | 46 | "pages/index/index", |
4 | - "pages/chailvcode/chailvcode", | ||
5 | - "pages/login/login", | ||
6 | "pages/register/register", | 47 | "pages/register/register", |
7 | - "pages/coupon/coupon", | ||
8 | - "pages/lingqucoupon/lingqucoupon", | 48 | + "pages/login/login", |
9 | "pages/startindex/startindex", | 49 | "pages/startindex/startindex", |
10 | "pages/zuji/zuji", | 50 | "pages/zuji/zuji", |
11 | "pages/messagedetail/messagedetail", | 51 | "pages/messagedetail/messagedetail", |
12 | - "pages/message/message", | 52 | + "pages/message/message", |
13 | "pages/shop_cart/shop_cart", | 53 | "pages/shop_cart/shop_cart", |
14 | "pages/classify/classify", | 54 | "pages/classify/classify", |
15 | "pages/my/my", | 55 | "pages/my/my", |
@@ -20,11 +60,11 @@ | @@ -20,11 +60,11 @@ | ||
20 | "pages/my/about_us/about_us", | 60 | "pages/my/about_us/about_us", |
21 | "pages/my/my_integral/my_integral", | 61 | "pages/my/my_integral/my_integral", |
22 | "pages/address/address", | 62 | "pages/address/address", |
23 | - "pages/address/edit_address/edit_address", | 63 | + "pages/address/edit_address/edit_address", |
24 | "pages/address/add_address/add_address", | 64 | "pages/address/add_address/add_address", |
25 | "pages/search/search", | 65 | "pages/search/search", |
26 | "pages/search/search_result/search_result", | 66 | "pages/search/search_result/search_result", |
27 | - "pages/order/order_list/order_list", | 67 | + "pages/order/order_list/order_list", |
28 | "pages/order/order_detail/order_detail", | 68 | "pages/order/order_detail/order_detail", |
29 | "pages/logistics/logistics", | 69 | "pages/logistics/logistics", |
30 | "pages/notice/notice", | 70 | "pages/notice/notice", |
@@ -33,94 +73,51 @@ | @@ -33,94 +73,51 @@ | ||
33 | "pages/taocandetail/taocandetail", | 73 | "pages/taocandetail/taocandetail", |
34 | "pages/taocanpay/taocanpay", | 74 | "pages/taocanpay/taocanpay", |
35 | "pages/orderdetail/orderdetail", | 75 | "pages/orderdetail/orderdetail", |
36 | - "pages/xianshi/xianshi", | ||
37 | - "pages/coupon", | ||
38 | - "pages/pinpaibox/pinpaibox", | ||
39 | - "pages/jumplink/jumplink", | ||
40 | - "pages/birthday/birthday", | ||
41 | - "pages/kefu/kefu" | ||
42 | - ], | ||
43 | - "subpackages": [ | ||
44 | - { | ||
45 | - "root": "packageA", | ||
46 | - "pages": [ | ||
47 | - "pages/index/index", | ||
48 | - "pages/register/register", | ||
49 | - "pages/login/login", | ||
50 | - "pages/startindex/startindex", | ||
51 | - "pages/zuji/zuji", | ||
52 | - "pages/messagedetail/messagedetail", | ||
53 | - "pages/message/message", | ||
54 | - "pages/shop_cart/shop_cart", | ||
55 | - "pages/classify/classify", | ||
56 | - "pages/my/my", | ||
57 | - "pages/shop_detail/shop_detail", | ||
58 | - "pages/order/order", | ||
59 | - "pages/Collection/collection", | ||
60 | - "pages/order/return_goods/return_goods", | ||
61 | - "pages/my/about_us/about_us", | ||
62 | - "pages/my/my_integral/my_integral", | ||
63 | - "pages/address/address", | ||
64 | - "pages/address/edit_address/edit_address", | ||
65 | - "pages/address/add_address/add_address", | ||
66 | - "pages/search/search", | ||
67 | - "pages/search/search_result/search_result", | ||
68 | - "pages/order/order_list/order_list", | ||
69 | - "pages/order/order_detail/order_detail", | ||
70 | - "pages/logistics/logistics", | ||
71 | - "pages/notice/notice", | ||
72 | - "pages/outerChain/outerChain", | ||
73 | - "pages/zhuanqu/zhuanqu", | ||
74 | - "pages/taocandetail/taocandetail", | ||
75 | - "pages/taocanpay/taocanpay", | ||
76 | - "pages/orderdetail/orderdetail", | ||
77 | - "pages/xianshi/xianshi" | ||
78 | - ] | ||
79 | - } | 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 | + } | ||
80 | ], | 119 | ], |
81 | - "preloadRule": { | ||
82 | - "pages/index/index": { | ||
83 | - "network": "all", | ||
84 | - "packages": [ | ||
85 | - "packageA" | ||
86 | - ] | ||
87 | - } | ||
88 | - }, | ||
89 | - "window": { | ||
90 | - "backgroundTextStyle": "light", | ||
91 | - "navigationBarBackgroundColor": "#3D9AF8", | ||
92 | - "navigationBarTitleText": "海创诚品", | ||
93 | - "navigationBarTextStyle": "white" | ||
94 | - }, | ||
95 | - "tabBar": { | ||
96 | - "custom": true, | ||
97 | - "list": [ | ||
98 | - { | ||
99 | - "pagePath": "pages/index/index", | ||
100 | - "text": "商品", | ||
101 | - "iconPath": "images/tabbar/icon_75.png", | ||
102 | - "selectedIconPath": "images/tabbar/icon_68.png" | ||
103 | - }, | ||
104 | - { | ||
105 | - "pagePath": "pages/message/message", | ||
106 | - "text": "消息", | ||
107 | - "iconPath": "images/tabbar/message.png", | ||
108 | - "selectedIconPath": "images/tabbar/messageactive.png" | ||
109 | - }, | ||
110 | - { | ||
111 | - "pagePath": "pages/shop_cart/shop_cart", | ||
112 | - "text": "购物车", | ||
113 | - "iconPath": "images/tabbar/icon_70.png", | ||
114 | - "selectedIconPath": "images/tabbar/icon_73.png" | ||
115 | - }, | ||
116 | - { | ||
117 | - "pagePath": "pages/my/my", | ||
118 | - "text": "我的", | ||
119 | - "iconPath": "images/tabbar/icon_71.png", | ||
120 | - "selectedIconPath": "images/tabbar/icon_72.png" | ||
121 | - } | ||
122 | - ], | ||
123 | - "selectedColor": "#05091A" | ||
124 | - }, | ||
125 | - "sitemapLocation": "sitemap.json" | 120 | + "selectedColor": "#05091A" |
121 | + }, | ||
122 | + "sitemapLocation": "sitemap.json" | ||
126 | } | 123 | } |
@@ -138,7 +138,7 @@ Page({ | @@ -138,7 +138,7 @@ Page({ | ||
138 | let login = wx.getStorageSync('login') | 138 | let login = wx.getStorageSync('login') |
139 | let sq = wx.getStorageSync('sq') | 139 | let sq = wx.getStorageSync('sq') |
140 | console.log(token) | 140 | console.log(token) |
141 | - console.log(sq) | 141 | + |
142 | if (token == '' || sq == 2) { | 142 | if (token == '' || sq == 2) { |
143 | // wx.showToast({ | 143 | // wx.showToast({ |
144 | // title: '请登录后操作', | 144 | // title: '请登录后操作', |
@@ -10,16 +10,16 @@ Page({ | @@ -10,16 +10,16 @@ Page({ | ||
10 | /** | 10 | /** |
11 | * 生命周期函数--监听页面加载 | 11 | * 生命周期函数--监听页面加载 |
12 | */ | 12 | */ |
13 | - onLoad: function (options) { | 13 | + onLoad: function(options) { |
14 | this.getCodeFun(); | 14 | this.getCodeFun(); |
15 | - | 15 | + |
16 | }, | 16 | }, |
17 | 17 | ||
18 | // 进入页面获取code | 18 | // 进入页面获取code |
19 | getCodeFun() { | 19 | getCodeFun() { |
20 | let that = this; | 20 | let that = this; |
21 | wx.login({ | 21 | wx.login({ |
22 | - success: function (r) { | 22 | + success: function(r) { |
23 | that.setData({ | 23 | that.setData({ |
24 | code: r.code | 24 | code: r.code |
25 | }) | 25 | }) |
@@ -32,10 +32,10 @@ Page({ | @@ -32,10 +32,10 @@ Page({ | ||
32 | iv: reg.iv, | 32 | iv: reg.iv, |
33 | encryptedData: reg.encryptedData | 33 | encryptedData: reg.encryptedData |
34 | }) | 34 | }) |
35 | - if (that.data.iv) { | 35 | + if(that.data.iv){ |
36 | that.get_token() | 36 | that.get_token() |
37 | } | 37 | } |
38 | - | 38 | + |
39 | } | 39 | } |
40 | }) | 40 | }) |
41 | } | 41 | } |
@@ -49,66 +49,36 @@ Page({ | @@ -49,66 +49,36 @@ Page({ | ||
49 | // 立即授权 | 49 | // 立即授权 |
50 | get_info(e) { | 50 | get_info(e) { |
51 | let that = this | 51 | let that = this |
52 | - wx.getUserProfile({ | ||
53 | - desc: '用于完善会员资料', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写 | ||
54 | - success: (res) => { | ||
55 | - console.log(res.iv) | ||
56 | - that.setData({ | ||
57 | - iv: res.iv, | ||
58 | - encryptedData: res.encryptedData | ||
59 | - }) | ||
60 | - if(that.data.iv){ | ||
61 | - wx.login({ | ||
62 | - success: function(r) { | ||
63 | - that.setData({ | ||
64 | - code: r.code | ||
65 | - }) | ||
66 | - that.get_token() | ||
67 | - } | 52 | + if (e.detail.errMsg == 'getUserInfo:ok'){ |
53 | + that.setData({ | ||
54 | + iv: e.detail.iv, | ||
55 | + encryptedData: e.detail.encryptedData | ||
56 | + }) | ||
57 | + if(that.data.iv){ | ||
58 | + wx.login({ | ||
59 | + success: function(r) { | ||
60 | + that.setData({ | ||
61 | + code: r.code | ||
68 | }) | 62 | }) |
69 | - | ||
70 | - | 63 | + that.get_token() |
71 | } | 64 | } |
72 | - | ||
73 | - }, | ||
74 | - fail() { | ||
75 | - wx.navigateBack({ | ||
76 | - delta: 0, | ||
77 | - }) | 65 | + }) |
66 | + | ||
67 | + | ||
78 | } | 68 | } |
79 | - }) | ||
80 | - // if (e.detail.errMsg == 'getUserInfo:ok') { | ||
81 | - // that.setData({ | ||
82 | - // iv: e.detail.iv, | ||
83 | - // encryptedData: e.detail.encryptedData | ||
84 | - // }) | ||
85 | - // if (that.data.iv) { | ||
86 | - // wx.login({ | ||
87 | - // success: function (r) { | ||
88 | - // that.setData({ | ||
89 | - // code: r.code | ||
90 | - // }) | ||
91 | - // that.get_token() | ||
92 | - // } | ||
93 | - // }) | ||
94 | - | ||
95 | - | ||
96 | - // } | ||
97 | - | ||
98 | - // } | 69 | + |
70 | + } | ||
99 | }, | 71 | }, |
100 | 72 | ||
101 | - // 获取登录注册信息 | ||
102 | - get_token() { | 73 | +// 获取登录注册信息 |
74 | + get_token(){ | ||
103 | wx.showLoading({ | 75 | wx.showLoading({ |
104 | title: '加载中', | 76 | title: '加载中', |
105 | }) | 77 | }) |
106 | let that = this | 78 | let that = this |
107 | wx.checkSession({ | 79 | wx.checkSession({ |
108 | success(res) { | 80 | success(res) { |
109 | - | ||
110 | let u = a.interface.openid; | 81 | let u = a.interface.openid; |
111 | - console.log(u) | ||
112 | let d = { | 82 | let d = { |
113 | code: that.data.code, | 83 | code: that.data.code, |
114 | iv: that.data.iv, | 84 | iv: that.data.iv, |
@@ -116,35 +86,45 @@ Page({ | @@ -116,35 +86,45 @@ Page({ | ||
116 | } | 86 | } |
117 | a.post(u, d).then((r) => { | 87 | a.post(u, d).then((r) => { |
118 | wx.hideLoading() | 88 | wx.hideLoading() |
119 | - console.log(r) | ||
120 | if (r.code == 200) { | 89 | if (r.code == 200) { |
121 | - console.log(r) | ||
122 | - wx.hideLoading() | ||
123 | wx.setStorageSync('token', r.token); | 90 | wx.setStorageSync('token', r.token); |
124 | wx.setStorageSync('tel', r.tel); | 91 | wx.setStorageSync('tel', r.tel); |
125 | - | 92 | + |
126 | // wx.setStorageSync('token', 'C9c4f9e702e05dae61d854c0c2dd6e21a'); | 93 | // wx.setStorageSync('token', 'C9c4f9e702e05dae61d854c0c2dd6e21a'); |
127 | wx.setStorageSync('login', r.new_login); | 94 | wx.setStorageSync('login', r.new_login); |
128 | wx.setStorageSync('gh_login', r.gh_login); | 95 | wx.setStorageSync('gh_login', r.gh_login); |
129 | wx.setStorageSync('cb_login', r.cb_login); | 96 | wx.setStorageSync('cb_login', r.cb_login); |
130 | - wx.setStorageSync('sq', r.sq1) | ||
131 | - wx.setStorageSync('gh_sq', r.sq2) | ||
132 | - wx.setStorageSync('cb_sq', r.sq3) | 97 | + // wx.setStorageSync('tel', r.tel); |
98 | + // wx.reLaunch({ | ||
99 | + // url: '/pages/index/index' | ||
100 | + // }) | ||
101 | + // wx.reLaunch({ | ||
102 | + // url: '/pages/index/index' | ||
103 | + // }) | ||
133 | wx.navigateBack({ | 104 | wx.navigateBack({ |
134 | delta: 0, | 105 | delta: 0, |
135 | }) | 106 | }) |
136 | - | 107 | + // if (r.new_login == 0) { |
108 | + // // 未绑定手机号 | ||
109 | + // wx.redirectTo({ | ||
110 | + // url: '/pages/login/login' | ||
111 | + // }) | ||
112 | + // } else if (r.new_login == 1) { | ||
113 | + // wx.reLaunch({ | ||
114 | + // url: '/pages/index/index' | ||
115 | + // }) | ||
116 | + // } | ||
137 | } | 117 | } |
138 | }).catch((er) => { }) | 118 | }).catch((er) => { }) |
139 | - }, | 119 | + } |
120 | + , | ||
140 | fail(err) { | 121 | fail(err) { |
141 | - console.log(err) | ||
142 | wx.hideLoading(); | 122 | wx.hideLoading(); |
143 | that.getCodeFun() | 123 | that.getCodeFun() |
144 | } | 124 | } |
145 | }) | 125 | }) |
146 | 126 | ||
147 | - | 127 | + |
148 | }, | 128 | }, |
149 | 129 | ||
150 | 130 | ||
@@ -157,49 +137,49 @@ Page({ | @@ -157,49 +137,49 @@ Page({ | ||
157 | /** | 137 | /** |
158 | * 生命周期函数--监听页面初次渲染完成 | 138 | * 生命周期函数--监听页面初次渲染完成 |
159 | */ | 139 | */ |
160 | - onReady: function () { | 140 | + onReady: function() { |
161 | 141 | ||
162 | }, | 142 | }, |
163 | 143 | ||
164 | /** | 144 | /** |
165 | * 生命周期函数--监听页面显示 | 145 | * 生命周期函数--监听页面显示 |
166 | */ | 146 | */ |
167 | - onShow: function () { | 147 | + onShow: function() { |
168 | 148 | ||
169 | }, | 149 | }, |
170 | 150 | ||
171 | /** | 151 | /** |
172 | * 生命周期函数--监听页面隐藏 | 152 | * 生命周期函数--监听页面隐藏 |
173 | */ | 153 | */ |
174 | - onHide: function () { | 154 | + onHide: function() { |
175 | 155 | ||
176 | }, | 156 | }, |
177 | 157 | ||
178 | /** | 158 | /** |
179 | * 生命周期函数--监听页面卸载 | 159 | * 生命周期函数--监听页面卸载 |
180 | */ | 160 | */ |
181 | - onUnload: function () { | 161 | + onUnload: function() { |
182 | 162 | ||
183 | }, | 163 | }, |
184 | 164 | ||
185 | /** | 165 | /** |
186 | * 页面相关事件处理函数--监听用户下拉动作 | 166 | * 页面相关事件处理函数--监听用户下拉动作 |
187 | */ | 167 | */ |
188 | - onPullDownRefresh: function () { | 168 | + onPullDownRefresh: function() { |
189 | 169 | ||
190 | }, | 170 | }, |
191 | 171 | ||
192 | /** | 172 | /** |
193 | * 页面上拉触底事件的处理函数 | 173 | * 页面上拉触底事件的处理函数 |
194 | */ | 174 | */ |
195 | - onReachBottom: function () { | 175 | + onReachBottom: function() { |
196 | 176 | ||
197 | }, | 177 | }, |
198 | 178 | ||
199 | /** | 179 | /** |
200 | * 用户点击右上角分享 | 180 | * 用户点击右上角分享 |
201 | */ | 181 | */ |
202 | - onShareAppMessage: function () { | 182 | + onShareAppMessage: function() { |
203 | 183 | ||
204 | } | 184 | } |
205 | }) | 185 | }) |
@@ -9,6 +9,6 @@ | @@ -9,6 +9,6 @@ | ||
9 | </view> | 9 | </view> |
10 | </view> | 10 | </view> |
11 | <view class="button_box"> | 11 | <view class="button_box"> |
12 | - <button class="login" lang="zh_CN" bindtap="get_info">立即授权</button> | 12 | + <button class="login" open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="get_info">立即授权</button> |
13 | <view class="no_login" bindtap="returnPageFun">暂不授权</view> | 13 | <view class="no_login" bindtap="returnPageFun">暂不授权</view> |
14 | </view> | 14 | </view> |
@@ -20,17 +20,20 @@ | @@ -20,17 +20,20 @@ | ||
20 | <shop_item list="{{list}}" wx:if="{{list.length>0}}" type="1" actioning='{{actioning}}' check_num="{{check_num}}" bindcheck_type="check_type" bindchange_num="change_num" binddelete_shop="delete_shop" /> | 20 | <shop_item list="{{list}}" wx:if="{{list.length>0}}" type="1" actioning='{{actioning}}' check_num="{{check_num}}" bindcheck_type="check_type" bindchange_num="change_num" binddelete_shop="delete_shop" /> |
21 | <view class="empty" wx:else>暂无更多数据</view> | 21 | <view class="empty" wx:else>暂无更多数据</view> |
22 | </view> | 22 | </view> |
23 | - | ||
24 | - <view class="footer" wx:if="{{list.length>0}}"> | ||
25 | - <view class="check_box" bindtap="check_all"> | ||
26 | - <image class="check" src="{{checkAll?'/images/check@.png':'/images/check.png'}}" /> | ||
27 | - <text>全选</text> | ||
28 | - </view> | ||
29 | - <view class="tips_info" wx:if="{{editshow}}"> | ||
30 | - <text>不含运费</text>合计 | ||
31 | - <text>{{integral}}元</text> | 23 | +<!-- wx:if="{{list.length>0}}" --> |
24 | +<!-- footer --> | ||
25 | + <view class="footer" wx:if="{{list.length>0}}"> | ||
26 | + <view class="check_box" bindtap="check_all"> | ||
27 | + <image class="check" src="{{checkAll?'/images/check@.png':'/images/check.png'}}" /> | ||
28 | + <text>全选</text> | ||
29 | + </view> | ||
30 | + <view class="tips_info" wx:if="{{editshow}}"> | ||
31 | + <text>不含运费</text>合计 | ||
32 | + <text>{{integral}}元</text> | ||
33 | + </view> | ||
34 | + <view class="submit" bindtap="submit" wx:if="{{editshow}}">结算({{all_num}})</view> | ||
32 | </view> | 35 | </view> |
33 | - <view class="submit" bindtap="submit" wx:if="{{editshow}}">结算({{all_num}})</view> | ||
34 | - </view> | 36 | + |
37 | + <concat /> | ||
35 | </block> | 38 | </block> |
36 | <v-tab-bar selected="{{selected}}" text="1" list="{{listarr}}"></v-tab-bar> | 39 | <v-tab-bar selected="{{selected}}" text="1" list="{{listarr}}"></v-tab-bar> |
@@ -37,7 +37,6 @@ page { | @@ -37,7 +37,6 @@ page { | ||
37 | background: #fff; | 37 | background: #fff; |
38 | position: fixed; | 38 | position: fixed; |
39 | left: 0; | 39 | left: 0; |
40 | - bottom: calc(100rpx + constant(safe-area-inset-bottom)); | ||
41 | bottom: calc(100rpx + env(safe-area-inset-bottom)); | 40 | bottom: calc(100rpx + env(safe-area-inset-bottom)); |
42 | font-size: 26rpx; | 41 | font-size: 26rpx; |
43 | font-family: PingFang SC; | 42 | font-family: PingFang SC; |
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | "ignore": [] | 4 | "ignore": [] |
5 | }, | 5 | }, |
6 | "setting": { | 6 | "setting": { |
7 | - "urlCheck": true, | 7 | + "urlCheck": false, |
8 | "es6": true, | 8 | "es6": true, |
9 | "enhance": false, | 9 | "enhance": false, |
10 | "postcss": true, | 10 | "postcss": true, |
@@ -21,6 +21,7 @@ | @@ -21,6 +21,7 @@ | ||
21 | "checkSiteMap": true, | 21 | "checkSiteMap": true, |
22 | "uploadWithSourceMap": true, | 22 | "uploadWithSourceMap": true, |
23 | "compileHotReLoad": false, | 23 | "compileHotReLoad": false, |
24 | + "lazyloadPlaceholderEnable": false, | ||
24 | "useMultiFrameRuntime": true, | 25 | "useMultiFrameRuntime": true, |
25 | "useApiHook": true, | 26 | "useApiHook": true, |
26 | "useApiHostProcess": true, | 27 | "useApiHostProcess": true, |
@@ -30,17 +31,18 @@ | @@ -30,17 +31,18 @@ | ||
30 | "outputPath": "" | 31 | "outputPath": "" |
31 | }, | 32 | }, |
32 | "enableEngineNative": false, | 33 | "enableEngineNative": false, |
33 | - "bundle": false, | ||
34 | - "useIsolateContext": true, | ||
35 | - "useCompilerModule": true, | ||
36 | - "userConfirmedUseCompilerModuleSwitch": false, | 34 | + "useIsolateContext": false, |
37 | "userConfirmedBundleSwitch": false, | 35 | "userConfirmedBundleSwitch": false, |
38 | "packNpmManually": false, | 36 | "packNpmManually": false, |
39 | "packNpmRelationList": [], | 37 | "packNpmRelationList": [], |
40 | - "minifyWXSS": true | 38 | + "minifyWXSS": true, |
39 | + "disableUseStrict": false, | ||
40 | + "minifyWXML": true, | ||
41 | + "showES6CompileOption": false, | ||
42 | + "useCompilerPlugins": false | ||
41 | }, | 43 | }, |
42 | "compileType": "miniprogram", | 44 | "compileType": "miniprogram", |
43 | - "libVersion": "2.14.3", | 45 | + "libVersion": "2.19.6", |
44 | "appid": "wx73497072e7340d61", | 46 | "appid": "wx73497072e7340d61", |
45 | "projectname": "binhaineigouopen", | 47 | "projectname": "binhaineigouopen", |
46 | "debugOptions": { | 48 | "debugOptions": { |
-
请 注册 或 登录 后发表评论