特易招,招聘小程序
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.

205 lines
4.0 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. <template>
  2. <!-- 实名认证 -->
  3. <view class="page">
  4. <navbar title="实名认证"
  5. leftClick
  6. @leftClick="$utils.navigateBack"/>
  7. <view class="info-tips">
  8. 完成实名认证<text>您将获得实名认证平台特权</text>
  9. </view>
  10. <view class="form">
  11. <view class="form-item">
  12. <view class="label">
  13. 姓名
  14. </view>
  15. <input type="text" class="form-input"
  16. placeholder="请输入姓名"
  17. v-model="form.name"/>
  18. </view>
  19. <view class="form-item">
  20. <view class="label">
  21. 身份证号码
  22. </view>
  23. <input type="text" class="form-input"
  24. placeholder="请输入身份证号码"
  25. v-model="form.name"/>
  26. </view>
  27. <view class="form-item">
  28. <view class="label">
  29. 联系方式
  30. </view>
  31. <input type="text" class="form-input"
  32. placeholder="请输入联系方式"
  33. v-model="form.name"/>
  34. </view>
  35. <view class="form-item">
  36. <view class="title">
  37. 请上传身份证人像面照片选填
  38. </view>
  39. <view class="tips">
  40. 信息仅用身份核实上传后可增加曝光机会
  41. </view>
  42. </view>
  43. <view class="form-item">
  44. <uv-upload
  45. :fileList="fileList"
  46. :maxCount="1"
  47. width="690rpx"
  48. height="280rpx"
  49. multiple
  50. @afterRead="afterRead"
  51. @delete="deleteImage">
  52. <view class="upload">
  53. <image src="../static/auth/cart.png"
  54. mode="aspectFit"
  55. style="width: 390rpx;height: 280rpx;" />
  56. <view class="btn-add">
  57. 点击上传
  58. </view>
  59. </view>
  60. </uv-upload>
  61. </view>
  62. <view class="form-item">
  63. <view class="tips"
  64. style="text-align: center;padding: 20rpx 0;">
  65. (确保文字清晰可辨避免遮挡不全反光)
  66. </view>
  67. </view>
  68. </view>
  69. <view class="uni-color-btn">
  70. 认证
  71. </view>
  72. <view class="config">
  73. <uv-checkbox-group
  74. v-model="checkboxValue"
  75. shape="circle">
  76. <view class="content">
  77. <view
  78. style="display: flex;">
  79. <uv-checkbox
  80. size="40rpx"
  81. icon-size="30rpx"
  82. activeColor="#3796F8"
  83. :name="1"
  84. ></uv-checkbox>
  85. 阅读并同意我们的<text @click="$refs.configPopup.open('getPrivacyPolicy')">服务协议与隐私条款</text>
  86. </view>
  87. <view class="">
  88. 以及<text @click="$refs.configPopup.open('getUserAgreement')">个人信息保护指引</text>
  89. </view>
  90. </view>
  91. </uv-checkbox-group>
  92. </view>
  93. <configPopup ref="configPopup"/>
  94. </view>
  95. </template>
  96. <script>
  97. export default {
  98. data() {
  99. return {
  100. checkboxValue : [],
  101. form : {},
  102. fileList: [],
  103. }
  104. },
  105. methods: {
  106. deleteImage(e){
  107. this.fileList.splice(e.index, 1)
  108. },
  109. afterRead(e){
  110. let self = this
  111. e.file.forEach(file => {
  112. self.$Oss.ossUpload(file.url).then(url => {
  113. self.fileList.push({
  114. url
  115. })
  116. })
  117. })
  118. },
  119. }
  120. }
  121. </script>
  122. <style scoped lang="scss">
  123. .page{
  124. background-color: #fff;
  125. min-height: 100vh;
  126. .info-tips{
  127. width: 100%;
  128. padding: 30rpx 0;
  129. background-color: #f3f3f3;
  130. text-align: center;
  131. text{
  132. color: $uni-color;
  133. }
  134. }
  135. .form {
  136. padding: 30rpx;
  137. .form-item{
  138. .label{
  139. padding: 20rpx 0;
  140. }
  141. .form-input{
  142. border: 1px solid $uni-color;
  143. background: rgba($uni-color, 0.1);
  144. padding: 10rpx 20rpx;
  145. font-size: 28rpx;
  146. }
  147. .title{
  148. font-weight: 900;
  149. margin-top: 50rpx;
  150. padding: 10rpx 0;
  151. }
  152. .tips{
  153. font-size: 26rpx;
  154. color: #777;
  155. padding-bottom: 20rpx;
  156. }
  157. }
  158. .upload{
  159. display: flex;
  160. justify-content: center;
  161. align-items: center;
  162. width: 690rpx;
  163. background-color: #f3f3f3;
  164. border-radius: 10rpx;
  165. .btn-add{
  166. margin: auto;
  167. padding: 10rpx 20rpx;
  168. background-color: $uni-color;
  169. color: #fff;
  170. border-radius: 10rpx;
  171. }
  172. }
  173. }
  174. .config{
  175. font-size: 26rpx;
  176. line-height: 40rpx;
  177. width: 100%;
  178. display: flex;
  179. justify-content: center;
  180. .content{
  181. width: 100%;
  182. display: flex;
  183. flex-direction: column;
  184. align-items: center;
  185. }
  186. text{
  187. color: $uni-color;
  188. }
  189. }
  190. }
  191. </style>