Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-luck
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
lea guo
6 years ago
Commit
bd8562eec6db51c84663f7bb569198d98ecc586f
1 parent
47d89dd0
yohood抽奖倒计时
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
pages/zeroSell/originalPriceSell.js
pages/zeroSell/originalPriceSell.js
View file @
bd8562e
...
...
@@ -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
);
...
...
Please
register
or
login
to post a comment