This commit is contained in:
魏啾 2024-07-20 09:36:11 +08:00
commit b1191261f2
1 changed files with 9 additions and 7 deletions

View File

@ -13,10 +13,10 @@
<text class="towcontentitemtowetext">VIP{{userInfo.code || '无'}}</text>
</view>
<view class="towcontentitevip">
VIP{{userInfo.isVip?userInfo.isVip:''}}
VIP{{userInfo.isVip||''}}
</view>
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/erweima.png" class="imgStyle" mode=""
@click=""></image>
@click="clickEvent"></image>
</view>
</template>
@ -27,13 +27,15 @@
return {}
},
mounted() {
console.log(this.userInfo,'调试1113')
console.log(this.userInfo, '调试1113')
},
methods: {
clickEvent() {
uni.navigateTo({
url: '/pages/pay_code/pay_code?shopInfo='+JSON.stringify(this.userInfo)
})
if (this.userInfo.amount) {
uni.navigateTo({
url: '/pages/pay_code/pay_code?shopInfo=' + JSON.stringify(this.userInfo)
})
}
}
}
}
@ -145,7 +147,7 @@
color: #333333;
display: flex;
align-items: center;
.towcontentitemtheretext {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: bold;