Browse Source

更新profile页面

pull/1/head
徐飞洋 3 months ago
parent
commit
a9f0f6df55
  1. 12
      pages/profile/index.wxml

12
pages/profile/index.wxml

@ -6,20 +6,14 @@
style="width: 100rpx; height: 100rpx; border-radius: 50%; margin-right: 20rpx;"
></image>
<view>
<view style="font-size: 32rpx; font-weight: bold;">{{userInfo.nickName || '未登录'}}</view>
<view style="font-size: 32rpx; font-weight: bold;">{{userInfo.phoneNumber|| '未登录'}}</view>
<view style="font-size: 26rpx; color: #666;">当前身份: {{userType || '未设置'}}</view>
<view style="font-size: 26rpx; color: #666;">
手机号: {{userInfo.phoneNumber || '未绑定'}}
</view>
</view>
</view>
<button
class="edit-btn"
bindtap="onEditNickName"
style="background-color: #1677ff; color: white; padding: 10rpx 20rpx; border-radius: 20rpx; font-size: 26rpx;"
>
修改名称
</button>
</view>
<!-- 手机号授权按钮 -->

Loading…
Cancel
Save