细节修改

version/0412
fanfan 9 months ago
parent 8668b510e5
commit 6d9010a91a
  1. 14
      pages/index/index.vue

@ -805,15 +805,15 @@
}) })
}, },
gotoDetail(index) { 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({ 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) { goDetails(item) {
uni.navigateTo({ uni.navigateTo({

Loading…
Cancel
Save