userinfo.wxml 1.6 KB

1
  1. <view class="content"><view class="row1"><text class="tit">头像</text><view data-event-opts="{{[['tap',[['imgsub',['$event']]]]]}}" class="background-img" catchtap="__e"><image bindinput="__e" class="background-img" src="{{userInfo.avatar}}" mode="aspectFill" value="{{userInfo.avatar}}" data-event-opts="{{[['input',[['__set_model',['$0','avatar','$event',[]],['userInfo']]]]]}}"></image></view></view><view class="row"><text class="tit">昵称</text><input class="input" type="text" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','nickname','$event',[]],['userInfo']]]]]}}" value="{{userInfo.nickname}}" bindinput="__e"/></view><view class="row"><text class="tit">ID</text><input class="input" type="text" disabled="true" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','uid','$event',[]],['userInfo']]]]]}}" value="{{userInfo.uid}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="add-btn" bindtap="__e">提交</view><uni-popup class="vue-ref" vue-id="d1d00e32-1" type="center" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="psw-wrapper"><view class="psw-title">请输入自己的账户</view><input class="psw-ipt" type="text" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e"/><view class="psw-btn"><text data-event-opts="{{[['tap',[['qx',['$event']]]]]}}" catchtap="__e">取消</text><text data-event-opts="{{[['tap',[['pswQd',['$event']]]]]}}" class="psw-qd" catchtap="__e">确定</text></view></view></uni-popup></view>