Authored by 阿达

修复计时js bug

... ... @@ -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')) {
... ...
... ... @@ -26,7 +26,7 @@
{{#if unpaid}}
<div class="order-opt">
<ul class="count-down">
<ul class="count-down hide">
<li>
<span class="iconfont count-down-icon">&#xe64a;</span>
</li>
... ...