feat(home,my): 首页和我的页从缓存回显用户信息
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
90f84cc7df
commit
e25e797b35
@@ -6,14 +6,14 @@
|
||||
<image src="/images/my/bg.png" mode="aspectFit" />
|
||||
</view>
|
||||
|
||||
<view class="user">
|
||||
<view class="userAvatar">张</view>
|
||||
<view class="user" wx:if="{{ userInfo }}">
|
||||
<view class="userAvatar">{{ userInfo.realname[0] }}</view>
|
||||
<view class="userInfo">
|
||||
<view class="userName">陈沐辰</view>
|
||||
<view class="userName">{{ userInfo.realname }}</view>
|
||||
<view class="userSex">
|
||||
<text class="meta-text">男·36岁</text>
|
||||
<text class="meta-text">{{ userInfo.sex_dictText }}·{{ userInfo.age }}岁</text>
|
||||
<text class="meta-divider">|</text>
|
||||
<text class="meta-text">172cm</text>
|
||||
<text class="meta-text">{{ userInfo.height }}cm</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user