From ba61e89532cfd9b3c4ffcab167dbf0bc2d9e0d4f Mon Sep 17 00:00:00 2001 From: fanfan Date: Fri, 31 May 2024 15:19:20 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index e20a9e2..25a38ad 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -162,7 +162,7 @@ + @click="handleTargetGoods(item)"> @@ -646,9 +646,9 @@ this.timeData = e }, // 跳转到秒杀商品详情 - handleTargetGoods(sharpGoodsId) { + handleTargetGoods(item) { uni.navigateTo({ - url: '/pages/goods/detail?goodsId=' + sharpGoodsId + "&isSeckill=" + true + '&isBuy=' + this + url: '/pages/goods/seckillDetail?sharpGoodsId=' + item.sharp_goods_id +'&activeTimeId='+this.tabbar[this.curTabIndex].active_time_id+ "&isSeckill=" + true + '&isBuy=' + this .seckillCutDownTime + '&seckillText=' + (this.tabbar[this.curTabIndex].status == 10 ? '结束' : '开始') })