...
|
...
|
@@ -73,7 +73,7 @@ function downCount(item) { |
|
|
|
|
|
difference -= 1000;
|
|
|
|
|
|
if (difference < 0) {
|
|
|
if (difference <= 0) {
|
|
|
clearInterval(interval);// stop timer
|
|
|
return;
|
|
|
}
|
...
|
...
|
@@ -86,7 +86,7 @@ function downCount(item) { |
|
|
// 初始化时间
|
|
|
function setTime() {
|
|
|
|
|
|
$('.orders').each(function() {
|
|
|
$('.order').each(function() {
|
|
|
var item = $(this).find('.count-down');
|
|
|
|
|
|
if (!$(this).hasClass('hide')) {
|
...
|
...
|
|