reset.wxml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <view class="container">
  2. <view class="form-box">
  3. <view class="form-item">
  4. <input class="mobile" value="{{mobile}}" bindinput="bindMobileInput" placeholder="手机号" />
  5. <van-icon wx:if="{{ mobile.length > 0 }}" id="clear-mobile" class="clear" catchtap="clearInput" name="close" />
  6. </view>
  7. <view class="form-item-code">
  8. <view class="form-item code-item">
  9. <input class="code" value="{{code}}" bindinput="bindCodeInput" placeholder="验证码" />
  10. <van-icon wx:if="{{ code.length > 0 }}" id="clear-code" class="clear" catchtap="clearInput" name="close" />
  11. </view>
  12. <view class="code-btn" bindtap="sendCode">获取验证码</view>
  13. </view>
  14. <view class="form-item">
  15. <input class="password" value="{{password}}" password bindinput="bindPasswordInput" placeholder="密码" />
  16. <van-icon wx:if="{{ password.length > 0 }}" id="clear-password" class="clear" catchtap="clearInput" name="close" />
  17. </view>
  18. <view class="form-item">
  19. <input class="password" value="{{confirmPassword}}" password bindinput="bindConfirmPasswordInput" placeholder="确认密码" />
  20. <van-icon wx:if="{{ confirmPassword.length > 0 }}" id="clear-confirm-password" class="clear" catchtap="clearInput" name="close" />
  21. </view>
  22. <button type="default" class="reset-btn" bindtap="startReset">密码重置</button>
  23. </view>
  24. </view>