diff --git a/pages/joinFrDpell/index.js b/pages/joinFrDpell/index.js index a26c1bc..ee1204f 100644 --- a/pages/joinFrDpell/index.js +++ b/pages/joinFrDpell/index.js @@ -478,7 +478,9 @@ Page({ * 生命周期函数--监听页面隐藏 */ onHide: function () { - + this.setData({ + showTime: false + }) }, /** diff --git a/pages/spellDetail/index.js b/pages/spellDetail/index.js index a114835..e07a332 100644 --- a/pages/spellDetail/index.js +++ b/pages/spellDetail/index.js @@ -221,7 +221,7 @@ Page({ */ onShow: function () { this.setData({ - showTime: false + showTime: true }) if (this.data.data != null&&this.data.data.status ==10) { this.countdown() @@ -232,7 +232,9 @@ Page({ * 生命周期函数--监听页面隐藏 */ onHide: function () { - + this.setData({ + showTime: false + }) }, /** diff --git a/pages/spellGroup/mySpellGroup/index.js b/pages/spellGroup/mySpellGroup/index.js index 9e96ad2..b27e11b 100644 --- a/pages/spellGroup/mySpellGroup/index.js +++ b/pages/spellGroup/mySpellGroup/index.js @@ -461,7 +461,9 @@ Page({ * 生命周期函数--监听页面隐藏 */ onHide: function () { - + this.setData({ + showTime: false + }) }, /**