change-pwd.wxml 1.5 KB

1
  1. <view class="change-pwd"><view class="change-header u-flex-col"><text>修改密码</text><text>{{"当前手机号:"+$root.g0}}</text></view><view class="change-new-item u-flex"><input class="input2" type="text" placeholder="请输入短信验证码" data-event-opts="{{[['input',[['__set_model',['','code','$event',[]]]]]]}}" value="{{code}}" bindinput="__e"/><view class="input-box u-flex u-row-between"><block wx:if="{{!timeEnd&&!verificationTime}}"><text data-event-opts="{{[['tap',[['getCode',['$event']]]]]}}" class="send" bindtap="__e">获取验证码</text></block><block wx:else><block wx:if="{{verificationTime}}"><text class="send">{{verificationTime+"s"}}</text></block><block wx:else><block wx:if="{{timeEnd}}"><text data-event-opts="{{[['tap',[['getCode',['$event']]]]]}}" class="send" bindtap="__e">重新获取验证码</text></block></block></block></view></view><view class="change-new-item u-flex"><input class="input2" type="text" password="{{true}}" maxlength="16" placeholder="请使用8-16位数字及字母组合" data-event-opts="{{[['input',[['__set_model',['','pwd1','$event',[]]]]]]}}" value="{{pwd1}}" bindinput="__e"/></view><view class="change-new-item u-flex"><input class="input2" type="text" password="{{true}}" maxlength="16" placeholder="请再次确认密码" data-event-opts="{{[['input',[['__set_model',['','pwd2','$event',[]]]]]]}}" value="{{pwd2}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="change-btn" bindtap="__e">确认修改</view></view>