Commit 7df24b5997ca3609a9c2bf54453c4e1b317462de
1 parent
1a212bb1
合并到dev
Showing
1 changed file
with
3 additions
and
2 deletions
pages/user/order_list/order_list.js
... | ... | @@ -3065,7 +3065,7 @@ Page({ |
3065 | 3065 | if (e) { |
3066 | 3066 | currentIndex = e.target.dataset.index; |
3067 | 3067 | } else { |
3068 | - currentIndex = this.data.currentIndex | |
3068 | + currentIndex = this.data.tabIndex | |
3069 | 3069 | }; |
3070 | 3070 | |
3071 | 3071 | // let || this.data.tabIndex; |
... | ... | @@ -3076,7 +3076,7 @@ Page({ |
3076 | 3076 | user_id: oo.user_id, |
3077 | 3077 | }; |
3078 | 3078 | this.setData({ |
3079 | - tabIndex: this.data.tabIndex || 0, | |
3079 | + tabIndex: currentIndex, | |
3080 | 3080 | is_no_data2: 0, |
3081 | 3081 | is_no_more2: 0, |
3082 | 3082 | cardList: [], |
... | ... | @@ -3157,6 +3157,7 @@ Page({ |
3157 | 3157 | var pt_act=null; //-- 拼团活动的优化 -- |
3158 | 3158 | |
3159 | 3159 | for (const it of list) { |
3160 | + | |
3160 | 3161 | //秒杀 |
3161 | 3162 | if ([1,2].includes(it.prom_type)) { |
3162 | 3163 | let act_details = null; | ... | ... |