updateNickName.wxml 842 B

1
  1. <view class="container"><view class="wrapper"><view class="input-content"><view class="cu-form-group" style="border:2rpx solid whitesmoke;margin-bottom:20px;border-radius:30px;"><text class="title">原昵称</text><input type="text" placeholder-class="input-empty" disabled="true" value="{{oldnickName}}"/></view><view class="cu-form-group" style="border:2rpx solid whitesmoke;margin-bottom:20px;border-radius:30px;"><text class="title">新昵称</text><input type="nickname" placeholder="请设置新昵称" placeholder-class="input-empty" maxlength="20" minlength="6" data-event-opts="{{[['input',[['__set_model',['','nickName','$event',[]]]]]]}}" value="{{nickName}}" bindinput="__e"/></view></view><button data-event-opts="{{[['tap',[['updatNickName',['$event']]]]]}}" class="confirm-btn" bindtap="__e">修改昵称</button></view></view>