未登录时个人信息状态

This commit is contained in:
WindowBird 2025-09-01 13:50:02 +08:00
parent cd09d15379
commit cf63e790db

View File

@ -12,7 +12,7 @@
mode="aspectFill"
/>
<text v-else class="avatar-text"
>{{ userInfo.nickName ? userInfo.nickName.charAt(0) : '' }}
>{{ userInfo.nickName ? userInfo.nickName.charAt(0) : '' }}
</text>
</view>
<view class="user-info">
@ -23,7 +23,7 @@
<view v-else style="padding: 30rpx"></view>
</view>
<view class="user-details">
<text class="user-name">{{ userInfo.nickName || '昵称' }}</text>
<text class="user-name">{{ userInfo.nickName || '未登录' }}</text>
<view class="settings-icon" @click="goToSettings">
<image :src="commonEnum.SET" class="settings-img" mode="aspectFit" />