password.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. <view class="content-pad">
  2. <view class="cell cell-media">
  3. <view class="cell-value">
  4. <text class="cell-value-label">手机号</text>
  5. <input class="cell-value-input" disabled value="{{userInfo.loginName}}" />
  6. </view>
  7. </view>
  8. <view class="cell cell-media">
  9. <view class="cell-value">
  10. <text class="cell-value-label">短信验证码</text>
  11. <input class="cell-value-input" value="{{code}}" maxlength="6" placeholder="请输入验证码" type="number" bindinput="codeInput"/>
  12. <button class="r-float cell-value-button {{time<=0?'button-subtitle':'button-gray'}}" bindtap="sendCode">{{time<=0?'发送验证码':'已发送('+time+'s)'}}</button>
  13. </view>
  14. </view>
  15. <view class="cell cell-media">
  16. <view class="cell-value">
  17. <text class="cell-value-label">密码</text>
  18. <input class="cell-value-input" value="{{password}}" placeholder="设置新密码" bindinput="passwordInput" type="password"/>
  19. </view>
  20. </view>
  21. <view class="cell cell-media">
  22. <view class="cell-value">
  23. <text class="cell-value-label">重复密码</text>
  24. <input class="cell-value-input" value="{{rPassword}}" placeholder="重复新密码" bindinput="rPasswordInput" type="password"/>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="content-pad">
  29. <button class='button button-radius button-subtitle' bindtap='submit'>确认</button>
  30. </view>
  31. <view class="baby-tip">
  32. <image src='https://img.bbztx.com/miniProgram/challengeFamily/loginLogo.png'></image>
  33. </view>