From 6d9010a91ab561a22ece4393c4d83fc011aeac2a Mon Sep 17 00:00:00 2001 From: fanfan Date: Wed, 6 Mar 2024 21:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 4d8b0c5..1738116 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -805,15 +805,15 @@ }) }, gotoDetail(index) { - if (this.bannerList[index].redirect_url) { + // if (this.bannerList[index].redirect_url) { + // uni.navigateTo({ + // url: '/pages/goods/detail?goodsId=' + this.bannerList[index].redirect_url + // }) + // } else { uni.navigateTo({ - url: '/pages/goods/detail?goodsId=' + this.bannerList[index].redirect_url + url: '/pages/activity/newsshop?activeid=' + this.bannerList[index].redirect_url + '&type=1' }) - } else { - uni.navigateTo({ - url: '/pages/activity/newsshop?activeid=' + this.bannerList[index].id + '&type=1' - }) - } + // } }, goDetails(item) { uni.navigateTo({