Commit 620f449d14c3e9361ff08c2c5db52b38a25fd927
1 parent
00becdb9
优化
Showing
10 changed files
with
159 additions
and
42 deletions
packageA/pages/goodsInfo/goodsInfo.js
@@ -1799,8 +1799,14 @@ Page({ | @@ -1799,8 +1799,14 @@ Page({ | ||
1799 | }else{ //分类下搜索 | 1799 | }else{ //分类下搜索 |
1800 | let sec_i=this.data.sec_i | 1800 | let sec_i=this.data.sec_i |
1801 | let all_sto = this.data.all_sto | 1801 | let all_sto = this.data.all_sto |
1802 | + let old_all_sto = this.data.old_all_sto | ||
1803 | + if (!old_all_sto) { | ||
1804 | + this.setData({ | ||
1805 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
1806 | + }) | ||
1807 | + } | ||
1802 | let sec_sto= this.data.sec_sto | 1808 | let sec_sto= this.data.sec_sto |
1803 | - let sec_arr = sec_sto.s_arr | 1809 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
1804 | let keyword = this.data.keyword | 1810 | let keyword = this.data.keyword |
1805 | let text='sec_sto.s_arr' | 1811 | let text='sec_sto.s_arr' |
1806 | if (keyword) { | 1812 | if (keyword) { |
@@ -1824,9 +1830,15 @@ Page({ | @@ -1824,9 +1830,15 @@ Page({ | ||
1824 | }) | 1830 | }) |
1825 | } | 1831 | } |
1826 | }else{ | 1832 | }else{ |
1827 | - this.setData({ | ||
1828 | - [text]:all_sto[sec_i].s_arr | ||
1829 | - }) | 1833 | + if(this.data.old_all_sto){ |
1834 | + this.setData({ | ||
1835 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
1836 | + }) | ||
1837 | + }else{ | ||
1838 | + this.setData({ | ||
1839 | + [text]: all_sto[sec_i].s_arr | ||
1840 | + }) | ||
1841 | + } | ||
1830 | } | 1842 | } |
1831 | 1843 | ||
1832 | 1844 | ||
@@ -2652,6 +2664,9 @@ Page({ | @@ -2652,6 +2664,9 @@ Page({ | ||
2652 | 2664 | ||
2653 | // 选择门店 | 2665 | // 选择门店 |
2654 | choice_store: function(ee) { | 2666 | choice_store: function(ee) { |
2667 | + this.setData({ | ||
2668 | + keyword:'' | ||
2669 | + }) | ||
2655 | var th = this; | 2670 | var th = this; |
2656 | var ind=ee.currentTarget.dataset.ind; | 2671 | var ind=ee.currentTarget.dataset.ind; |
2657 | var bconfig = th.data.bconfig; | 2672 | var bconfig = th.data.bconfig; |
@@ -2796,6 +2811,7 @@ Page({ | @@ -2796,6 +2811,7 @@ Page({ | ||
2796 | sort_store: 0, | 2811 | sort_store: 0, |
2797 | choice_sort_store: 1, | 2812 | choice_sort_store: 1, |
2798 | sec_sto: item, | 2813 | sec_sto: item, |
2814 | + sec_i:index, | ||
2799 | sec_pick_index: 0 | 2815 | sec_pick_index: 0 |
2800 | }); | 2816 | }); |
2801 | }, | 2817 | }, |
packageA/pages/goodsInfo/goodsInfo.wxss
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
@@ -3333,8 +3333,14 @@ Page({ | @@ -3333,8 +3333,14 @@ Page({ | ||
3333 | }else{ //分类下搜索 | 3333 | }else{ //分类下搜索 |
3334 | let sec_i=this.data.sec_i | 3334 | let sec_i=this.data.sec_i |
3335 | let all_sto = this.data.all_sto | 3335 | let all_sto = this.data.all_sto |
3336 | + let old_all_sto = this.data.old_all_sto | ||
3337 | + if (!old_all_sto) { | ||
3338 | + this.setData({ | ||
3339 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
3340 | + }) | ||
3341 | + } | ||
3336 | let sec_sto= this.data.sec_sto | 3342 | let sec_sto= this.data.sec_sto |
3337 | - let sec_arr = sec_sto.s_arr | 3343 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
3338 | let keyword = this.data.keyword | 3344 | let keyword = this.data.keyword |
3339 | let text='sec_sto.s_arr' | 3345 | let text='sec_sto.s_arr' |
3340 | if (keyword) { | 3346 | if (keyword) { |
@@ -3358,9 +3364,15 @@ Page({ | @@ -3358,9 +3364,15 @@ Page({ | ||
3358 | }) | 3364 | }) |
3359 | } | 3365 | } |
3360 | }else{ | 3366 | }else{ |
3361 | - this.setData({ | ||
3362 | - [text]:all_sto[sec_i].s_arr | ||
3363 | - }) | 3367 | + if(this.data.old_all_sto){ |
3368 | + this.setData({ | ||
3369 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
3370 | + }) | ||
3371 | + }else{ | ||
3372 | + this.setData({ | ||
3373 | + [text]: all_sto[sec_i].s_arr | ||
3374 | + }) | ||
3375 | + } | ||
3364 | } | 3376 | } |
3365 | 3377 | ||
3366 | 3378 | ||
@@ -5875,7 +5887,9 @@ Page({ | @@ -5875,7 +5887,9 @@ Page({ | ||
5875 | 5887 | ||
5876 | // 选择门店 | 5888 | // 选择门店 |
5877 | choice_store: function (ee) { | 5889 | choice_store: function (ee) { |
5878 | - | 5890 | + this.setData({ |
5891 | + keyword:'' | ||
5892 | + }) | ||
5879 | //--先判断会员状态-- | 5893 | //--先判断会员状态-- |
5880 | var user_info = getApp().globalData.userInfo; | 5894 | var user_info = getApp().globalData.userInfo; |
5881 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | 5895 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxss
@@ -2500,10 +2500,10 @@ bottom: 0; | @@ -2500,10 +2500,10 @@ bottom: 0; | ||
2500 | } | 2500 | } |
2501 | .store-list{ | 2501 | .store-list{ |
2502 | width: 95%; | 2502 | width: 95%; |
2503 | - min-height: 300rpx; | 2503 | + min-height: 610rpx; |
2504 | overflow-y: scroll; | 2504 | overflow-y: scroll; |
2505 | margin: auto; | 2505 | margin: auto; |
2506 | - max-height: 610rpx; | 2506 | + max-height: 700rpx; |
2507 | } | 2507 | } |
2508 | .store-list .store_choose{ | 2508 | .store-list .store_choose{ |
2509 | width: 100%; | 2509 | width: 100%; |
@@ -2573,7 +2573,8 @@ line-height: 38rpx; | @@ -2573,7 +2573,8 @@ line-height: 38rpx; | ||
2573 | } | 2573 | } |
2574 | /* 门店分类列表 */ | 2574 | /* 门店分类列表 */ |
2575 | .sort_store_list{ | 2575 | .sort_store_list{ |
2576 | - max-height: 700rpx; | 2576 | + /* max-height: 700rpx; */ |
2577 | + min-height: 700rpx; | ||
2577 | overflow: hidden; | 2578 | overflow: hidden; |
2578 | overflow-y: scroll; | 2579 | overflow-y: scroll; |
2579 | width: 95%; | 2580 | width: 95%; |
packageC/pages/presell/goodsInfo/goodsInfo.js
@@ -2065,8 +2065,14 @@ Page({ | @@ -2065,8 +2065,14 @@ Page({ | ||
2065 | }else{ //分类下搜索 | 2065 | }else{ //分类下搜索 |
2066 | let sec_i=this.data.sec_i | 2066 | let sec_i=this.data.sec_i |
2067 | let all_sto = this.data.all_sto | 2067 | let all_sto = this.data.all_sto |
2068 | + let old_all_sto = this.data.old_all_sto | ||
2069 | + if (!old_all_sto) { | ||
2070 | + this.setData({ | ||
2071 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
2072 | + }) | ||
2073 | + } | ||
2068 | let sec_sto= this.data.sec_sto | 2074 | let sec_sto= this.data.sec_sto |
2069 | - let sec_arr = sec_sto.s_arr | 2075 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
2070 | let keyword = this.data.keyword | 2076 | let keyword = this.data.keyword |
2071 | let text='sec_sto.s_arr' | 2077 | let text='sec_sto.s_arr' |
2072 | if (keyword) { | 2078 | if (keyword) { |
@@ -2090,9 +2096,15 @@ Page({ | @@ -2090,9 +2096,15 @@ Page({ | ||
2090 | }) | 2096 | }) |
2091 | } | 2097 | } |
2092 | }else{ | 2098 | }else{ |
2093 | - this.setData({ | ||
2094 | - [text]:all_sto[sec_i].s_arr | ||
2095 | - }) | 2099 | + if(this.data.old_all_sto){ |
2100 | + this.setData({ | ||
2101 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
2102 | + }) | ||
2103 | + }else{ | ||
2104 | + this.setData({ | ||
2105 | + [text]: all_sto[sec_i].s_arr | ||
2106 | + }) | ||
2107 | + } | ||
2096 | } | 2108 | } |
2097 | 2109 | ||
2098 | 2110 | ||
@@ -3819,7 +3831,9 @@ Page({ | @@ -3819,7 +3831,9 @@ Page({ | ||
3819 | }, | 3831 | }, |
3820 | // 选择门店 | 3832 | // 选择门店 |
3821 | choice_store: function (ee) { | 3833 | choice_store: function (ee) { |
3822 | - | 3834 | + this.setData({ |
3835 | + keyword:'' | ||
3836 | + }) | ||
3823 | //--先判断会员状态-- | 3837 | //--先判断会员状态-- |
3824 | var user_info = getApp().globalData.userInfo; | 3838 | var user_info = getApp().globalData.userInfo; |
3825 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | 3839 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |
packageE/pages/user/monthgiftbag/giftpackbuy/giftpackbuy.js
@@ -236,8 +236,14 @@ Page({ | @@ -236,8 +236,14 @@ Page({ | ||
236 | }else{ //分类下搜索 | 236 | }else{ //分类下搜索 |
237 | let sec_i=this.data.sec_i | 237 | let sec_i=this.data.sec_i |
238 | let all_sto = this.data.all_sto | 238 | let all_sto = this.data.all_sto |
239 | + let old_all_sto = this.data.old_all_sto | ||
240 | + if (!old_all_sto) { | ||
241 | + this.setData({ | ||
242 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
243 | + }) | ||
244 | + } | ||
239 | let sec_sto= this.data.sec_sto | 245 | let sec_sto= this.data.sec_sto |
240 | - let sec_arr = sec_sto.s_arr | 246 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
241 | let keyword = this.data.keyword | 247 | let keyword = this.data.keyword |
242 | let text='sec_sto.s_arr' | 248 | let text='sec_sto.s_arr' |
243 | if (keyword) { | 249 | if (keyword) { |
@@ -261,9 +267,15 @@ Page({ | @@ -261,9 +267,15 @@ Page({ | ||
261 | }) | 267 | }) |
262 | } | 268 | } |
263 | }else{ | 269 | }else{ |
264 | - this.setData({ | ||
265 | - [text]:all_sto[sec_i].s_arr | ||
266 | - }) | 270 | + if(this.data.old_all_sto){ |
271 | + this.setData({ | ||
272 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
273 | + }) | ||
274 | + }else{ | ||
275 | + this.setData({ | ||
276 | + [text]: all_sto[sec_i].s_arr | ||
277 | + }) | ||
278 | + } | ||
267 | } | 279 | } |
268 | 280 | ||
269 | 281 | ||
@@ -514,6 +526,9 @@ Page({ | @@ -514,6 +526,9 @@ Page({ | ||
514 | }, | 526 | }, |
515 | // 选择门店 | 527 | // 选择门店 |
516 | choice_store: function (ee) { | 528 | choice_store: function (ee) { |
529 | + this.setData({ | ||
530 | + keyword:'' | ||
531 | + }) | ||
517 | //--先判断会员状态-- | 532 | //--先判断会员状态-- |
518 | var user_info = getApp().globalData.userInfo; | 533 | var user_info = getApp().globalData.userInfo; |
519 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | 534 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |
packageE/pages/user/monthgiftbag/giftpackinfo/giftpackinfo.js
@@ -1014,8 +1014,14 @@ Page({ | @@ -1014,8 +1014,14 @@ Page({ | ||
1014 | }else{ //分类下搜索 | 1014 | }else{ //分类下搜索 |
1015 | let sec_i=this.data.sec_i | 1015 | let sec_i=this.data.sec_i |
1016 | let all_sto = this.data.all_sto | 1016 | let all_sto = this.data.all_sto |
1017 | + let old_all_sto = this.data.old_all_sto | ||
1018 | + if (!old_all_sto) { | ||
1019 | + this.setData({ | ||
1020 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
1021 | + }) | ||
1022 | + } | ||
1017 | let sec_sto= this.data.sec_sto | 1023 | let sec_sto= this.data.sec_sto |
1018 | - let sec_arr = sec_sto.s_arr | 1024 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
1019 | let keyword = this.data.keyword | 1025 | let keyword = this.data.keyword |
1020 | let text='sec_sto.s_arr' | 1026 | let text='sec_sto.s_arr' |
1021 | if (keyword) { | 1027 | if (keyword) { |
@@ -1039,9 +1045,15 @@ Page({ | @@ -1039,9 +1045,15 @@ Page({ | ||
1039 | }) | 1045 | }) |
1040 | } | 1046 | } |
1041 | }else{ | 1047 | }else{ |
1042 | - this.setData({ | ||
1043 | - [text]:all_sto[sec_i].s_arr | ||
1044 | - }) | 1048 | + if(this.data.old_all_sto){ |
1049 | + this.setData({ | ||
1050 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
1051 | + }) | ||
1052 | + }else{ | ||
1053 | + this.setData({ | ||
1054 | + [text]: all_sto[sec_i].s_arr | ||
1055 | + }) | ||
1056 | + } | ||
1045 | } | 1057 | } |
1046 | 1058 | ||
1047 | 1059 | ||
@@ -1104,7 +1116,9 @@ Page({ | @@ -1104,7 +1116,9 @@ Page({ | ||
1104 | }, | 1116 | }, |
1105 | // 选择门店 | 1117 | // 选择门店 |
1106 | choice_store: function (ee) { | 1118 | choice_store: function (ee) { |
1107 | - | 1119 | + this.setData({ |
1120 | + keyword:'' | ||
1121 | + }) | ||
1108 | //--先判断会员状态-- | 1122 | //--先判断会员状态-- |
1109 | var user_info = getApp().globalData.userInfo; | 1123 | var user_info = getApp().globalData.userInfo; |
1110 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | 1124 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |
pages/giftpack/buygiftpack/giftpackbuy.js
@@ -62,7 +62,7 @@ Page({ | @@ -62,7 +62,7 @@ Page({ | ||
62 | is_gps: 1, | 62 | is_gps: 1, |
63 | open_ind_store: 0, //哪里打开的门店列表的控制属性 | 63 | open_ind_store: 0, //哪里打开的门店列表的控制属性 |
64 | default_store: {}, //创建添加默认门店地址的对象 | 64 | default_store: {}, //创建添加默认门店地址的对象 |
65 | - | 65 | + old_all_sto:null, |
66 | store:0, | 66 | store:0, |
67 | openSpecModal:0, | 67 | openSpecModal:0, |
68 | 68 | ||
@@ -223,8 +223,14 @@ Page({ | @@ -223,8 +223,14 @@ Page({ | ||
223 | }else{ //分类下搜索 | 223 | }else{ //分类下搜索 |
224 | let sec_i=this.data.sec_i | 224 | let sec_i=this.data.sec_i |
225 | let all_sto = this.data.all_sto | 225 | let all_sto = this.data.all_sto |
226 | + let old_all_sto = this.data.old_all_sto | ||
227 | + if (!old_all_sto) { | ||
228 | + this.setData({ | ||
229 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
230 | + }) | ||
231 | + } | ||
226 | let sec_sto= this.data.sec_sto | 232 | let sec_sto= this.data.sec_sto |
227 | - let sec_arr = sec_sto.s_arr | 233 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
228 | let keyword = this.data.keyword | 234 | let keyword = this.data.keyword |
229 | let text='sec_sto.s_arr' | 235 | let text='sec_sto.s_arr' |
230 | if (keyword) { | 236 | if (keyword) { |
@@ -248,9 +254,15 @@ Page({ | @@ -248,9 +254,15 @@ Page({ | ||
248 | }) | 254 | }) |
249 | } | 255 | } |
250 | }else{ | 256 | }else{ |
251 | - this.setData({ | ||
252 | - [text]:all_sto[sec_i].s_arr | ||
253 | - }) | 257 | + if(this.data.old_all_sto){ |
258 | + this.setData({ | ||
259 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
260 | + }) | ||
261 | + }else{ | ||
262 | + this.setData({ | ||
263 | + [text]: all_sto[sec_i].s_arr | ||
264 | + }) | ||
265 | + } | ||
254 | } | 266 | } |
255 | 267 | ||
256 | 268 | ||
@@ -485,6 +497,9 @@ Page({ | @@ -485,6 +497,9 @@ Page({ | ||
485 | }, | 497 | }, |
486 | // 选择门店 | 498 | // 选择门店 |
487 | choice_store: function (ee) { | 499 | choice_store: function (ee) { |
500 | + this.setData({ | ||
501 | + keyword:'' | ||
502 | + }) | ||
488 | //--先判断会员状态-- | 503 | //--先判断会员状态-- |
489 | var user_info = getApp().globalData.userInfo; | 504 | var user_info = getApp().globalData.userInfo; |
490 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | 505 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |
pages/giftpack/giftpacklist/giftpacklist.js
@@ -238,8 +238,14 @@ Page({ | @@ -238,8 +238,14 @@ Page({ | ||
238 | }else{ //分类下搜索 | 238 | }else{ //分类下搜索 |
239 | let sec_i=this.data.sec_i | 239 | let sec_i=this.data.sec_i |
240 | let all_sto = this.data.all_sto | 240 | let all_sto = this.data.all_sto |
241 | + let old_all_sto = this.data.old_all_sto | ||
242 | + if (!old_all_sto) { | ||
243 | + this.setData({ | ||
244 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
245 | + }) | ||
246 | + } | ||
241 | let sec_sto= this.data.sec_sto | 247 | let sec_sto= this.data.sec_sto |
242 | - let sec_arr = sec_sto.s_arr | 248 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
243 | let keyword = this.data.keyword | 249 | let keyword = this.data.keyword |
244 | let text='sec_sto.s_arr' | 250 | let text='sec_sto.s_arr' |
245 | if (keyword) { | 251 | if (keyword) { |
@@ -263,9 +269,15 @@ Page({ | @@ -263,9 +269,15 @@ Page({ | ||
263 | }) | 269 | }) |
264 | } | 270 | } |
265 | }else{ | 271 | }else{ |
266 | - this.setData({ | ||
267 | - [text]:all_sto[sec_i].s_arr | ||
268 | - }) | 272 | + if(this.data.old_all_sto){ |
273 | + this.setData({ | ||
274 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
275 | + }) | ||
276 | + }else{ | ||
277 | + this.setData({ | ||
278 | + [text]: all_sto[sec_i].s_arr | ||
279 | + }) | ||
280 | + } | ||
269 | } | 281 | } |
270 | 282 | ||
271 | 283 | ||
@@ -779,7 +791,9 @@ Page({ | @@ -779,7 +791,9 @@ Page({ | ||
779 | }, | 791 | }, |
780 | // 选择门店 | 792 | // 选择门店 |
781 | choice_store: function (ee) { | 793 | choice_store: function (ee) { |
782 | - | 794 | + this.setData({ |
795 | + keyword:'' | ||
796 | + }) | ||
783 | //--先判断会员状态-- | 797 | //--先判断会员状态-- |
784 | var user_info = getApp().globalData.userInfo; | 798 | var user_info = getApp().globalData.userInfo; |
785 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | 799 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |
pages/goods/goodsInfo/goodsInfo.js
@@ -3742,8 +3742,14 @@ Page({ | @@ -3742,8 +3742,14 @@ Page({ | ||
3742 | } else { //分类下搜索 | 3742 | } else { //分类下搜索 |
3743 | let sec_i = this.data.sec_i | 3743 | let sec_i = this.data.sec_i |
3744 | let all_sto = this.data.all_sto | 3744 | let all_sto = this.data.all_sto |
3745 | + let old_all_sto = this.data.old_all_sto | ||
3746 | + if (!old_all_sto) { | ||
3747 | + this.setData({ | ||
3748 | + old_all_sto:JSON.parse(JSON.stringify(all_sto)) | ||
3749 | + }) | ||
3750 | + } | ||
3745 | let sec_sto = this.data.sec_sto | 3751 | let sec_sto = this.data.sec_sto |
3746 | - let sec_arr = sec_sto.s_arr | 3752 | + let sec_arr = this.data.old_all_sto[sec_i].s_arr |
3747 | let keyword = this.data.keyword | 3753 | let keyword = this.data.keyword |
3748 | let text = 'sec_sto.s_arr' | 3754 | let text = 'sec_sto.s_arr' |
3749 | if (keyword) { | 3755 | if (keyword) { |
@@ -3767,9 +3773,15 @@ Page({ | @@ -3767,9 +3773,15 @@ Page({ | ||
3767 | }) | 3773 | }) |
3768 | } | 3774 | } |
3769 | } else { | 3775 | } else { |
3770 | - this.setData({ | ||
3771 | - [text]: all_sto[sec_i].s_arr | ||
3772 | - }) | 3776 | + if(this.data.old_all_sto){ |
3777 | + this.setData({ | ||
3778 | + [text]: this.data.old_all_sto[sec_i].s_arr | ||
3779 | + }) | ||
3780 | + }else{ | ||
3781 | + this.setData({ | ||
3782 | + [text]: all_sto[sec_i].s_arr | ||
3783 | + }) | ||
3784 | + } | ||
3773 | } | 3785 | } |
3774 | 3786 | ||
3775 | 3787 | ||
@@ -6852,7 +6864,9 @@ Page({ | @@ -6852,7 +6864,9 @@ Page({ | ||
6852 | var th = this; | 6864 | var th = this; |
6853 | var ind = ee.currentTarget.dataset.ind; | 6865 | var ind = ee.currentTarget.dataset.ind; |
6854 | var bconfig = th.data.bconfig; | 6866 | var bconfig = th.data.bconfig; |
6855 | - | 6867 | + this.setData({ |
6868 | + keyword:'' | ||
6869 | + }) | ||
6856 | //--先判断会员状态-- | 6870 | //--先判断会员状态-- |
6857 | var user_info = getApp().globalData.userInfo; | 6871 | var user_info = getApp().globalData.userInfo; |
6858 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | 6872 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |