password.wxml 1.3 KB

12345678910111213141516
  1. <view class="container">
  2. <view class="row b-b">
  3. <text class="tit">手机号</text>
  4. <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '$0','phone','$event',[] ],['userInfo'] ] ] ] ]}}" disabled="{{true}}" placeholder="请填写手机号" placeholderClass="placeholder" type="text" value="{{userInfo.phone}}"></input>
  5. </view>
  6. <view class="row b-b">
  7. <text class="tit">验证码</text>
  8. <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','captcha','$event',[] ] ] ] ] ]}}" placeholder="请填写验证码" placeholderClass="placeholder" type="text" value="{{captcha}}"></input>
  9. <view bindtap="__e" class="code" data-event-opts="{{[ [ 'tap',[ [ 'verification',['$event'] ] ] ] ]}}">{{countDown==0?'验证码':countDown}}</view>
  10. </view>
  11. <view class="row b-b">
  12. <text class="tit">新密码</text>
  13. <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','password','$event',[] ] ] ] ] ]}}" placeholder="请填写新密码" placeholderClass="placeholder" type="password" value="{{password}}"></input>
  14. </view>
  15. <button bindtap="__e" class="{{['add-btn',loding?'bg-gray':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'e0',['$event'] ] ] ] ]}}">提交</button>
  16. </view>