帧视界壹通告,付费看视频的微信小程序
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.

133 lines
3.2 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
  1. <template>
  2. <view class="certified-individual">
  3. <!--顶部导航栏-->
  4. <navbar leftClick @leftClick="$utils.navigateBack" title="个人认证"/>
  5. <!--内容区域-->
  6. <view class="content">
  7. <view class="title">
  8. <view class="image">
  9. <image src="/static/image/auth/1.svg" style="width: 100%;height: 100%"></image>
  10. </view>
  11. 请确保二代身份证有效,并且头像文字清晰四角对齐,无反光无遮挡
  12. </view>
  13. <view class="center">
  14. <view class="avatarFace">
  15. <image src="/static/image/auth/2.png" style="width: 100%;height: 100%"></image>
  16. </view>
  17. <view class="reverseSide">
  18. <image src="/static/image/auth/2.png" style="width: 100%;height: 100%"></image>
  19. </view>
  20. </view>
  21. </view>
  22. <!--立即认证按钮-->
  23. <view @click="nowAuth" class="bottomBtn">
  24. 立即认证
  25. </view>
  26. <!--人脸识别服务协议-->
  27. <view class="agree">
  28. <uv-checkbox-group v-model="checkboxValue" placement="column" size="35"
  29. activeColor="#008000" inactiveColor="#999999">
  30. <uv-checkbox shape='circle' :checked="true" name="apple"
  31. :label="labelValue ? labelValue : ''" iconSize="35">
  32. </uv-checkbox>
  33. </uv-checkbox-group>
  34. 我已阅读并同意签署 <span style="color:#009dff">人脸识别服务协议</span>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. export default {
  40. onLoad: function (options) {
  41. console.log(options,"options")
  42. // 获取传递过来的 id 参数
  43. this.type = options.type;
  44. console.log('this.type :', this.type);
  45. // 进行后续处理...
  46. },
  47. data() {
  48. return {
  49. checkboxValue: '香蕉',
  50. labelValue: '', // 如果labelValue为空,则不会显示任何内容
  51. type: '',
  52. };
  53. },
  54. methods: {
  55. nowAuth() {
  56. if (this.type=="person"){
  57. this.$utils.navigateTo('/mine/authPerson')
  58. }else if (this.type=="firm"){
  59. this.$utils.navigateTo('/mine/authFirm')
  60. }
  61. }
  62. }
  63. }
  64. </script>
  65. <style lang="scss" scoped>
  66. .certified-individual {
  67. .content {
  68. padding: 40rpx;
  69. .title {
  70. display: flex;
  71. font-size: 30rpx;
  72. .image {
  73. display: flex;
  74. align-items: flex-start;
  75. width: 10vw;
  76. height: 3vh;
  77. }
  78. }
  79. .center {
  80. display: flex;
  81. flex-direction: column;
  82. justify-content: center;
  83. align-items: center;
  84. gap: 150rpx;
  85. margin-top: 15%;
  86. .avatarFace {
  87. width: 80vw;
  88. height: 20vh;
  89. }
  90. .reverseSide {
  91. width: 80vw;
  92. height: 20vh;
  93. }
  94. }
  95. }
  96. .bottomBtn {
  97. position: fixed;
  98. bottom: 15%;
  99. left: 25%;
  100. width: 50%;
  101. height: 60rpx;
  102. line-height: 60rpx;
  103. font-size: 30rpx;
  104. color: #FFFFFF;
  105. text-align: center;
  106. //border: 1px solid red;
  107. background: $uni-linear-gradient-color;
  108. -webkit-background-clip: text; /*将设置的背景颜色限制在文字中*/
  109. -webkit-text-fill-color: transparent; /*给文字设置成透明*/
  110. }
  111. .agree {
  112. position: fixed;
  113. bottom: 7%;
  114. display: flex;
  115. padding-left: 20rpx;
  116. //border: 1px solid red;
  117. }
  118. }
  119. </style>