Showing
1 changed file
with
2 additions
and
1 deletions
@@ -5,6 +5,7 @@ | @@ -5,6 +5,7 @@ | ||
5 | */ | 5 | */ |
6 | 6 | ||
7 | var $ = require('yoho-jquery'), | 7 | var $ = require('yoho-jquery'), |
8 | + tip = require('../plugin/tip'), | ||
8 | seckillObj = {}; | 9 | seckillObj = {}; |
9 | 10 | ||
10 | var timeObj = ''; | 11 | var timeObj = ''; |
@@ -44,7 +45,7 @@ seckillObj = { | @@ -44,7 +45,7 @@ seckillObj = { | ||
44 | $(elem).find('.tick.minute').text(minute < 0 ? '00' : (minute < 10 ? ('0' + minute) : minute)); | 45 | $(elem).find('.tick.minute').text(minute < 0 ? '00' : (minute < 10 ? ('0' + minute) : minute)); |
45 | $(elem).find('.tick.second').text(second < 0 ? '00' : (second < 10 ? ('0' + second) : second)); | 46 | $(elem).find('.tick.second').text(second < 0 ? '00' : (second < 10 ? ('0' + second) : second)); |
46 | if (offsetTime <= 0) { // 结束倒计时刷新状态 | 47 | if (offsetTime <= 0) { // 结束倒计时刷新状态 |
47 | - // that.refreshList(elem); | 48 | + window.location.reload(); |
48 | } else { | 49 | } else { |
49 | $el.currentTick = setTimeout(function() { | 50 | $el.currentTick = setTimeout(function() { |
50 | that.startTick(elem, --offsetTime); | 51 | that.startTick(elem, --offsetTime); |
-
Please register or login to post a comment