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
@@ -9,11 +9,11 @@
|
||||
<view class="title_2">设备智联 · 掌握健康</view>
|
||||
</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="userSex">男·36岁<text>丨</text>172cm</view>
|
||||
<view class="userName">{{ userInfo.realname }}</view>
|
||||
<view class="userSex">{{ userInfo.sex_dictText }}·{{ userInfo.age }}岁<text>丨</text>{{ userInfo.height }}cm</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user