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 ? '结束' : '开始') })