1 line
3.4 KiB
Plaintext
1 line
3.4 KiB
Plaintext
|
<view class="{{[editRealName&editMobile&editArea&editAddress?'':'pad-b150']}}"><status-nav vue-id="54360644-1" ifReturn="{{true}}" navBarTitle="个人中心" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="ucenter"><view class="item flex"><view class="title">头像</view><view data-event-opts="{{[['tap',[['changeHeadImg',['$event']]]]]}}" class="img" bindtap="__e"><image src="{{headImgUrl}}" mode="widthFix"></image></view></view><view class="item flex"><view class="title">昵称</view><view class="msg">{{nickName}}</view></view><view data-event-opts="{{[['tap',[['openEdit',['real_name']]]]]}}" class="item flex" bindtap="__e"><view class="title">真实姓名</view><input class="msg" type="text" disabled="true" data-event-opts="{{[['input',[['__set_model',['','realName','$event',[]]]]]]}}" value="{{realName}}" bindinput="__e"/><view class="more"><image src="/static/public/icon-my-more.png" mode="widthFix"></image></view></view><view class="item flex" style="position:relative;"><view class="title">联系电话</view><input class="msg" type="number" disabled="true" data-event-opts="{{[['input',[['__set_model',['','mobile','$event',[]]]]]]}}" value="{{mobile}}" bindinput="__e"/><view class="more"><image src="/static/public/icon-my-more.png" mode="widthFix"></image></view><button class="get-phone-btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['onGetPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"></button></view><view data-event-opts="{{[['tap',[['openEdit',['area']]]]]}}" class="item flex" bindtap="__e"><view class="title">联系地址</view><input class="msg" type="text" disabled="true" data-event-opts="{{[['input',[['__set_model',['','area','$event',[]]]]]]}}" value="{{area}}" bindinput="__e"/><view class="more"><image src="/static/public/icon-my-more.png" mode="widthFix"></image></view></view><view data-event-opts="{{[['tap',[['openEdit',['address']]]]]}}" class="item flex" bindtap="__e"><view class="title">详细地址</view><input class="msg" type="text" disabled="true" data-event-opts="{{[['input',[['__set_model',['','address','$event',[]]]]]]}}" value="{{address}}" bindinput="__e"/><view class="more"><image src="/static/public/icon-my-more.png" mode="widthFix"></image></view></view><block wx:if="{{businessCode!==''}}"><view class="item flex"><view class="title">会员码</view><view class="msg">{{businessCode}}</view></view></block></view><view data-event-opts="{{[['tap',[['closeEdit',['$event']]]]]}}" hidden="{{!(isOpen)}}" class="pull-all-bg" bindtap="__e"></view><block wx:if="{{isOpen}}"><view class="edit-box-bg"><view class="edit-box"><view class="title">{{title}}</view><view class="subtitle">{{subtitle}}</view><block wx:if="{{type=='input'}}"><input class="input" type="text" placeholder="{{placeholder}}" placeholder-color="#c9c9c9" data-event-opts="{{[['input',[['__set_model',['','msg','$event',[]]]]]]}}" value="{{msg}}" bindinput="__e"/></block><block wx:if="{{type=='textarea'}}"><textarea class="textarea" placeholder="{{placeholder}}" placeholder-color="#c9c9c9" data-event-opts="{{[['input',[['__set_model',['','msg','$event',[]]]]]]}}" value="{{msg}}" bindinput="__e"></textarea></block><view class="edit-btns"><view data-event-opts="{{[['tap',[['closeEdit',['$event']]]]]}}" class="btn" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEdit',['$0','$1'],['field','msg']]]]]}}" class="btn" bindtap="__e">确认</view></view></view></view></block></view>
|