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
9e084fac74197c699323aef80c814110aeafe4a0
1 parent
23eae975
yohood原价购
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
pages/zeroSell/components/yohoodLottery/action-bar.js
pages/zeroSell/components/yohoodLottery/product-detail-header.js
pages/zeroSell/components/yohoodLottery/action-bar.js
View file @
9e084fa
...
...
@@ -86,10 +86,7 @@ Component({
this
.
commonService
=
new
CommonService
();
const
timeId
=
setInterval
(()
=>
{
if
(
this
.
data
.
isStart
)
{
const
changeStatusTimeId
=
setTimeout
(()
=>
{
this
.
triggerEvent
(
'changeStatus'
);
clearTimeout
(
changeStatusTimeId
)
});
this
.
triggerEvent
(
'changeStatus'
);
clearInterval
(
timeId
);
}
const
fomartTimes
=
fomartCountdownTime
({
...
...
pages/zeroSell/components/yohoodLottery/product-detail-header.js
View file @
9e084fa
...
...
@@ -37,10 +37,7 @@ Component({
ready
:
function
()
{
const
timeId
=
setInterval
(()
=>
{
if
(
this
.
data
.
isEnd
)
{
const
changeStatusTimeId
=
setTimeout
(()
=>
{
this
.
triggerEvent
(
'changeStatus'
);
clearTimeout
(
changeStatusTimeId
)
});
this
.
triggerEvent
(
'changeStatus'
);
clearInterval
(
timeId
);
}
const
formatTimeList
=
this
.
formatCountDown
();
...
...
Please
register
or
login
to post a comment