retrievePassword.wxml 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. <view class='input-field'>
  2. <view class="icon-box">
  3. <text class="iconfont icon-a-biaoqianlanwodexuanzhong" />
  4. </view>
  5. <input class="input" type="text" bindinput="formInput" data-name="accountno" placeholder="{{language['账户']||'请填写账户名'}}" />
  6. </view>
  7. <view class='input-field'>
  8. <view class="icon-box">
  9. <text class="iconfont icon-a-biaoqianlanxiaoxixuanzhong" />
  10. </view>
  11. <input class="input" type="number" bindinput="formInput" data-name="password" placeholder="{{language['验证码']||'请填写验证码'}}" />
  12. <view class="auth-code" bindtap="getPassword">{{countDown?countDown+'s':(language['获取验证码']||'获取验证码')}}</view>
  13. </view>
  14. <view class='input-field'>
  15. <view class="icon-box">
  16. <text class="iconfont icon-a-wodemima" />
  17. </view>
  18. <input class="input" password bindinput="formInput" data-name="newPassword" placeholder="{{language['新密码']||'请设置6-20位新密码'}}" />
  19. </view>
  20. <view class='input-field'>
  21. <view class="icon-box">
  22. <text class="iconfont icon-a-wodemima" />
  23. </view>
  24. <input class="input" password value="{{from.verifyNewPassword}}" bindinput="formInput" data-name="verifyNewPassword" placeholder="{{language['确认密码']||'请确认新密码'}}" />
  25. <van-icon class="iconfont" style="color: #666;" name="clear" bind:click="clearNewPassword" />
  26. </view>
  27. <!-- <view wx:if="{{confirmPassword===false}}" class="errmsg">{{language['两次输入的密码不一致']||'两次输入的密码不一致'}}</view> -->
  28. <view style="width: 100%; text-align: center;margin-top: 100rpx;">
  29. <van-button disabled='{{disabled}}' bindtap="changePassword" loading='{{loading}}' loading-text="{{(language['修改中']||'修改中')+'...'}}" custom-class='but-style'>{{language['确认修改']||'确定修改'}}</van-button>
  30. </view>
  31. <van-toast id="van-toast" />