|
@@ -3,7 +3,7 @@
|
|
|
<view class="pb-120">
|
|
|
<view class="text-center" :class="vip ? 'vipBox' : 'avatarBox'" @tap="handleTap">
|
|
|
<img :src="getUserAvatar(baseInfo?.avatar, baseInfo?.sex)" alt="" class="img-box">
|
|
|
- <uni-icons class="vipIcon" type="vip-filled" size="45" color="#ffbc00"></uni-icons>
|
|
|
+ <image src="/static/svg/vip.svg" class="vipIcon"></image>
|
|
|
<view v-if="!useUserStore.isLogin" class="font-weight-bold font-size-20">点击登录</view>
|
|
|
<view v-else class="font-weight-bold font-size-20">{{ baseInfo?.name || userInfo?.phone }}</view>
|
|
|
</view>
|
|
@@ -231,6 +231,8 @@ const handleLogoutConfirm = () => {
|
|
|
}
|
|
|
.vipIcon {
|
|
|
position: absolute;
|
|
|
+ width: 45px;
|
|
|
+ height: 45px;
|
|
|
bottom: 24px;
|
|
|
left: 50%;
|
|
|
}
|