1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
<view><view data-event-opts="{{[['tap',[['chooseAvatar',['$event']]]]]}}" class="u-m-t-34" bindtap="__e"><view class="row-center"><u-avatar vue-id="57f04267-1" src="{{userInfo.avatar?userInfo.avatar:cloudPath+'img/icon_avatar_empty2.png'}}" size="142" bind:__l="__l"></u-avatar></view><view class="nr text-default u-text-center u-m-t-16">点击更换头像</view></view><view class="u-m-l-62 u-m-r-62"><view data-event-opts="{{[['tap',[['changeName',['$event']]]]]}}" class="nr row-between u-col-center u-m-t-48" bindtap="__e"><view style="width:100rpx;">昵称</view><view class="flex1 u-m-l-80 row u-row-between u-col-center"><view>{{userInfo.nickname||''}}</view><view><u-image vue-id="57f04267-2" src="{{cloudPath+'img/icon_arrow_right.png'}}" width="44" height="44" bind:__l="__l"></u-image></view></view></view><view data-event-opts="{{[['tap',[['changeMobile',['$event']]]]]}}" class="nr row-between u-col-center u-m-t-48" bindtap="__e"><view style="width:100rpx;">手机号</view><view class="flex1 u-m-l-80 row u-row-between u-col-center"><view>{{$root.m0}}</view><view><u-image vue-id="57f04267-3" src="{{cloudPath+'img/icon_arrow_right.png'}}" width="44" height="44" bind:__l="__l"></u-image></view></view></view></view><view class="fixed left-0 right-0 save"><u-button vue-id="57f04267-4" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['save']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">保存</u-button></view><u-popup bind:input="__e" vue-id="57f04267-5" mode="center" border-radius="16" value="{{nickname.showPopup}}" data-event-opts="{{[['^input',[['__set_model',['$0','showPopup','$event',[]],['nickname']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bg-white br16 w-full" style="width:70vw;"><view class="u-p-32"><view class="title xl u-text-center bold-500">修改用户名</view><view><u-form class="vue-ref" vue-id="{{('57f04267-6')+','+('57f04267-5')}}" model="{{nickname}}" data-ref="nicknameForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('57f04267-7')+','+('57f04267-6')}}" label="昵称" border-bottom="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('57f04267-8')+','+('57f04267-7')}}" value="{{nickname.value}}" data-event-opts="{{[['^input',[['__set_model',['$0','value','$event',[]],['nickname']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-button vue-id="{{('57f04267-9')+','+('57f04267-6')}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['confirmChangeNickeName']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确定</u-button></u-form></view></view></view></u-popup><mobile-login vue-id="57f04267-10" hideCancleBtn="{{false}}" value="{{mobile.showPopup}}" data-event-opts="{{[['^close',[['e0']]],['^update',[['updateMobile']]],['^input',[['__set_model',['$0','showPopup','$event',[]],['mobile']]]]]}}" bind:close="__e" bind:update="__e" bind:input="__e" bind:__l="__l"></mobile-login></view> |