作者 lihongjuan

1

@@ -690,7 +690,7 @@ @@ -690,7 +690,7 @@
690 } 690 }
691 691
692 .dikou { 692 .dikou {
693 - width: 160rpx; 693 + /* width: 160rpx; */
694 } 694 }
695 695
696 .goodboxitem { 696 .goodboxitem {
@@ -812,3 +812,19 @@ @@ -812,3 +812,19 @@
812 margin-top: 42rpx; 812 margin-top: 42rpx;
813 border-top: 1rpx solid #f5f5f5; 813 border-top: 1rpx solid #f5f5f5;
814 } 814 }
  815 +.markcontentk{
  816 + padding: 0 32rpx;
  817 + box-sizing: border-box;
  818 +}
  819 +.peibox{
  820 + padding: 32rpx 0;
  821 + box-sizing: border-box;
  822 +}
  823 +.peibox{
  824 + padding: 32rpx 32rpx 0;
  825 + box-sizing: border-box;
  826 +}
  827 +.peiboxk{
  828 + padding: 32rpx 32rpx 32rpx;
  829 + box-sizing: border-box;
  830 +}
@@ -64,6 +64,7 @@ @@ -64,6 +64,7 @@
64 "navigationBarTitleText": "等级考试", 64 "navigationBarTitleText": "等级考试",
65 "navigationBarBackgroundColor": "#fff", 65 "navigationBarBackgroundColor": "#fff",
66 "navigationBarTextStyle": "black" 66 "navigationBarTextStyle": "black"
  67 +
67 } 68 }
68 }, 69 },
69 { 70 {
@@ -153,7 +154,11 @@ @@ -153,7 +154,11 @@
153 "style": { 154 "style": {
154 "navigationBarTitleText": "论坛", 155 "navigationBarTitleText": "论坛",
155 "navigationBarBackgroundColor": "#fff", 156 "navigationBarBackgroundColor": "#fff",
156 - "navigationBarTextStyle": "black" 157 + "navigationBarTextStyle": "black",
  158 + "navigationStyle": "custom",
  159 + "app-plus": {
  160 + "bounce": "none"
  161 + }
157 } 162 }
158 }, 163 },
159 164
@@ -225,6 +225,7 @@ @@ -225,6 +225,7 @@
225 }, 225 },
226 // 购物车列表 226 // 购物车列表
227 cartlist(){ 227 cartlist(){
  228 + console.log(4843834)
228 uni.navigateTo({ 229 uni.navigateTo({
229 url:'/pages/nearshop/cartlist' 230 url:'/pages/nearshop/cartlist'
230 }) 231 })
1 <template> 1 <template>
2 <view class="content"> 2 <view class="content">
  3 + <view class="status_bar"></view>
3 <view class="home-wrap"> 4 <view class="home-wrap">
4 <!-- 搜索 --> 5 <!-- 搜索 -->
5 <view class="search-wrap navigator"> 6 <view class="search-wrap navigator">
@@ -149,7 +150,8 @@ @@ -149,7 +150,8 @@
149 provincelist: [], 150 provincelist: [],
150 provincename:'', 151 provincename:'',
151 index:0, 152 index:0,
152 - luntanlist:[] 153 + luntanlist:[],
  154 + keyword:''
153 155
154 } 156 }
155 }, 157 },
@@ -161,7 +163,7 @@ @@ -161,7 +163,7 @@
161 hidepublish() { 163 hidepublish() {
162 this.publish = false 164 this.publish = false
163 }, 165 },
164 - // 获取份列表 166 + // 获取份列表
165 getprovincelist() { 167 getprovincelist() {
166 let that = this; 168 let that = this;
167 var url = 'forum/get_province'; 169 var url = 'forum/get_province';
@@ -193,11 +195,13 @@ @@ -193,11 +195,13 @@
193 let that = this; 195 let that = this;
194 var url = 'forum/get_forum'; 196 var url = 'forum/get_forum';
195 var params = { 197 var params = {
  198 + keyword:that.keyword,
196 province_id: that.province_id, 199 province_id: that.province_id,
197 type: that.type, 200 type: that.type,
198 page: that.page, 201 page: that.page,
199 pageNum: 10 202 pageNum: 10
200 } 203 }
  204 + console.log('参数',params)
201 app.post(url, params).then((res) => { 205 app.post(url, params).then((res) => {
202 console.log(res); 206 console.log(res);
203 that.luntanlist=that.luntanlist.concat(res.data.data); 207 that.luntanlist=that.luntanlist.concat(res.data.data);
@@ -293,7 +297,7 @@ @@ -293,7 +297,7 @@
293 background: #C29445; 297 background: #C29445;
294 298
295 position: fixed; 299 position: fixed;
296 - top: 0; 300 + top: var(--status-bar-height);
297 left: 0; 301 left: 0;
298 302
299 } 303 }
@@ -304,7 +308,7 @@ @@ -304,7 +308,7 @@
304 justify-content: space-between; 308 justify-content: space-between;
305 padding: 32rpx 64rpx; 309 padding: 32rpx 64rpx;
306 margin-bottom: 16rpx; 310 margin-bottom: 16rpx;
307 - margin-top: 100rpx; 311 + margin-top: calc(var(--status-bar-height) + 100rpx);;
308 } 312 }
309 313
310 .nav-wrap .navigator { 314 .nav-wrap .navigator {
1 <template> 1 <template>
2 <view class="content"> 2 <view class="content">
3 <view class='navhead flextwo searchnav'> 3 <view class='navhead flextwo searchnav'>
4 - <view class="navheadleft"> 4 + <!-- <view class="navheadleft">
5 <view class="yourow"> 5 <view class="yourow">
6 <image src="../../static/zuorow.png" mode=""></image> 6 <image src="../../static/zuorow.png" mode=""></image>
7 </view> 7 </view>
8 8
9 - </view> 9 + </view> -->
10 <view class="navmiddle flexone"> 10 <view class="navmiddle flexone">
11 <view class="middleleft"> 11 <view class="middleleft">
12 <image src="../../static/search.png" mode=""></image> 12 <image src="../../static/search.png" mode=""></image>
@@ -2,214 +2,297 @@ @@ -2,214 +2,297 @@
2 <view class="page"> 2 <view class="page">
3 <view class="boxb"> 3 <view class="boxb">
4 <view class="container"> 4 <view class="container">
5 - <view class="bitem">  
6 - <view class="couponleft">  
7 - <!-- <image src="../../static/.png" mode=""></image> --> 5 + <view class="bitem flexone" @click="item.is_get==0?'':selcoupon(item)" :class="item.is_get==1?'borderactive':''" v-for="(item,index) in couponlist" :key="index">
  6 + <view class="couponleft" v-if="item.is_get==1">
  7 + <image src="../../static/cartnosel.png" mode=""></image>
  8 + </view>
  9 + <view class="couponleft" v-else >
  10 + <image src="../../static/cartnosel.png" mode=""></image>
8 </view> 11 </view>
9 <view class="couponright"> 12 <view class="couponright">
10 <view class="top"> 13 <view class="top">
11 - <view class="price">¥1</view> 14 + <view class="price" :class="item.is_get==1?'wordacticve':''">¥1</view>
12 <view class="right"> 15 <view class="right">
13 <view class="bname"> 16 <view class="bname">
14 - <text>抵用卷</text> 17 + <text :class="item.is_get==1?'wordacticve':''">抵用卷</text>
15 <!-- <text>待使用</text> --> 18 <!-- <text>待使用</text> -->
16 </view> 19 </view>
17 - <view class="tips">满6元可用</view> 20 + <view class="tips" :class="item.is_get==1?'wordacticve':''">{{item.name}}</view>
18 </view> 21 </view>
19 </view> 22 </view>
20 - <view class="btime">  
21 - 有效期至:2019-10-10 19:30:30 23 + <view class="btime" :class="item.is_get==1?'wordacticve':''">
  24 + 有效期至:{{item.pasttime}}
22 </view> 25 </view>
23 </view> 26 </view>
24 - 27 +
25 </view> 28 </view>
26 - <view class="bitem borderactive">  
27 - <view class="top">  
28 - <view class="price wordacticve">¥1</view>  
29 - <view class="right">  
30 - <view class="bname">  
31 - <text class="wordacticve">抵用卷</text>  
32 - <!-- <text>待使用</text> --> 29 + <!-- <view class="bitem borderactive flexone">
  30 + <view class="couponleft">
  31 + <image src="../../static/cartnosel.png" mode=""></image>
  32 + </view>
  33 + <view class="couponright">
  34 + <view class="top">
  35 + <view class="price wordacticve">¥1</view>
  36 + <view class="right">
  37 + <view class="bname">
  38 + <text class="wordacticve">抵用卷</text>
  39 +
  40 + </view>
  41 + <view class="tips wordacticve">满6元可用</view>
33 </view> 42 </view>
34 - <view class="tips wordacticve">满6元可用</view> 43 + </view>
  44 + <view class="btime wordacticve">
  45 + 有效期至:2019-10-10 19:30:30
35 </view> 46 </view>
36 </view> 47 </view>
37 - <view class="btime wordacticve">  
38 - 有效期至:2019-10-10 19:30:30  
39 - </view> 48 +
40 </view> 49 </view>
  50 + -->
  51 +
41 </view> 52 </view>
42 </view> 53 </view>
43 </view> 54 </view>
44 </template> 55 </template>
45 56
46 <script> 57 <script>
  58 + import app from "../../App.vue";
47 export default { 59 export default {
48 data() { 60 data() {
49 return { 61 return {
50 - 62 + page:1,
  63 + couponlist:[]
51 } 64 }
52 }, 65 },
  66 + onLoad() {
  67 + this.getcoupon()
  68 + },
53 methods: { 69 methods: {
  70 + // 获取优惠券
  71 + getcoupon() {
  72 + let that = this;
  73 +
  74 + var url = 'user_ticket/get_user_ticket';
  75 + var params = {
  76 + is_get: '',
  77 + type:1,
  78 + page:that.page,
  79 + pageNum:10
  80 +
  81 + }
  82 + console.log(params)
  83 + app.post(url, params, "post").then((res) => {
  84 + console.log(res);
  85 + that.couponlist=that.couponlist.concat(res.data.data)
  86 +
  87 + }).catch((err) => {
  88 + console.log(err)
  89 +
  90 + })
  91 + },
  92 + //选择优惠券
  93 + selcoupon(item){
  94 + console.log(item);
  95 + uni.setStorageSync("couponitem",item);
  96 + uni.navigateBack({
  97 + checked:true
  98 + })
  99 + }
  100 + },
  101 + onReachBottom() {
  102 + let newpage=this.page;
  103 + newpage++;
  104 + this.page=newpage;
  105 + this.getcoupon()
54 106
55 } 107 }
56 } 108 }
57 </script> 109 </script>
58 110
59 <style> 111 <style>
60 - page{ 112 + page {
61 background: #F7F7F7; 113 background: #F7F7F7;
62 } 114 }
63 - .navbox{ 115 +
  116 + .couponleft {
  117 + width: 24rpx;
  118 + height: 24rpx;
  119 + font-size: 0;
  120 + margin-right: 29rpx;
  121 + }
  122 +
  123 + .navbox {
64 height: 88rpx; 124 height: 88rpx;
65 background: #fff; 125 background: #fff;
66 display: flex; 126 display: flex;
67 } 127 }
68 - .navitem{ 128 +
  129 + .navitem {
69 width: 50%; 130 width: 50%;
70 height: 100%; 131 height: 100%;
71 - font-size:32rpx;  
72 - font-family:PingFangSC-Regular,PingFang SC;  
73 - font-weight:400;  
74 - color:rgba(35,35,35,1); 132 + font-size: 32rpx;
  133 + font-family: PingFangSC-Regular, PingFang SC;
  134 + font-weight: 400;
  135 + color: rgba(35, 35, 35, 1);
75 display: flex; 136 display: flex;
76 align-items: center; 137 align-items: center;
77 justify-content: center; 138 justify-content: center;
78 } 139 }
79 - .boxa{ 140 +
  141 + .boxa {
80 margin-top: 16rpx; 142 margin-top: 16rpx;
81 background: #fff; 143 background: #fff;
82 overflow: hidden; 144 overflow: hidden;
83 padding: 0 36rpx; 145 padding: 0 36rpx;
84 box-sizing: border-box; 146 box-sizing: border-box;
85 } 147 }
86 - .aitem{ 148 +
  149 + .aitem {
87 height: 150rpx; 150 height: 150rpx;
88 border-bottom: 1px solid #FEFEFE; 151 border-bottom: 1px solid #FEFEFE;
89 display: flex; 152 display: flex;
90 align-items: center; 153 align-items: center;
91 justify-content: space-between; 154 justify-content: space-between;
92 } 155 }
93 - .left{ 156 +
  157 + .left {
94 width: 340rpx; 158 width: 340rpx;
95 } 159 }
96 - .left .name{  
97 - font-size:32rpx;  
98 - font-family:PingFangSC-Medium,PingFang SC;  
99 - font-weight:500;  
100 - color:rgba(35,35,35,1);  
101 - }  
102 - .left .time{  
103 - font-size:24rpx;  
104 - font-family:PingFangSC-Medium,PingFang SC;  
105 - font-weight:500;  
106 - color:rgba(91,94,100,1); 160 +
  161 + .left .name {
  162 + font-size: 32rpx;
  163 + font-family: PingFangSC-Medium, PingFang SC;
  164 + font-weight: 500;
  165 + color: rgba(35, 35, 35, 1);
  166 + }
  167 +
  168 + .left .time {
  169 + font-size: 24rpx;
  170 + font-family: PingFangSC-Medium, PingFang SC;
  171 + font-weight: 500;
  172 + color: rgba(91, 94, 100, 1);
107 margin-top: 8rpx; 173 margin-top: 8rpx;
108 } 174 }
109 - .btn{  
110 - width:160rpx;  
111 - height:64rpx;  
112 - border-radius:8rpx;  
113 - border:1px solid rgba(255,148,23,1);  
114 - font-size:24rpx;  
115 - font-family:PingFangSC-Regular,PingFang SC;  
116 - font-weight:400;  
117 - color:rgba(255,148,23,1); 175 +
  176 + .btn {
  177 + width: 160rpx;
  178 + height: 64rpx;
  179 + border-radius: 8rpx;
  180 + border: 1px solid rgba(255, 148, 23, 1);
  181 + font-size: 24rpx;
  182 + font-family: PingFangSC-Regular, PingFang SC;
  183 + font-weight: 400;
  184 + color: rgba(255, 148, 23, 1);
118 display: flex; 185 display: flex;
119 align-items: center; 186 align-items: center;
120 justify-content: center; 187 justify-content: center;
121 } 188 }
122 - .activeA{ 189 +
  190 + .activeA {
123 color: #BDC4CE; 191 color: #BDC4CE;
124 border-color: #BDC4CE; 192 border-color: #BDC4CE;
125 } 193 }
126 - .boxb{ 194 +
  195 + .boxb {
127 padding: 0 32rpx; 196 padding: 0 32rpx;
128 box-sizing: border-box; 197 box-sizing: border-box;
129 } 198 }
130 - .xnavbox{ 199 +
  200 + .xnavbox {
131 display: flex; 201 display: flex;
132 align-items: center; 202 align-items: center;
133 justify-content: space-between; 203 justify-content: space-between;
134 margin-top: 16rpx; 204 margin-top: 16rpx;
135 } 205 }
136 - .xnavitem{  
137 - width:212rpx;  
138 - height:62rpx;  
139 - font-size:28rpx;  
140 - font-family:PingFangSC-Regular,PingFang SC;  
141 - font-weight:400;  
142 - color:rgba(61,69,76,1); 206 +
  207 + .xnavitem {
  208 + width: 212rpx;
  209 + height: 62rpx;
  210 + font-size: 28rpx;
  211 + font-family: PingFangSC-Regular, PingFang SC;
  212 + font-weight: 400;
  213 + color: rgba(61, 69, 76, 1);
143 display: flex; 214 display: flex;
144 align-items: center; 215 align-items: center;
145 justify-content: center; 216 justify-content: center;
146 background: #fff; 217 background: #fff;
147 } 218 }
148 - .xactive{ 219 +
  220 + .xactive {
149 background: #C29445; 221 background: #C29445;
150 color: #fff; 222 color: #fff;
151 } 223 }
152 - .container{ 224 +
  225 + .container {
153 margin-top: 12rpx; 226 margin-top: 12rpx;
154 } 227 }
155 - .bitem{ 228 +
  229 + .bitem {
156 margin-top: 16rpx; 230 margin-top: 16rpx;
157 border-left: 8rpx solid #C29445; 231 border-left: 8rpx solid #C29445;
158 padding: 40rpx 32rpx 20rpx; 232 padding: 40rpx 32rpx 20rpx;
159 box-sizing: border-box; 233 box-sizing: border-box;
160 background: #fff; 234 background: #fff;
161 } 235 }
162 - .top{ 236 +
  237 + .top {
163 height: 156rpx; 238 height: 156rpx;
164 border-bottom: 1px solid #EEEEEE; 239 border-bottom: 1px solid #EEEEEE;
165 display: flex; 240 display: flex;
166 align-items: center; 241 align-items: center;
167 } 242 }
168 - .price{  
169 - font-size:72rpx;  
170 - font-family:PingFangSC-Medium,PingFang SC;  
171 - font-weight:500;  
172 - color:rgba(194,148,69,1); 243 +
  244 + .price {
  245 + font-size: 72rpx;
  246 + font-family: PingFangSC-Medium, PingFang SC;
  247 + font-weight: 500;
  248 + color: rgba(194, 148, 69, 1);
173 margin-right: 32rpx; 249 margin-right: 32rpx;
174 } 250 }
175 - .right{ 251 +
  252 + .right {
176 width: 100%; 253 width: 100%;
177 } 254 }
178 - .bname{ 255 +
  256 + .bname {
179 width: 100%; 257 width: 100%;
180 display: flex; 258 display: flex;
181 align-items: center; 259 align-items: center;
182 justify-content: space-between; 260 justify-content: space-between;
183 - font-size:28rpx;  
184 - font-family:PingFangSC-Regular,PingFang SC;  
185 - font-weight:400;  
186 - color:rgba(91,94,100,1);  
187 - }  
188 - .bname text:first-child{  
189 - font-size:36rpx;  
190 - font-family:PingFangSC-Medium,PingFang SC;  
191 - font-weight:600;  
192 - color:rgba(6,18,32,1);  
193 - }  
194 - .tips{  
195 - font-size:32rpx;  
196 - font-family:PingFangSC-Regular,PingFang SC;  
197 - font-weight:400;  
198 - color:rgba(61,68,76,1); 261 + font-size: 28rpx;
  262 + font-family: PingFangSC-Regular, PingFang SC;
  263 + font-weight: 400;
  264 + color: rgba(91, 94, 100, 1);
  265 + }
  266 +
  267 + .bname text:first-child {
  268 + font-size: 36rpx;
  269 + font-family: PingFangSC-Medium, PingFang SC;
  270 + font-weight: 600;
  271 + color: rgba(6, 18, 32, 1);
  272 + }
  273 +
  274 + .tips {
  275 + font-size: 32rpx;
  276 + font-family: PingFangSC-Regular, PingFang SC;
  277 + font-weight: 400;
  278 + color: rgba(61, 68, 76, 1);
199 margin-top: 16rpx; 279 margin-top: 16rpx;
200 } 280 }
201 - .btime{  
202 - font-size:28rpx;  
203 - font-family:PingFangSC-Regular,PingFang SC;  
204 - font-weight:400;  
205 - color:rgba(61,69,76,1); 281 +
  282 + .btime {
  283 + font-size: 28rpx;
  284 + font-family: PingFangSC-Regular, PingFang SC;
  285 + font-weight: 400;
  286 + color: rgba(61, 69, 76, 1);
206 margin-top: 40rpx; 287 margin-top: 40rpx;
207 } 288 }
208 - .borderactive{ 289 +
  290 + .borderactive {
209 border-color: #BDC4CE; 291 border-color: #BDC4CE;
210 } 292 }
211 - .wordacticve{  
212 - font-weight:500 !important;  
213 - color:rgba(189,196,206,1) !important; 293 +
  294 + .wordacticve {
  295 + font-weight: 500 !important;
  296 + color: rgba(189, 196, 206, 1) !important;
214 } 297 }
215 </style> 298 </style>
@@ -172,7 +172,6 @@ @@ -172,7 +172,6 @@
172 </view> 172 </view>
173 <view class="deliveryname dikouname"> 173 <view class="deliveryname dikouname">
174 <input type="text" value="" placeholder="请输入抵扣积分" placeholder-class="dikouinput" @input="enterjifen"/> 174 <input type="text" value="" placeholder="请输入抵扣积分" placeholder-class="dikouinput" @input="enterjifen"/>
175 -  
176 </view> 175 </view>
177 </view> 176 </view>
178 <!-- <view class="delivery flextwo markcontent"> 177 <!-- <view class="delivery flextwo markcontent">
@@ -186,32 +185,37 @@ @@ -186,32 +185,37 @@
186 </view> --> 185 </view> -->
187 </view> 186 </view>
188 </view> 187 </view>
189 - <!-- <view class="delivery markcontent">  
190 - <view class="deliveryitem flextwo">  
191 - <view class='deliveryitemname'>商品金额</view>  
192 - <view class='deliveryitemname moneyright'>¥2600.00</view>  
193 - </view>  
194 - <view class="deliveryitem flextwo">  
195 - <view class='deliveryitemname'>积分抵扣</view>  
196 - <view class='deliveryitemname moneyright'>¥2600.00</view>  
197 - </view>  
198 - <view class="deliveryitem flextwo">  
199 - <view class='deliveryitemname'>优惠券</view>  
200 - <view class='deliveryitemname moneyright'>¥2600.00</view>  
201 - </view>  
202 - <view class="deliveryitem flextwo">  
203 - <view class='deliveryitemname'>运费</view>  
204 - <view class='deliveryitemname moneyright'>¥2600.00</view> 188 +
  189 + <view class="delivery markcontent markcontentk peibox">
  190 + <view class="deliveryitem flextwo">
  191 + <view class='deliveryitemname'>商品金额</view>
  192 + <view class='deliveryitemname moneyright'>¥2600.00</view>
  193 + </view>
  194 + <view class="deliveryitem flextwo">
  195 + <view class='deliveryitemname'>积分抵扣</view>
  196 + <view class='deliveryitemname moneyright'>¥2600.00</view>
  197 + </view>
  198 + <view class="deliveryitem flextwo">
  199 + <view class='deliveryitemname'>优惠券</view>
  200 + <view class='deliveryitemname moneyright'>¥2600.00</view>
  201 + </view>
  202 + <view class="deliveryitem flextwo">
  203 + <view class='deliveryitemname'>运费</view>
  204 + <view class='deliveryitemname moneyright'>¥2600.00</view>
  205 + </view>
  206 + </view>
  207 + <view class="delivery peidelivery markcontentk flextwo peiboxk">
  208 + <view class="deliveryleft">配送服务</view>
  209 + <view class="deliverymoney">¥2560.00</view>
205 </view> 210 </view>
206 - </view>  
207 - <view class="delivery peidelivery flextwo">  
208 - <view class="deliveryleft">配送服务</view>  
209 - <view class="deliverymoney">¥2560.00</view>  
210 - </view> 211 +
  212 +
  213 +
  214 +
211 <view class="huiyuanbot boxsizing"> 215 <view class="huiyuanbot boxsizing">
212 <view class="behuiyuanbtn">确认支付</view> 216 <view class="behuiyuanbtn">确认支付</view>
213 </view> 217 </view>
214 - --> 218 +
215 <!-- 购买弹层 --> 219 <!-- 购买弹层 -->
216 <view class="register" @click="hidebuy" v-if="buyshow"> 220 <view class="register" @click="hidebuy" v-if="buyshow">
217 <view class="buywrap boxsizing"> 221 <view class="buywrap boxsizing">
@@ -304,7 +308,8 @@ @@ -304,7 +308,8 @@
304 ], 308 ],
305 mianpeiname:'请选择配送方式', 309 mianpeiname:'请选择配送方式',
306 jifen:'', 310 jifen:'',
307 - couponname:'请选择优惠券' 311 + couponname:'请选择优惠券',
  312 +
308 // data1 面坊 data2 积分 data3 店铺 313 // data1 面坊 data2 积分 data3 店铺
309 } 314 }
310 }, 315 },
@@ -371,7 +376,14 @@ @@ -371,7 +376,14 @@
371 376
372 }, 377 },
373 onShow() { 378 onShow() {
374 - this.addressitem = uni.getStorageSync("addressitem"); 379 + if(uni.getStorageSync("addressitem")!=''){
  380 + this.addressitem = uni.getStorageSync("addressitem");
  381 + }
  382 + if(uni.getStorageSync("addressitem")!=''){
  383 + let couponitem = uni.getStorageSync("couponitem");
  384 + this.couponname=couponitem.name
  385 + }
  386 +
375 console.log(this.addressitem) 387 console.log(this.addressitem)
376 388
377 } 389 }
@@ -9,9 +9,15 @@ @@ -9,9 +9,15 @@
9 </view> 9 </view>
10 <view class="address">{{item.province_name}}{{item.city_name}}{{item.county_name}}{{item.address}}</view> 10 <view class="address">{{item.province_name}}{{item.city_name}}{{item.county_name}}{{item.address}}</view>
11 </view> 11 </view>
12 - <view class="right" @click.stop="editaddress(item)">  
13 - <image src="../../static/edit.png" mode="widthFix" /> 12 + <view class="flexone">
  13 + <view class="delimg" @click.stop="deleteaddress(item)">
  14 + <image src="../../static/del.png" mode=""></image>
  15 + </view>
  16 + <view class="right" @click.stop="editaddress(item)">
  17 + <image src="../../static/edit.png" mode="widthFix" />
  18 + </view>
14 </view> 19 </view>
  20 +
15 </view> 21 </view>
16 </view> 22 </view>
17 <view class="btn" @click="addaddress">新增收货地址</view> 23 <view class="btn" @click="addaddress">新增收货地址</view>
@@ -58,6 +64,37 @@ @@ -58,6 +64,37 @@
58 64
59 }) 65 })
60 }, 66 },
  67 + // 删除地址
  68 + deleteaddress(item){
  69 + uni.showModal({
  70 + title: '提示',
  71 + content: '是否删除该地址',
  72 + success: function (res) {
  73 + if (res.confirm) {
  74 + let that = this;
  75 +
  76 + var url = 'user_address/delete';
  77 + var params = {
  78 + user_address_id:item.id
  79 +
  80 + }
  81 + console.log(params)
  82 + app.post(url, params, "post").then((res) => {
  83 + uni.showTotast({
  84 + title:'删除成功',
  85 + icon:'none'
  86 + })
  87 +
  88 + }).catch((err) => {
  89 + console.log(err)
  90 +
  91 + })
  92 + } else if (res.cancel) {
  93 + console.log('用户点击取消');
  94 + }
  95 + }
  96 + });
  97 + },
61 // 选择地址 98 // 选择地址
62 selectaddress(item) { 99 selectaddress(item) {
63 100
@@ -113,6 +150,12 @@ @@ -113,6 +150,12 @@
113 padding: 0 32rpx; 150 padding: 0 32rpx;
114 box-sizing: border-box; 151 box-sizing: border-box;
115 } 152 }
  153 + .delimg{
  154 + width:32rpx;
  155 + height:32rpx;
  156 + font-size: 0;
  157 + margin-right:10rpx;
  158 + }
116 159
117 .item { 160 .item {
118 padding: 34rpx 0; 161 padding: 34rpx 0;
@@ -166,7 +209,7 @@ @@ -166,7 +209,7 @@
166 } 209 }
167 210
168 .right { 211 .right {
169 - width: 168rpx; 212 + width: 90rpx;
170 font-size: 28rpx; 213 font-size: 28rpx;
171 font-family: PingFangHK-Regular, PingFangHK; 214 font-family: PingFangHK-Regular, PingFangHK;
172 font-weight: 400; 215 font-weight: 400;
1 1
2 var isReady=false;var onReadyCallbacks=[]; 2 var isReady=false;var onReadyCallbacks=[];
3 var __uniConfig = {"pages":["pages/homepage/homepage","pages/nearshop/selectcoupon","pages/nearshop/cartbox","pages/login/loginindex","pages/nearshop/cartlist","pages/homepage/collectshop","pages/luntan/examineresult","pages/luntan/examintext","pages/luntan/examine","pages/nearshop/sureorder","pages/login/accountpassword","pages/login/registercode","pages/homepage/mygift","pages/homepage/drawlottery","pages/login/finishregister","pages/homepage/miaosha","pages/luntan/luntan","pages/luntan/addcontract","pages/luntan/luntandetail","pages/luntan/luntandetailsecond","pages/luntan/luntanlist","pages/luntan/luntanpage","pages/nearshop/goodtail","pages/nearshop/shopdetail","pages/usercenter/companyshenhe","pages/usercenter/usercenter","pages/nearshop/nearshop","pages/homepage/goodkind","pages/homepage/jifenshop","pages/homepage/shoplist","pages/homepage/search","pages/login/xieyi","pages/login/setmima","pages/login/register","pages/login/forgetmima","pages/index/index","pages/usercenter/setPassword","pages/usercenter/accountDetails","pages/usercenter/recharge","pages/usercenter/transferAccounts","pages/usercenter/transferDetails","pages/usercenter/cashOut","pages/usercenter/account","pages/usercenter/withdrawalsRecord","pages/usercenter/addCard","pages/usercenter/editCard","pages/usercenter/myCredit","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/sales","pages/usercenter/myAchievement","pages/usercenter/myCustomer","pages/usercenter/my","pages/usercenter/wallet","pages/usercenter/setUp","pages/usercenter/setUp","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/sales","pages/usercenter/personalData","pages/usercenter/address","pages/usercenter/addAddress","pages/usercenter/myCredit","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/myAchievement","pages/usercenter/myCustomer"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"zhongmian","compilerVersion":"2.6.11","entryPagePath":"pages/homepage/homepage","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}}; 3 var __uniConfig = {"pages":["pages/homepage/homepage","pages/nearshop/selectcoupon","pages/nearshop/cartbox","pages/login/loginindex","pages/nearshop/cartlist","pages/homepage/collectshop","pages/luntan/examineresult","pages/luntan/examintext","pages/luntan/examine","pages/nearshop/sureorder","pages/login/accountpassword","pages/login/registercode","pages/homepage/mygift","pages/homepage/drawlottery","pages/login/finishregister","pages/homepage/miaosha","pages/luntan/luntan","pages/luntan/addcontract","pages/luntan/luntandetail","pages/luntan/luntandetailsecond","pages/luntan/luntanlist","pages/luntan/luntanpage","pages/nearshop/goodtail","pages/nearshop/shopdetail","pages/usercenter/companyshenhe","pages/usercenter/usercenter","pages/nearshop/nearshop","pages/homepage/goodkind","pages/homepage/jifenshop","pages/homepage/shoplist","pages/homepage/search","pages/login/xieyi","pages/login/setmima","pages/login/register","pages/login/forgetmima","pages/index/index","pages/usercenter/setPassword","pages/usercenter/accountDetails","pages/usercenter/recharge","pages/usercenter/transferAccounts","pages/usercenter/transferDetails","pages/usercenter/cashOut","pages/usercenter/account","pages/usercenter/withdrawalsRecord","pages/usercenter/addCard","pages/usercenter/editCard","pages/usercenter/myCredit","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/sales","pages/usercenter/myAchievement","pages/usercenter/myCustomer","pages/usercenter/my","pages/usercenter/wallet","pages/usercenter/setUp","pages/usercenter/setUp","pages/usercenter/myIntegral","pages/usercenter/myCoupon","pages/usercenter/myPublish","pages/usercenter/sales","pages/usercenter/personalData","pages/usercenter/address","pages/usercenter/addAddress","pages/usercenter/myCredit","pages/usercenter/myOrder","pages/usercenter/shopEvaluate","pages/usercenter/myAchievement","pages/usercenter/myCustomer"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"zhongmian","compilerVersion":"2.6.11","entryPagePath":"pages/homepage/homepage","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
4 -var __uniRoutes = [{"path":"/pages/homepage/homepage","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/nearshop/selectcoupon","meta":{},"window":{"navigationBarTitleText":"选择优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartbox","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/loginindex","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartlist","meta":{},"window":{"navigationBarTitleText":"购物车","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/collectshop","meta":{},"window":{"navigationBarTitleText":"店铺收藏","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examineresult","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examintext","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examine","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/sureorder","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/accountpassword","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/registercode","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/mygift","meta":{},"window":{"navigationBarTitleText":"我的奖品","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/drawlottery","meta":{},"window":{"navigationBarTitleText":"抽奖专区","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/finishregister","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/miaosha","meta":{},"window":{"navigationBarTitleText":"秒杀商城","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","titleNView":{"titleSize":"12"}}},{"path":"/pages/luntan/luntan","meta":{},"window":{"navigationBarTitleText":"论坛","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/addcontract","meta":{},"window":{"navigationBarTitleText":"添加合同","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetail","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetailsecond","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanlist","meta":{},"window":{"navigationBarTitleText":"帖子列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanpage","meta":{},"window":{"navigationBarTitleText":"个人主页","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/goodtail","meta":{},"window":{"navigationBarTitleText":"商品详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/shopdetail","meta":{},"window":{"navigationBarTitleText":"店铺详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/companyshenhe","meta":{},"window":{"navigationBarTitleText":"企业会员申请","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/usercenter","meta":{},"window":{"navigationBarTitleText":"会员中心","navigationBarBackgroundColor":"#ECCB90","navigationBarTextStyle":"white"}},{"path":"/pages/nearshop/nearshop","meta":{},"window":{"navigationBarTitleText":"附近店铺","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/goodkind","meta":{},"window":{"navigationBarTitleText":"商品分类","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/jifenshop","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/shoplist","meta":{},"window":{"navigationBarTitleText":"商品列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/search","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"white","titleNView":{"type":"transparent","searchInput":{"backgroundColor":"#fff","borderRadius":"6px","placeholder":"请输入搜索内容","disabled":false,"align":"left"},"buttons":[{"float":"right","fontSize":"12","text":"搜索"}]}}},{"path":"/pages/login/xieyi","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/setmima","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/register","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/forgetmima","meta":{},"window":{"navigationBarTitleText":"重置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/usercenter/setPassword","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/accountDetails","meta":{},"window":{"navigationBarTitleText":"账户明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/recharge","meta":{},"window":{"navigationBarTitleText":"充值","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferAccounts","meta":{},"window":{"navigationBarTitleText":"转账","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferDetails","meta":{},"window":{"navigationBarTitleText":"转账详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cashOut","meta":{},"window":{"navigationBarTitleText":"提现","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/account","meta":{},"window":{"navigationBarTitleText":"选择到账账户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/withdrawalsRecord","meta":{},"window":{"navigationBarTitleText":"提现记录","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addCard","meta":{},"window":{"navigationBarTitleText":"添加银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/editCard","meta":{},"window":{"navigationBarTitleText":"编辑银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCredit","meta":{},"window":{"navigationBarTitleText":"我的赊吧","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myIntegral","meta":{},"window":{"navigationBarTitleText":"我的积分","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCoupon","meta":{},"window":{"navigationBarTitleText":"我的优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myPublish","meta":{},"window":{"navigationBarTitleText":"我的发布","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myOrder","meta":{},"window":{"navigationBarTitleText":"我的订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/shopEvaluate","meta":{},"window":{"navigationBarTitleText":"商品评价","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/sales","meta":{},"window":{"navigationBarTitleText":"销售管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myAchievement","meta":{},"window":{"navigationBarTitleText":"我的业绩","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCustomer","meta":{},"window":{"navigationBarTitleText":"我的客户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/my","meta":{},"window":{"navigationBarTitleText":"我的","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/wallet","meta":{},"window":{"navigationBarTitleText":"我的钱包","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white"}},{"path":"/pages/usercenter/setUp","meta":{},"window":{"navigationBarTitleText":"设置","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/personalData","meta":{},"window":{"navigationBarTitleText":"个人资料","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/address","meta":{},"window":{"navigationBarTitleText":"地址管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addAddress","meta":{},"window":{"navigationBarTitleText":"新增收货地址","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}}]; 4 +var __uniRoutes = [{"path":"/pages/homepage/homepage","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/nearshop/selectcoupon","meta":{},"window":{"navigationBarTitleText":"选择优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartbox","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/loginindex","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/cartlist","meta":{},"window":{"navigationBarTitleText":"购物车","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/collectshop","meta":{},"window":{"navigationBarTitleText":"店铺收藏","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examineresult","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examintext","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/examine","meta":{},"window":{"navigationBarTitleText":"等级考试","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/sureorder","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/accountpassword","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/registercode","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/mygift","meta":{},"window":{"navigationBarTitleText":"我的奖品","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/drawlottery","meta":{},"window":{"navigationBarTitleText":"抽奖专区","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/finishregister","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/miaosha","meta":{},"window":{"navigationBarTitleText":"秒杀商城","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white","titleNView":{"titleSize":"12"}}},{"path":"/pages/luntan/luntan","meta":{},"window":{"navigationBarTitleText":"论坛","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black","navigationStyle":"custom","bounce":"none"}},{"path":"/pages/luntan/addcontract","meta":{},"window":{"navigationBarTitleText":"添加合同","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetail","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntandetailsecond","meta":{},"window":{"navigationBarTitleText":"帖子详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanlist","meta":{},"window":{"navigationBarTitleText":"帖子列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/luntan/luntanpage","meta":{},"window":{"navigationBarTitleText":"个人主页","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/goodtail","meta":{},"window":{"navigationBarTitleText":"商品详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/nearshop/shopdetail","meta":{},"window":{"navigationBarTitleText":"店铺详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/companyshenhe","meta":{},"window":{"navigationBarTitleText":"企业会员申请","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/usercenter","meta":{},"window":{"navigationBarTitleText":"会员中心","navigationBarBackgroundColor":"#ECCB90","navigationBarTextStyle":"white"}},{"path":"/pages/nearshop/nearshop","meta":{},"window":{"navigationBarTitleText":"附近店铺","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/goodkind","meta":{},"window":{"navigationBarTitleText":"商品分类","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/jifenshop","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/shoplist","meta":{},"window":{"navigationBarTitleText":"商品列表","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/homepage/search","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"white","titleNView":{"type":"transparent","searchInput":{"backgroundColor":"#fff","borderRadius":"6px","placeholder":"请输入搜索内容","disabled":false,"align":"left"},"buttons":[{"float":"right","fontSize":"12","text":"搜索"}]}}},{"path":"/pages/login/xieyi","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/setmima","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/register","meta":{},"window":{"navigationBarTitleText":"注册","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/login/forgetmima","meta":{},"window":{"navigationBarTitleText":"重置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/usercenter/setPassword","meta":{},"window":{"navigationBarTitleText":"设置密码","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/accountDetails","meta":{},"window":{"navigationBarTitleText":"账户明细","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/recharge","meta":{},"window":{"navigationBarTitleText":"充值","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferAccounts","meta":{},"window":{"navigationBarTitleText":"转账","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/transferDetails","meta":{},"window":{"navigationBarTitleText":"转账详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/cashOut","meta":{},"window":{"navigationBarTitleText":"提现","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/account","meta":{},"window":{"navigationBarTitleText":"选择到账账户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/withdrawalsRecord","meta":{},"window":{"navigationBarTitleText":"提现记录","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addCard","meta":{},"window":{"navigationBarTitleText":"添加银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/editCard","meta":{},"window":{"navigationBarTitleText":"编辑银行卡","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCredit","meta":{},"window":{"navigationBarTitleText":"我的赊吧","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myIntegral","meta":{},"window":{"navigationBarTitleText":"我的积分","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCoupon","meta":{},"window":{"navigationBarTitleText":"我的优惠券","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myPublish","meta":{},"window":{"navigationBarTitleText":"我的发布","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myOrder","meta":{},"window":{"navigationBarTitleText":"我的订单","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/shopEvaluate","meta":{},"window":{"navigationBarTitleText":"商品评价","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/sales","meta":{},"window":{"navigationBarTitleText":"销售管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myAchievement","meta":{},"window":{"navigationBarTitleText":"我的业绩","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/myCustomer","meta":{},"window":{"navigationBarTitleText":"我的客户","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/my","meta":{},"window":{"navigationBarTitleText":"我的","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/wallet","meta":{},"window":{"navigationBarTitleText":"我的钱包","navigationBarBackgroundColor":"#C29445","navigationBarTextStyle":"white"}},{"path":"/pages/usercenter/setUp","meta":{},"window":{"navigationBarTitleText":"设置","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/personalData","meta":{},"window":{"navigationBarTitleText":"个人资料","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/address","meta":{},"window":{"navigationBarTitleText":"地址管理","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}},{"path":"/pages/usercenter/addAddress","meta":{},"window":{"navigationBarTitleText":"新增收货地址","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"black"}}];
5 __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); 5 __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
6 service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}}); 6 service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});