From ecbc73e2a8ad1d253d8ccc630cd0c5e1c79cf47e Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Sun, 16 Jun 2024 17:37:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=92=E6=9D=80=E6=97=B6=E9=97=B4=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/detail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 49ed287..7a9a56c 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -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 = []