Showing
1 changed file
with
3 additions
and
3 deletions
@@ -78,8 +78,8 @@ function convertTime(time) { | @@ -78,8 +78,8 @@ function convertTime(time) { | ||
78 | s = Math.floor(time / aSecond % 60); | 78 | s = Math.floor(time / aSecond % 60); |
79 | 79 | ||
80 | showTime += d > 0 ? d + '天' : ''; | 80 | showTime += d > 0 ? d + '天' : ''; |
81 | - showTime += h > 0 ? h + '小时' : ''; | ||
82 | - showTime += m > 0 ? m + '分钟' : ''; | 81 | + showTime += h > 0 ? h + '时' : ''; |
82 | + showTime += m > 0 ? m + '分' : ''; | ||
83 | showTime += s > 0 ? s + '秒' : ''; | 83 | showTime += s > 0 ? s + '秒' : ''; |
84 | } | 84 | } |
85 | 85 | ||
@@ -112,7 +112,7 @@ function setPageTime() { | @@ -112,7 +112,7 @@ function setPageTime() { | ||
112 | if (('.sale-discount-page').length > 0) { | 112 | if (('.sale-discount-page').length > 0) { |
113 | 113 | ||
114 | $('.time-calculate').each(function() { | 114 | $('.time-calculate').each(function() { |
115 | - var data = $(this).attr('data'); | 115 | + var data = $(this).attr('data')*1000; |
116 | 116 | ||
117 | if (data) { | 117 | if (data) { |
118 | limitTime.push({ | 118 | limitTime.push({ |
-
Please register or login to post a comment