findBackPassword.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <view>
  3. <u-navbar title="找回密码" title-color="#101010"></u-navbar>
  4. <view class="main">
  5. <view class="original-password">
  6. <text>手机号码</text><u-input v-model="password" style="padding: 0 0 0 20px" maxlength="11" type="number" placeholder="请填写手机号" />
  7. </view>
  8. <view class="new-password">
  9. <text>验证码</text><u-input v-model="password" style="padding: 0 0 0 20px" maxlength="6" type="number" placeholder="6位验证码" /><text class="verification-code">获取验证码</text>
  10. </view>
  11. <view class="new-password">
  12. <text>新密码</text><u-input v-model="password" style="padding: 0 0 0 20px" class="password-input" type="password" placeholder="创建6-16位组合新密码" :password-icon="true" />
  13. </view>
  14. </view>
  15. <!-- 确认修改 -->
  16. <button class="confirm">提交</button>
  17. </view>
  18. </template>
  19. <script>
  20. export default {
  21. data() {
  22. return {
  23. }
  24. },
  25. methods: {
  26. }
  27. }
  28. </script>
  29. <style lang="scss" scoped>
  30. .main{
  31. background-color: #fff;
  32. margin-top: 24rpx;
  33. .original-password,.new-password{
  34. line-height: 96rpx;
  35. padding:0 32rpx;
  36. display: flex;
  37. align-items: center;
  38. border-bottom: 1px solid rgba(221,221,221,1);
  39. /deep/.u-input__input{
  40. height: 96rpx;
  41. }
  42. }
  43. text{
  44. display: inline-block;
  45. width: 128rpx;
  46. color: rgba(51,51,51,1);
  47. font-size: 32rpx;
  48. }
  49. .verification-code{
  50. width: 160rpx;
  51. color: rgba(22,119,255,1);
  52. font-size: 32rpx;
  53. }
  54. }
  55. // 确认修改
  56. .confirm{
  57. border-radius: 8px;
  58. background-color: rgba(22,119,255,1);
  59. color: rgba(255,255,255,1);
  60. font-size: 32rpx;
  61. line-height: 88rpx;
  62. margin: 24rpx 32rpx;
  63. }
  64. </style>