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> <text class="towcontentitemtowetext">VIP{{userInfo.code || '无'}}</text>
</view> </view>
<view class="towcontentitevip"> <view class="towcontentitevip">
VIP{{userInfo.isVip?userInfo.isVip:''}} VIP{{userInfo.isVip||''}}
</view> </view>
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/erweima.png" class="imgStyle" mode="" <image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/erweima.png" class="imgStyle" mode=""
@click=""></image> @click="clickEvent"></image>
</view> </view>
</template> </template>
@ -27,13 +27,15 @@
return {} return {}
}, },
mounted() { mounted() {
console.log(this.userInfo,'调试1113') console.log(this.userInfo, '调试1113')
}, },
methods: { methods: {
clickEvent() { clickEvent() {
uni.navigateTo({ if (this.userInfo.amount) {
url: '/pages/pay_code/pay_code?shopInfo='+JSON.stringify(this.userInfo) uni.navigateTo({
}) url: '/pages/pay_code/pay_code?shopInfo=' + JSON.stringify(this.userInfo)
})
}
} }
} }
} }