...
|
...
|
@@ -73,6 +73,7 @@ Page( |
|
|
lottery: {},
|
|
|
formatTimeList: [],
|
|
|
timeId: null,
|
|
|
isCountdownEnd: false,
|
|
|
},
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -324,6 +325,7 @@ Page( |
|
|
},
|
|
|
|
|
|
_formatCountdownTime(remaining) {
|
|
|
console.log('----------this.data.timeId-----',this.data.timeId)
|
|
|
if (this.data.timeId || !remaining) {
|
|
|
return;
|
|
|
}
|
...
|
...
|
@@ -339,9 +341,12 @@ Page( |
|
|
const data = {
|
|
|
formatTimeList,
|
|
|
timeId,
|
|
|
isCountdownEnd
|
|
|
}
|
|
|
if (isCountdownEnd) {
|
|
|
if (this.data.isCountdownEnd) {
|
|
|
console.log('-------isCountdownEnd----------')
|
|
|
data.timeId = null;
|
|
|
data.isCountdownEnd = false
|
|
|
this.setData(data);
|
|
|
this.changeActionStatus();
|
|
|
clearInterval(timeId);
|
...
|
...
|
|