会员卡支付

This commit is contained in:
duan
2024-07-20 09:24:10 +08:00
parent 81f122c9fc
commit 37f0e88add

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)
})
}
} }
} }
} }
@@ -145,7 +147,7 @@
color: #333333; color: #333333;
display: flex; display: flex;
align-items: center; align-items: center;
.towcontentitemtheretext { .towcontentitemtheretext {
font-family: Source Han Sans CN, Source Han Sans CN; font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: bold; font-weight: bold;