优化:我的页面展示账号头像昵称

This commit is contained in:
2026-10-10 17:04:03 +08:00
parent d511070fc7
commit 9148bdb027
6 changed files with 79 additions and 16 deletions
+6 -3
View File
@@ -1,10 +1,13 @@
<view class="page">
<view class="card profile-card">
<view class="profile-main">
<view class="shop-logo">指</view>
<view class="account-avatar">
<image wx:if="{{profileCard.avatar}}" src="{{profileCard.avatar}}" mode="aspectFill"></image>
<text wx:else>{{profileCard.avatarText}}</text>
</view>
<view class="profile-copy">
<text class="shop-name">{{shopName}}</text>
<text class="phone">{{phone}}</text>
<text class="profile-name">{{profileCard.nickname}}</text>
<text class="profile-shop">{{profileCard.shopName}}</text>
</view>
</view>
<text class="role-badge">{{roleText}}</text>