...
|
...
|
@@ -78,8 +78,8 @@ function convertTime(time) { |
|
|
s = Math.floor(time / aSecond % 60);
|
|
|
|
|
|
showTime += d > 0 ? d + '天' : '';
|
|
|
showTime += h > 0 ? h + '小时' : '';
|
|
|
showTime += m > 0 ? m + '分钟' : '';
|
|
|
showTime += h > 0 ? h + '时' : '';
|
|
|
showTime += m > 0 ? m + '分' : '';
|
|
|
showTime += s > 0 ? s + '秒' : '';
|
|
|
}
|
|
|
|
...
|
...
|
@@ -112,7 +112,7 @@ function setPageTime() { |
|
|
if (('.sale-discount-page').length > 0) {
|
|
|
|
|
|
$('.time-calculate').each(function() {
|
|
|
var data = $(this).attr('data');
|
|
|
var data = $(this).attr('data')*1000;
|
|
|
|
|
|
if (data) {
|
|
|
limitTime.push({
|
...
|
...
|
|