step3.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <template>
  2. <view class="step3">
  3. <view class="login-from">
  4. <view class="title">填写资料</view>
  5. <view class="input-item">
  6. <label for="">
  7. <text>中国(+86)</text>
  8. </label>
  9. <input type="number" placeholder="请输入手机号">
  10. </view>
  11. <view class="input-item">
  12. <label for="">
  13. <text>验证码</text>
  14. </label>
  15. <input type="number" placeholder="" maxlength="6">
  16. <button class="send-vcode">获取验证码</button>
  17. </view>
  18. <view class="input-item">
  19. <label for="">
  20. <text>密码</text>
  21. </label>
  22. <input type="password" placeholder="请输入密码">
  23. </view>
  24. <view class="button-item" style="margin-top: 80upx;">
  25. <button class="confirm">注册</button>
  26. </view>
  27. <view class="agreement">
  28. <view>
  29. <text>注册代表您已同意</text>
  30. <navigator url="/pages/user/simple-article?title=用户协议" open-type="navigate" style="display: inline;">
  31. <text class="warning">《省心直供APP协议》</text>
  32. </navigator>
  33. <navigator url="/pages/user/simple-article?title=用户协议" open-type="navigate" style="display: inline;">
  34. <text class="warning">《隐私协议》</text>
  35. </navigator>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. export default {
  43. data() {
  44. return {
  45. }
  46. },
  47. methods: {
  48. }
  49. }
  50. </script>
  51. <style lang="scss" scoped>
  52. .step3 {
  53. background: $primary-color;
  54. height: 100vh;
  55. width: 750rpx;
  56. overflow: hidden;
  57. }
  58. .login-from {
  59. margin: auto;
  60. width: 600upx;
  61. height: 700upx;
  62. background-color: white;
  63. border-radius: 20rpx;
  64. padding: 72upx;
  65. padding-top: 40upx;
  66. box-sizing: border-box;
  67. position: relative;
  68. z-index: 2;
  69. margin-top: 200upx;
  70. &::after {
  71. content: "";
  72. background: url(../../static/images/login/box-bottom.png) no-repeat;
  73. background-size: contain;
  74. width: 564upx;
  75. height: 30upx;
  76. display: block;
  77. position: absolute;
  78. bottom: -30upx;
  79. left: 18upx;
  80. z-index: -1;
  81. }
  82. .title {
  83. font-size: 30upx;
  84. color: #999999;
  85. font-weight: bold;
  86. text-align: center;
  87. margin-bottom: 80upx;
  88. }
  89. }
  90. .input-item {
  91. display: flex;
  92. position: relative;
  93. margin-bottom: 30upx;
  94. border-bottom: 2upx solid $primary-color;
  95. label {
  96. width: 158upx;
  97. font-size: 30upx;
  98. color: #999999;
  99. }
  100. input {
  101. flex-grow: 1;
  102. padding: 5upx;
  103. font-size: 30upx;
  104. }
  105. }
  106. .confirm {
  107. height: 80upx;
  108. border: 2upx solid $primary-color;
  109. line-height: 80upx;
  110. margin: 30upx 0;
  111. font-size: 32upx;
  112. background: $primary-color;
  113. color: white;
  114. &::after {
  115. border: none;
  116. }
  117. }
  118. .send-vcode {
  119. background: $primary-color;
  120. color: white;
  121. font-size: 24upx;
  122. position: absolute;
  123. padding: 5upx 0;
  124. width: 160upx;
  125. line-height: normal;
  126. right: 0upx;
  127. top: -5upx;
  128. }
  129. .agreement {
  130. font-size: 22upx;
  131. .warning {
  132. color: $primary-color;
  133. font-weight: bold;
  134. }
  135. }
  136. </style>