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({