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

139 lines
3.3 KiB

11 months ago
10 months ago
10 months ago
10 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/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/auth/2.png" style="width: 100%;height: 100%"></image>
  16. </view>
  17. <view class="reverseSide">
  18. <image src="../static/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. uni.redirectTo({
  58. url: '/pages_mine/mine/authPerson'
  59. })
  60. // this.$utils.navigateTo('/mine/authPerson')
  61. }else if (this.type=="firm"){
  62. uni.redirectTo({
  63. url: '/pages_mine/mine/authFirm'
  64. })
  65. // this.$utils.navigateTo('/mine/authFirm')
  66. }
  67. }
  68. }
  69. }
  70. </script>
  71. <style lang="scss" scoped>
  72. .certified-individual {
  73. .content {
  74. padding: 40rpx;
  75. .title {
  76. display: flex;
  77. font-size: 30rpx;
  78. .image {
  79. display: flex;
  80. align-items: flex-start;
  81. width: 10vw;
  82. height: 3vh;
  83. }
  84. }
  85. .center {
  86. display: flex;
  87. flex-direction: column;
  88. justify-content: center;
  89. align-items: center;
  90. gap: 150rpx;
  91. margin-top: 15%;
  92. .avatarFace {
  93. width: 80vw;
  94. height: 20vh;
  95. }
  96. .reverseSide {
  97. width: 80vw;
  98. height: 20vh;
  99. }
  100. }
  101. }
  102. .bottomBtn {
  103. position: fixed;
  104. bottom: 15%;
  105. left: 25%;
  106. width: 50%;
  107. height: 60rpx;
  108. line-height: 60rpx;
  109. font-size: 30rpx;
  110. color: #FFFFFF;
  111. text-align: center;
  112. //border: 1px solid red;
  113. background: $uni-linear-gradient-color;
  114. -webkit-background-clip: text; /*将设置的背景颜色限制在文字中*/
  115. -webkit-text-fill-color: transparent; /*给文字设置成透明*/
  116. }
  117. .agree {
  118. position: fixed;
  119. bottom: 7%;
  120. display: flex;
  121. padding-left: 20rpx;
  122. //border: 1px solid red;
  123. }
  124. }
  125. </style>