This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
weapp
/
C
Watch
8
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
66
Wiki
Activity
Browse Source
小程序隐藏计时器停止
tags/富茂链客4.1.0
刘晖
6 years ago
parent
66d23dea3e
commit
ce20747c7c
3 changed files
with
10 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
pages/joinFrDpell/index.js
+4
-2
pages/spellDetail/index.js
+3
-1
pages/spellGroup/mySpellGroup/index.js
+ 3
- 1
pages/joinFrDpell/index.js
View File
@@ -478,7 +478,9 @@ Page({
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
this.setData({
showTime: false
})
},
/**
+ 4
- 2
pages/spellDetail/index.js
View File
@@ -221,7 +221,7 @@ Page({
*/
onShow: function () {
this.setData({
showTime:
fals
e
showTime:
tru
e
})
if (this.data.data != null&&this.data.data.status ==10) {
this.countdown()
@@ -232,7 +232,9 @@ Page({
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
this.setData({
showTime: false
})
},
/**
+ 3
- 1
pages/spellGroup/mySpellGroup/index.js
View File
@@ -461,7 +461,9 @@ Page({
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
this.setData({
showTime: false
})
},
/**
Write
Preview
Loading…
Cancel
Save