diff --git a/yudao-ui-app/pages/index/index.vue b/yudao-ui-app/pages/index/index.vue index 6e2c6dfd6..29b325442 100644 --- a/yudao-ui-app/pages/index/index.vue +++ b/yudao-ui-app/pages/index/index.vue @@ -24,7 +24,7 @@ - + @@ -32,11 +32,11 @@ 查看权益 - + 会员等级0级 - 申请会员 + 申请会员 @@ -47,6 +47,7 @@ height="100%" radius="20rpx" bgColor="transparent" + @click="goUrl" > @@ -359,10 +360,20 @@ }) }, methods: { + + goUrl(e){ + let url = '' + if(this.bannerList[e].url.indexOf('http')>=0){ + url = this.bannerList[e].url + }else{ + url = 'http://' + this.bannerList[e].url + } + window.open(url) + }, // 跳转会员权益 goEquity(){ console.log('goEmember_equity') - uni.navigateTo({ + uni.switchTab({ url:'/pages/member_equity/index' }) },