Commit 7bc2ef43dbbc76a0d4698313a44a80e88fd53cb0
1 parent
12d5602b
首页新人有礼的弹窗
Showing
1 changed file
with
4 additions
and
1 deletions
pages/index/index/index.js
| @@ -101,7 +101,10 @@ Page({ | @@ -101,7 +101,10 @@ Page({ | ||
| 101 | }, | 101 | }, |
| 102 | async onShow() { | 102 | async onShow() { |
| 103 | var th = this; | 103 | var th = this; |
| 104 | - th.is_new(); | 104 | + var new_nav = th.data.new_nav; |
| 105 | + if (new_nav == "") { | ||
| 106 | + th.is_new(); | ||
| 107 | + } | ||
| 105 | if (getApp().globalData.user_id) getApp().requestCardNum(); | 108 | if (getApp().globalData.user_id) getApp().requestCardNum(); |
| 106 | await this.init_load(); | 109 | await this.init_load(); |
| 107 | //显示的时候要开启计时器 | 110 | //显示的时候要开启计时器 |