【PT.SCC实名制管理系统】24.10.01 -30天,考勤打卡小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
2.9 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <!-- 实名认证 -->
  2. <template>
  3. <view class="autonym">
  4. <!-- 实名认证顶部背景 -->
  5. <view class="autonym-top">
  6. <image class="bg" src="https://tennis-oss.xzaiyp.top/2024-10-22/b0182213-365c-482d-9218-e532df187fdc.png" mode="widthFix"></image>
  7. </view>
  8. <!-- 实名认证表单 -->
  9. <view class="autonum-form">
  10. <view class="autonum-form-title">请填写真实有效的身份信息</view>
  11. <view class="autonum-form-item">
  12. <view class="title">姓名</view>
  13. <input class="text" v-model="form.name" type="text" />
  14. </view>
  15. <view class="autonum-form-item">
  16. <view class="title">证件号码</view>
  17. <input class="text" v-model="form.card" type="text" />
  18. </view>
  19. <div @click="photo" class="btn">
  20. 立即认证
  21. </div>
  22. </view>
  23. <!-- 说明 -->
  24. <view class="autonym-info">
  25. <image class="autonum-info-icon" src="https://tennis-oss.xzaiyp.top/2024-10-22/fb858755-ada3-49c3-87c7-c28a585dcbc0.png" mode="widthFix"></image>
  26. <view class="text">实名仅用于您是否为真人用户不会对信息做任何采集与保留请放心使用</view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. name: "Autonym",
  33. data() {
  34. return {
  35. form: {
  36. name: '',
  37. card: ''
  38. }
  39. }
  40. },
  41. methods: {
  42. toCenter() {
  43. uni.navigateTo({
  44. url: "/pages/index/center"
  45. })
  46. }
  47. }
  48. }
  49. </script>
  50. <style lang="scss" scoped>
  51. .autonym {
  52. // 实名认证顶部背景
  53. .autonym-top {
  54. .bg {
  55. width: 750rpx;
  56. }
  57. }
  58. // 实名认证表单
  59. .autonum-form {
  60. position: relative;
  61. width: 95%;
  62. border-radius: 40rpx;
  63. background: white;
  64. margin: -180rpx auto 0rpx auto;
  65. z-index: 100;
  66. overflow: hidden;
  67. box-shadow: 0rpx 0rpx 10rpx rgba(0, 0, 0, .1);
  68. .autonum-form-title {
  69. font-size: 34rpx;
  70. font-weight: bold;
  71. padding: 40rpx 0rpx;
  72. text-align: center;
  73. background-color: #E4E4E4;
  74. }
  75. .autonum-form-item {
  76. height: 90rpx;
  77. display: flex;
  78. align-items: center;
  79. margin: 50rpx auto;
  80. width: 80%;
  81. background: #E4E4E4;
  82. border-radius: 100rpx;
  83. box-sizing: border-box;
  84. padding: 0rpx 20rpx;
  85. color: #707070;
  86. &:nth-child(2){
  87. margin-top: 70rpx;
  88. }
  89. .title {
  90. font-size: 30rpx;
  91. width: 160rpx;
  92. }
  93. .text {
  94. display: block;
  95. height: 75rpx;
  96. width: calc(100% - 160rpx);
  97. }
  98. }
  99. .btn {
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. width: 80%;
  104. background: $main-color;
  105. color: white;
  106. height: 100rpx;
  107. border-radius: 50rpx;
  108. margin: 90rpx auto 60rpx auto;
  109. }
  110. }
  111. // 说明
  112. .autonym-info {
  113. display: flex;
  114. align-items: center;
  115. width: 90%;
  116. margin: 30rpx auto 0rpx auto;
  117. background: #F3F3F3;
  118. .autonum-info-icon {
  119. width: 30rpx;
  120. }
  121. .text {
  122. width: calc(100% - 20rpx);
  123. font-size: 24rpx;
  124. color: #707070;
  125. box-sizing: border-box;
  126. padding-left: 10rpx;
  127. }
  128. }
  129. }
  130. </style>