|
|
|
@ -1009,14 +1009,14 @@ |
|
|
|
|
if (item.sec_start_time) { |
|
|
|
|
that.seckillCountTime = new Date(item.sec_start_time |
|
|
|
|
.replace(/-/g, '/')) |
|
|
|
|
.getTime() - new Date().getTime() |
|
|
|
|
.getTime() + item.sec_hour * 60 * 60 * 1000 - new Date().getTime() |
|
|
|
|
} else { |
|
|
|
|
that.seckillCountTime = 0 |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
that.seckillCountTime = 0 |
|
|
|
|
} |
|
|
|
|
that.seckillCountTime = that.seckillCountTime > 0 ? that.seckillCountTime : 0 |
|
|
|
|
that.seckillCountTime = that.seckillCountTime > 0 && that.seckillCountTime <= item.sec_hour * 60 * 60 * 1000 ? that.seckillCountTime : 0 |
|
|
|
|
that.goods.skuList = []; |
|
|
|
|
that.godds = {} |
|
|
|
|
info.goods_images1 = [] |
|
|
|
|