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

162 lines
5.1 KiB

  1. <template>
  2. <view class="auth-person">
  3. <!--顶部导航栏-->
  4. <navbar leftClick @leftClick="$utils.navigateBack" title="认证个人" />
  5. <!--身份信息页面-->
  6. <view class="container">
  7. <view class="form-item">
  8. <view class="label">姓名</view>
  9. <view class="input">
  10. <input type="text" v-model="certifiedIndividual.name" />
  11. </view>
  12. </view>
  13. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  14. <view class="form-item">
  15. <view class="label">身份证号</view>
  16. <view class="input">
  17. <input type="text" v-model="certifiedIndividual.card" />
  18. </view>
  19. </view>
  20. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  21. </view>
  22. <!--下一步按钮-->
  23. <button @click="onNextClick" class="bottomBtn">
  24. 立即认证
  25. </button>
  26. <confirmationPopup ref="confirmationPopup" title="提示" cancel :cancelText="cancelText[type]" @confirm="submit"
  27. round="0" @cancel="$refs.confirmationPopup.close()" :confirmText="confirmText[type]">
  28. <view class="confirmationPopup" v-if="type == 0">
  29. 电子认证服务协议
  30. 数字证书(以下简称证书)是电子商务认证有限公司(以下简称广东)签发的网上凭证是为身份确实资信可靠的个人单位和服务器等在网上进行安全电子交易安全电子事务处理等提供的一种身份认证凡企业机关团体行政事业等单位个人和服务器数字证书申请人(以下简称证书申请人)均可向广东业务受理审批单位申请领用数字证书为了保障数字证书申请人的合法权利维护电子商务认证有限公司的合法经营权益双方本着自愿平等的原则达成以下协议书条款双方共同遵守执行第三方认证是
  31. XX制造网为其XX通会员提供的一项以标准化审核认证为主要内容的服务
  32. 含资质认证与实地认证
  33. 实地认证的审核认证服务内容要包括会员的工商注册信息销售贸易能力和()产品设计开发能力体系和产品认证生产能力和质量管理实景照片等内容资质认证的审核认证服务内容主要包括会员的工商注册信息经营资
  34. 生产许可资质等内容
  35. 第三方认证审核分为初次审核和年度复审两种类型初次审核是指对会员进行首次审核并出具报告年度复审是指为了认证保证报告所反映的实际情况的时效性而对会员进行的每年一次的复审XX制造网根据用户提交的服务申请及用户进行的自评情况与用户确定服务购买意向并签署合同用户支付相应费用后XX制造网委托第三方认证机构在约定的日期进行审核并出具相应的认证报告XX制造网将使用专有标识对通过审核
  36. 的用户的展示厅进行标注
  37. </view>
  38. <view class="confirmationPopup" style="padding: 70rpx 20rpx;" v-if="type == 1">
  39. 本次认证需付费确认
  40. </view>
  41. </confirmationPopup>
  42. </view>
  43. </template>
  44. <script>
  45. import '../../common.css'; // 引入公共 CSS 文件
  46. import {
  47. mapState
  48. } from 'vuex'
  49. import confirmationPopup from '@/components/toast/confirmationPopup.vue'
  50. export default {
  51. components: {
  52. confirmationPopup,
  53. },
  54. data() {
  55. return {
  56. type: 0,
  57. cancelText: ['不同意', '取消'],
  58. confirmText: ['同意', '同意并支付'],
  59. }
  60. },
  61. computed: {
  62. ...mapState(['certifiedIndividual']),
  63. },
  64. methods: {
  65. onCameraClick() {
  66. // 添加拍照或选择图片的逻辑
  67. },
  68. onNextClick() {
  69. if (this.$utils.verificationAll(this.certifiedIndividual, {
  70. imageReverseSide: '请上传身份证背面',
  71. imageStraight: '请上传身份证正面',
  72. card: '请输入身份证号',
  73. name: '请输入姓名',
  74. })) {
  75. return
  76. }
  77. this.$refs.confirmationPopup.open()
  78. },
  79. submit() {
  80. this.$refs.confirmationPopup.close()
  81. if (this.type == 0) {
  82. setTimeout(() => {
  83. this.type = 1
  84. this.$refs.confirmationPopup.open()
  85. }, 500)
  86. } else {
  87. this.$api('infoSubmitCertification', this.certifiedIndividual,
  88. res => {
  89. if (res.code == 200) {
  90. uni.showToast({
  91. title: '认证成功',
  92. icon: 'none'
  93. })
  94. setTimeout(() => {
  95. uni.redirectTo({
  96. url: '/pages/index/center'
  97. })
  98. }, 500)
  99. }
  100. })
  101. }
  102. },
  103. }
  104. }
  105. </script>
  106. <style scoped lang="scss">
  107. * {
  108. box-sizing: border-box;
  109. margin: 0;
  110. padding: 0;
  111. }
  112. .confirmationPopup {
  113. max-height: 60vh;
  114. overflow-y: auto;
  115. overflow-x: hidden;
  116. width: 600rpx;
  117. padding: 20rpx;
  118. text-align: center;
  119. }
  120. .auth-person {
  121. .container {
  122. padding: 100rpx 50rpx 50rpx 50rpx;
  123. //border: 1px solid red;
  124. .header {
  125. margin-bottom: 40rpx;
  126. font-size: 28rpx;
  127. color: #666;
  128. }
  129. .form-item {
  130. margin-bottom: 40rpx;
  131. .label {
  132. font-size: 36rpx;
  133. margin-bottom: 10px;
  134. display: block;
  135. }
  136. .input {
  137. font-size: 30rpx;
  138. margin-top: 40rpx;
  139. background-color: #f7f7f7;
  140. padding: 20rpx;
  141. border: 1px solid #66666633;
  142. }
  143. }
  144. }
  145. }
  146. </style>