index.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <template>
  2. <view class="content">
  3. <view class="content-money">
  4. <view class="status_bar"><!-- 这里是状态栏 --></view>
  5. <view class="body-title">
  6. <view class="goback-box">
  7. </view>
  8. <view class="header">实名认证</view>
  9. </view>
  10. <view class="content-bg">
  11. <image src="../../users/static/sm.png" mode=""></image>
  12. </view>
  13. </view>
  14. <view class="yanzheng">
  15. <view class="top">
  16. <view class="tex">真实姓名</view>
  17. <input class="inp" type="text" placeholder="请输入真实姓名" v-model="text" required />
  18. </view>
  19. <view class="top">
  20. <view class="tex">真实姓名</view>
  21. <input class="inp" type="text" placeholder="请输入真实姓名" v-model="text" required />
  22. </view>
  23. </view>
  24. <view class="sc">
  25. <view class="poto">上传人脸正面照片</view>
  26. <image class="pto" src="../../users/static/pto.png" mode="scaleToFill"></image>
  27. </view>
  28. <view class="btn">
  29. <button class="bt">立即认证</button>
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. export default {
  35. data() {
  36. return {
  37. text: ''
  38. };
  39. },
  40. onLoad() {},
  41. onShow() {
  42. },
  43. methods: {
  44. }
  45. };
  46. </script>
  47. <style lang="scss">
  48. page {
  49. background: #fff;
  50. height: 100%;
  51. }
  52. .status_bar {
  53. height: var(--status-bar-height);
  54. width: 100%;
  55. }
  56. .content-money {
  57. height: 480rpx;
  58. .content-bg {
  59. position: absolute;
  60. top: 0;
  61. left: 0;
  62. right: 0;
  63. width: 750rpx;
  64. height: 480rpx;
  65. image {
  66. width: 100%;
  67. height: 100%;
  68. }
  69. }
  70. .body-title {
  71. height: 80rpx;
  72. text-align: center;
  73. font-size: 35rpx;
  74. position: relative;
  75. .header {
  76. position: absolute;
  77. left: 0;
  78. top: 0;
  79. width: 100%;
  80. font-size: 36rpx;
  81. font-family: PingFang SC;
  82. font-weight: bold;
  83. color: #fff;
  84. height: 80rpx;
  85. font-size: 36rpx;
  86. font-weight: 700;
  87. z-index: 9;
  88. display: flex;
  89. justify-content: center;
  90. align-items: center;
  91. }
  92. .goback-box {
  93. position: absolute;
  94. left: 18rpx;
  95. top: 0;
  96. height: 80rpx;
  97. display: flex;
  98. align-items: center;
  99. }
  100. .goback {
  101. z-index: 100;
  102. width: 34rpx;
  103. height: 34rpx;
  104. }
  105. }
  106. }
  107. .yanzheng {
  108. width: 660rpx;
  109. height: 220rpx;
  110. background-color: #fff;
  111. margin-left: 45rpx;
  112. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  113. border-radius: 20rpx;
  114. margin: -100rpx auto 0;
  115. position: relative;
  116. z-index: 2;
  117. .top {
  118. display: flex;
  119. justify-content: start;
  120. padding-top: 40rpx;
  121. .tex {
  122. size: 50rpx;
  123. padding-left: 25rpx;
  124. padding-top: 5rpx;
  125. }
  126. .inp {
  127. padding-left: 25rpx;
  128. }
  129. }
  130. }
  131. .sc {
  132. width: 660rpx;
  133. height: 400rpx;
  134. background-color: #fff;
  135. margin-top: 20rpx;
  136. margin-left: 45rpx;
  137. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  138. border-radius: 20rpx;
  139. .poto {
  140. padding-top: 30rpx;
  141. margin-left: 25rpx;
  142. size: 50rpx;
  143. }
  144. .pto {
  145. width: 312rpx;
  146. height: 202rpx;
  147. margin-left: 175rpx;
  148. margin-top: 60rpx;
  149. }
  150. }
  151. .bt {
  152. width: 650rpx;
  153. background: linear-gradient(90deg, #ff8f3b, #ff3107);
  154. border-radius: 45rpx;
  155. margin-top: 90rpx;
  156. margin-left: 38rpx;
  157. color: #fff;
  158. height: 80rpx !important;
  159. line-height: 80rpx !important;
  160. }
  161. </style>