| | |
| | | <view class="itemList"> |
| | | <view class="label">头像</view> |
| | | <view class="contentImg"> |
| | | <t-avatar image="{{defaultAvatarUrl}}" class="user-center-card__header__avatar" /> |
| | | <t-avatar image="{{userInfo.icon}}" class="user-center-card__header__avatar" /> |
| | | </view> |
| | | <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" /> |
| | | <view class="iconEdit" data-info="{{'icon'}}" bindtap="editIconInfo"> |
| | | <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" /> |
| | | </view> |
| | | </view> |
| | | <view class="itemList"> |
| | | <view class="label">用户名</view> |
| | | <view class="content">{{userInfo.fullName || '微信用户'}}</view> |
| | | <view class="content" data-info="{{'nickName'}}" bindtap="editUserInfo">{{userInfo.nickName || '微信用户'}}</view> |
| | | <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" /> |
| | | </view> |
| | | <view class="itemList"> |
| | | <view class="label">手机号码</view> |
| | | <view class="content" data-info="{{'phone'}}" bindtap="editUserInfo">{{userInfo.phoneNumber || '未绑定手机号'}}</view> |
| | | <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" /> |
| | | <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" data-info="{{'phone'}}" bindtap="editUserInfo" /> |
| | | </view> |
| | | <view class="itemList"> |
| | | <view class="label">邮箱</view> |
| | | <view class="content" data-info="{{'email'}}" bindtap="editUserInfo">{{userInfo.Email}}</view> |
| | | <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" /> |
| | | <t-icon name="chevron-right" size="40rpx" color="#C2C2C2" data-info="{{'email'}}" bindtap="editUserInfo" /> |
| | | </view> |
| | | <t-popup visible="{{userInfoBox}}" bind:visible-change="onVisibleChange" placement="bottom"> |
| | | <t-popup visible="{{userInfoBox}}" bind:visible-change="onVisibleChange" placement="center"> |
| | | <view class="block"> |
| | | <view class="body"> |
| | | <view class="from-item" wx:if="{{editType == 'nickName'}}"> |
| | | <view class="label"> 昵称: </view> |
| | | <view class="item-content"> |
| | | <view class="inputBox1"> |
| | | <t-input placeholder="输入昵称" borderless value="{{userInfoForm.nickName}}" bindchange="onNameInput" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="from-item" wx:if="{{editType == 'phone'}}"> |
| | | <view class="label"> 手机号: </view> |
| | | <view class="item-content"> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="from-item"> |
| | | <view class="from-item" wx:if="{{editType !== 'nickName'}}"> |
| | | <view class="label"> 图形验证码: </view> |
| | | <view class="item-content"> |
| | | <view class="inputBox"> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="footer"> |
| | | <button class="submit" bindtap="confirmInfo">确定</button> |
| | | <view class="footer"> |
| | | <button class="submit" bindtap="confirmInfo">确定</button> |
| | | </view> |
| | | <t-icon t-class="close-btn" name="close-circle" size="32" color="#fff" bind:tap="onCloseProtocol" /> |
| | | </view> |
| | | </t-popup> |
| | | </view> |