修改代码
This commit is contained in:
@ -53,8 +53,7 @@
|
||||
<!-- 余额显示 -->
|
||||
<view class="mt-16rpx mx-30rpx flex justify-between">
|
||||
<view class="flex items-center">
|
||||
<!-- <view class="w-160rpx text-[#303133] text-center" @click="router.navigateTo('/bundle/coupon/my-coupon')"> -->
|
||||
<view class="w-160rpx text-[#303133] text-center">
|
||||
<view class="w-160rpx text-[#303133] text-center" @click="router.navigateTo('/bundle/coupon/my-coupon')">
|
||||
<view class="font-bold text-36rpx leading-50rpx"> {{ isLogin ? user.coupon_count : '- -' }}</view>
|
||||
<view class="text-24rpx leading-34rpx">优惠券</view>
|
||||
</view>
|
||||
@ -347,6 +346,7 @@
|
||||
if (isLogin.value) {
|
||||
// 获取用户详情信息接口
|
||||
getUserInfo().then(res => {
|
||||
//@ts-ignore
|
||||
user.value = res
|
||||
if (res.member === 1) {
|
||||
isVip.value = true
|
||||
|
||||
Reference in New Issue
Block a user