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>
@ -31,12 +31,14 @@
}, },
methods: { methods: {
clickEvent() { clickEvent() {
if (this.userInfo.amount) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/pay_code/pay_code?shopInfo=' + JSON.stringify(this.userInfo) url: '/pages/pay_code/pay_code?shopInfo=' + JSON.stringify(this.userInfo)
}) })
} }
} }
} }
}
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>