forget.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <template>
  2. <view class="content">
  3. <view class="row-input">
  4. <text class="name">用户账号</text>
  5. <input placeholder="手机号码或邮箱" maxlength="18" />
  6. </view>
  7. <view class="row-input">
  8. <text class="name">验证码</text>
  9. <input placeholder="输入验证码" maxlength="6" />
  10. <view class="code">
  11. <text>获取验证码</text>
  12. </view>
  13. </view>
  14. <view class="row-input">
  15. <text class="name">登录密码</text>
  16. <input placeholder="6~16位字母和数字结合" maxlength="16" />
  17. </view>
  18. <view class="row-input">
  19. <text class="name">确认密码</text>
  20. <input placeholder="再次输入您的密码" maxlength="16" />
  21. </view>
  22. <view class="forget-btn">提交</view>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {}
  29. },
  30. }
  31. </script>
  32. <style lang="scss">
  33. page {
  34. background-color: #0b0c14;
  35. }
  36. .content {
  37. padding: 40rpx;
  38. .row-input {
  39. display: flex;
  40. justify-content: flex-start;
  41. align-items: center;
  42. height: 110rpx;
  43. padding: 0 30rpx;
  44. background-color: #2b2f41;
  45. border-radius: 8rpx;
  46. margin-bottom: 50rpx;
  47. font-size: 30rpx;
  48. .name {
  49. width: 150rpx;
  50. letter-spacing: 4rpx;
  51. color: #FFFFFF;
  52. }
  53. input {
  54. flex: 1;
  55. color: #a1a2a3;
  56. }
  57. .code {
  58. display: flex;
  59. justify-content: flex-end;
  60. letter-spacing: 2rpx;
  61. width: 180rpx;
  62. color: #1e70fe;
  63. }
  64. }
  65. .forget-btn {
  66. margin-top: 60rpx;
  67. display: flex;
  68. justify-content: center;
  69. align-items: center;
  70. font-size: 35rpx;
  71. letter-spacing: 15rpx;
  72. color: #FFFFFF;
  73. height: 110rpx;
  74. border-radius: 8rpx;
  75. background-image: linear-gradient(to right, #3feaea, #0168e6);
  76. }
  77. }
  78. </style>