商城-首页
parent
dd3c95971d
commit
b10de0ca81
|
@ -24,7 +24,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="right" v-if="!vip.integral">
|
<view class="right" v-if="vip.integral">
|
||||||
<view class="up" @tap="goEquity">
|
<view class="up" @tap="goEquity">
|
||||||
<image style="width: ;" src="@/static/images/shop/vip_oneStar.png" mode=""></image>
|
<image style="width: ;" src="@/static/images/shop/vip_oneStar.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
|
@ -32,11 +32,11 @@
|
||||||
<view class="button" @tap="goEquity">查看权益</view>
|
<view class="button" @tap="goEquity">查看权益</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="right" v-else>
|
<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>
|
<image style="width: ;" src="@/static/images/shop/vip_oneStar.png" mode=""></image>
|
||||||
</view>
|
</view>
|
||||||
<text>会员等级0级</text>
|
<text>会员等级0级</text>
|
||||||
<view class="button">申请会员</view>
|
<view class="button" @tap="goEquity">申请会员</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -47,6 +47,7 @@
|
||||||
height="100%"
|
height="100%"
|
||||||
radius="20rpx"
|
radius="20rpx"
|
||||||
bgColor="transparent"
|
bgColor="transparent"
|
||||||
|
@click="goUrl"
|
||||||
></u-swiper>
|
></u-swiper>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -359,10 +360,20 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
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(){
|
goEquity(){
|
||||||
console.log('goEmember_equity')
|
console.log('goEmember_equity')
|
||||||
uni.navigateTo({
|
uni.switchTab({
|
||||||
url:'/pages/member_equity/index'
|
url:'/pages/member_equity/index'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue