木邻有你前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
2.1 KiB

<view class="user-info-container data-v-441d4aec"><view class="content data-v-441d4aec"><view class="avatar-section data-v-441d4aec"><view class="app-info data-v-441d4aec"><image class="app-logo data-v-441d4aec" src="{{$root.m0}}" mode="aspectFit"></image><text class="app-name data-v-441d4aec">{{$root.m1}}</text></view></view><view class="form-section data-v-441d4aec"><view class="form-item data-v-441d4aec"><text class="form-label data-v-441d4aec">头像</text><view class="avatar-upload data-v-441d4aec"><button class="avatar-button data-v-441d4aec" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image class="avatar-image data-v-441d4aec" src="{{userInfo.headImage||'/static/待上传头像.png'}}" mode="aspectFill"></image></button></view></view><view class="form-item data-v-441d4aec"><text class="form-label data-v-441d4aec">昵称</text><input class="form-input data-v-441d4aec" placeholder="请输入昵称" type="nickname" data-event-opts="{{[['blur',[['onNicknameBlur',['$event']]]],['input',[['__set_model',['$0','nickName','$event',[]],['userInfo']]]]]}}" value="{{userInfo.nickName}}" bindblur="__e" bindinput="__e"/></view><view class="form-item data-v-441d4aec"><text class="form-label data-v-441d4aec">手机号</text><view class="phone-input-container data-v-441d4aec"><input class="form-input phone-input data-v-441d4aec" placeholder="请输入手机号" type="number" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['userInfo']]]]]}}" value="{{userInfo.phone}}" bindinput="__e"/><button class="get-phone-btn data-v-441d4aec" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e"><text class="btn-text data-v-441d4aec">获取手机号</text></button></view></view></view><view class="submit-section data-v-441d4aec"><view data-event-opts="{{[['tap',[['submitUserInfo',['$event']]]]]}}" class="submit-btn data-v-441d4aec" bindtap="__e"><text class="submit-text data-v-441d4aec">确定</text></view></view></view></view>