bug修复

This commit is contained in:
2024-04-24 21:53:31 +08:00
parent bfc04c54aa
commit bb9a32d296
9 changed files with 158 additions and 22 deletions

View File

@@ -16,7 +16,7 @@
<view class='user-info-card' @click.stop='goPath("/pages/mine/index")'>
<image class='user-avatar' :src='userInfo.image||defaultAvatar' mode='aspectFill' />
<text class='user-name primary-text-color'>{{ userInfo?.nickName || '未登录' }}</text>
<text class='user-name primary-text-color'>{{ userInfo?.nickName || '未登录未登录未登录未登录未登录未登录未登录未登录未登录未登录' }}</text>
<view class='integral-view primary-text-color' @click.stop='goPath("/pages/mine/subs/integral/index")'>
<text>{{ userInfo?.integration || 0 }}</text>
<text>积分</text>
@@ -34,12 +34,12 @@
<view class='menu-view'>
<view @click.stop='goPath("/pages/mine/subs/recharge/index")'>
<image :src='assetsUrl("ic_member_card.png")' style='width: 108rpx;height: 72rpx;padding: 11rpx 0' />
<image :src='assetsUrl("ic_member_card2.png")' style='width: 108rpx;height: 72rpx;padding: 11rpx 0' />
<text>会员充值</text>
</view>
<view class='divider' style='margin: 0;height: 153rpx' />
<view @click.stop='goPath("/pages/mine/subs/coupon/index")'>
<image :src='assetsUrl("ic_coupon.png")' style='width: 108rpx;height: 95rpx' />
<image :src='assetsUrl("ic_coupon2.png")' style='width: 108rpx;height: 95rpx' />
<text>优惠券</text>
</view>
</view>
@@ -80,17 +80,17 @@ const currentBannerIndex = ref(0);
const submenuList = [
{
title: '注册有礼',
icon: assetsUrl('ic_register_gift.png'),
icon: assetsUrl('ic_register_gift2.png'),
path: '/pages/common/register/index'
},
{
title: '团购秒杀',
icon: assetsUrl('ic_groupbuy.png'),
icon: assetsUrl('ic_groupbuy2.png'),
path: '/pages/common/groupbuy/index'
},
{
title: '入群有礼',
icon: assetsUrl('ic_group_gift.png'),
icon: assetsUrl('ic_group_gift2.png'),
path: '/pages/home/subs/group/join'
}
];
@@ -252,6 +252,10 @@ const swiperChange = (e: any) => {
font-size: 30rpx;
font-weight: bold;
margin-left: 16rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-right: 20rpx;
}
.integral-view {