index.wxml 1.1 KB

12345678910111213141516171819202122
  1. <nav type="back" background-color="#46a9a4" title="修改密码" />
  2. <form bindsubmit="formSubmit">
  3. <view class='phone-box'>
  4. <text class='phone'>验证码</text>
  5. <input name="phoneCode" placeholder="请输入验证码" class='number' placeholder-style='color:#bbb' bindinput="yanLoveInput" />
  6. <view bindtap='yanLoveBtn' class='getNum'>{{getText2}}</view>
  7. </view>
  8. <button formType="submit" class='submit'>提交</button>
  9. </form>
  10. <block wx:if="{{status==1}}">
  11. <view class='phone-box'>
  12. <text class='phone'>新密码:</text>
  13. <input bindblur="blur" type="text" class="string" data-name="password" value="{{password}}" placeholder="请输入新密码"></input>
  14. </view>
  15. <view class='phone-box'>
  16. <text class='phone'>再次输入密码:</text>
  17. <input bindblur="blur" type="text" class="string" data-name="passwords" value="{{passwords}}" placeholder="再次输入密码"></input>
  18. </view>
  19. </block>
  20. <block wx:if="{{status==1}}">
  21. <button bindtap="getuser" class='submit'>确认重置</button>
  22. </block>