商城-首页

pull/2/head
js199000126 2023-05-26 13:48:55 +08:00
parent dd3c95971d
commit b10de0ca81
1 changed files with 15 additions and 4 deletions

View File

@ -24,7 +24,7 @@
</view>
</view>
</view>
<view class="right" v-if="!vip.integral">
<view class="right" v-if="vip.integral">
<view class="up" @tap="goEquity">
<image style="width: ;" src="@/static/images/shop/vip_oneStar.png" mode=""></image>
</view>
@ -32,11 +32,11 @@
<view class="button" @tap="goEquity"></view>
</view>
<view class="right" v-else>
<view class="up">
<view class="up" @tap="goEquity">
<image style="width: ;" src="@/static/images/shop/vip_oneStar.png" mode=""></image>
</view>
<text>会员等级0级</text>
<view class="button">申请会</view>
<view class="button" @tap="goEquity"></view>
</view>
</view>
</view>
@ -47,6 +47,7 @@
height="100%"
radius="20rpx"
bgColor="transparent"
@click="goUrl"
></u-swiper>
</view>
</view>
@ -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'
})
},