bindPhone.wxml 990 B

123456789101112131415161718192021
  1. <view class="content-pad">
  2. <view class="cell">
  3. <view class="cell-title">手机号</view>
  4. <view class="cell-value">
  5. <input class="cell-value-input" value="{{loginName}}" maxlength="11" placeholder="请输入新的手机号" type="number" bindinput="loginNameInput"/>
  6. </view>
  7. </view>
  8. <view class="cell">
  9. <view class="cell-title">短信验证码</view>
  10. <view class="cell-value flex">
  11. <input class="cell-value-input" value="{{code}}" maxlength="6" placeholder="请输入验证码" type="number" bindinput="codeInput"/>
  12. <button class="cell-value-button {{time<=0?'button-warn':'button-gray'}}" bindtap="sendCode">{{time<=0?'发送验证码':'已发送('+time+'s)'}}</button>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="content-pad">
  17. <button class='button button-radius button-subtitle' bindtap='submit'>完成绑定</button>
  18. </view>
  19. <view class="baby-tip">
  20. <image src='https://img.bbztx.com/miniProgram/challengeFamily/loginLogo.png'></image>
  21. </view>