mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/my/profile.wxml

1 line
3.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="profile-page"><custom-navbar vue-id="57f04267-1" title="个人资料" show-back="{{true}}" bind:__l="__l"></custom-navbar><view class="profile-list"><view class="profile-item"><text class="item-label">头像</text><view data-event-opts="{{[['tap',[['chooseAvatar',['$event']]]]]}}" class="item-content avatar-content" bindtap="__e"><image class="avatar" src="{{!userInfo.head_photo?baseAvartar:userInfo.head_photo}}" mode="aspectFill"></image></view></view><view class="profile-item"><text class="item-label">昵称</text><view class="item-content"><input class="item-value item-inp" type="text" placeholder="未设置" data-event-opts="{{[['input',[['editNickname',['$event']]]]]}}" value="{{userInfo.username}}" bindinput="__e"/></view></view><view data-event-opts="{{[['tap',[['chooseSex',['$event']]]]]}}" class="profile-item" bindtap="__e"><text class="item-label">性别</text><view class="item-content"><text class="item-value">{{userInfo.sex==1?'女':userInfo.sex==2?'男':'未设置'}}</text></view></view><view data-event-opts="{{[['tap',[['chooseLocation',['$event']]]]]}}" class="profile-item" bindtap="__e"><text class="item-label">所在地</text><view class="item-content"><text class="item-value">{{userInfo.dependency||'未设置'}}</text></view></view></view><view data-event-opts="{{[['tap',[['saveProfile',['$event']]]]]}}" class="edit-btn" bindtap="__e"><text class="edit-text">保存</text></view><view class="{{['popup',(showLocationPopupFlag)?'show':'']}}"><view data-event-opts="{{[['tap',[['hideLocationPopup',['$event']]]]]}}" class="popup-mask" bindtap="__e"></view><view class="popup-content"><view class="popup-header"><text class="popup-title">选择所在地</text><text data-event-opts="{{[['tap',[['hideLocationPopup',['$event']]]]]}}" class="popup-close" bindtap="__e">×</text></view><view class="region-body"><picker-view class="picker-scroll" indicator-style="{{indicatorStyle}}" value="{{locationValue}}" data-event-opts="{{[['change',[['bindChangeLocation',['$event']]]]]}}" bindchange="__e"><picker-view-column><block wx:for="{{ChinaCitys}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="picker-item">{{item.province}}</view></block></picker-view-column><picker-view-column><block wx:for="{{locatinCitys}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="picker-item">{{item.city}}</view></block></picker-view-column><picker-view-column><block wx:for="{{locationAreas}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="picker-item">{{item.area}}</view></block></picker-view-column></picker-view></view><view class="popup-footer"><view data-event-opts="{{[['tap',[['hideLocationPopup',['$event']]]]]}}" class="popup-btn cancel" bindtap="__e"><text class="btn-text">取消</text></view><view data-event-opts="{{[['tap',[['confirmLocationSelect',['$event']]]]]}}" class="popup-btn confirm" bindtap="__e"><text class="btn-text">确定</text></view></view></view></view><view class="{{['permission',(isShowPer&&nowQer==='xc')?'transform':'']}}"><view class="per-tit">美融融plus 对储存空间/照片权限申请说明</view><view class="per-cont">便于您使用该功能上传您的照片/图片/视频以及用于更换头像、发布商品等场景中读取相册和文件内容。</view></view><view class="{{['permission',(isShowPer&&nowQer==='xj')?'transform':'']}}"><view class="per-tit">美融融plus 对相机拍摄权限申请说明</view><view class="per-cont">便于您使用该功能上传您的照片/图片/视频以及用于更换头像、发布商品等场景中所需内容。</view></view></view>