style: 头像改用性别图片
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
0bf50f7ff4
commit
f8047c3eef
@@ -3,7 +3,9 @@
|
||||
<view class="row row-avatar">
|
||||
<view class="label">头像</view>
|
||||
<view class="value">
|
||||
<view class="avatar">{{ userInfo.avatar }}</view>
|
||||
<view class="avatar">
|
||||
<image src="{{ userInfo.gender === '女' ? '/images/woman.png' : '/images/man.png' }}" mode="aspectFit" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user