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

173 lines
3.7 KiB

  1. <template>
  2. <view class="auth-firm">
  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">{{ name }}</view>
  10. </view>
  11. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  12. <view class="form-item">
  13. <view class="label">法人身份证号</view>
  14. <view class="input">{{ idCard }}</view>
  15. </view>
  16. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  17. <view class="form-item">
  18. <view class="label">营业执照</view>
  19. <view class="upload">
  20. <uv-upload
  21. :fileList="yxzzFileList"
  22. :maxCount="5"
  23. multiple
  24. width="150rpx"
  25. height="150rpx"
  26. @delete="yxzzDeleteImage"
  27. @afterRead="yxzzAfterRead"
  28. :previewFullImage="true"></uv-upload>
  29. </view>
  30. </view>
  31. <uv-divider :hairline="false" lineColor="#c0c0c0" dot></uv-divider>
  32. <view class="form-item">
  33. <view class="label">其他资质</view>
  34. <view class="upload">
  35. <uv-upload
  36. :fileList="qtzzFileList"
  37. :maxCount="5"
  38. multiple
  39. width="150rpx"
  40. height="150rpx"
  41. @delete="qtzzDeleteImage"
  42. @afterRead="qtzzAfterRead"
  43. :previewFullImage="true"></uv-upload>
  44. </view>
  45. </view>
  46. </view>
  47. <!--请仔细阅读平台用户协议隐私协议-->
  48. <view class="agree">
  49. <view>
  50. 请仔细阅读平台<span style="color:#009dff">用户协议</span><span style="color:#009dff">隐私协议</span>
  51. </view>
  52. </view>
  53. <!--下一步按钮-->
  54. <button @click="onNextClick" class="bottomBtn">
  55. 立即认证
  56. </button>
  57. </view>
  58. </template>
  59. <script>
  60. import '../../common.css'; // 引入公共 CSS 文件
  61. export default {
  62. data() {
  63. return {
  64. name: 'xiaohua',
  65. idCard: '2101472154874512',
  66. yxzzFileList: [
  67. {url: 'https://cdn.uviewui.com/uview/swiper/2.jpg'},
  68. ],
  69. qtzzFileList: [
  70. {url: 'https://cdn.uviewui.com/uview/swiper/2.jpg'},
  71. ],
  72. }
  73. },
  74. methods: {
  75. onNextClick() {
  76. this.$utils.navigateTo("/mine/purse");
  77. },
  78. yxzzDeleteImage(e){
  79. this.yxzzFileList.splice(e.index, 1)
  80. },
  81. qtzzDeleteImage(e){
  82. this.qtzzFileList.splice(e.index, 1)
  83. },
  84. yxzzAfterRead(e){
  85. let self = this
  86. e.file.forEach(file => {
  87. self.$Oss.ossUpload(file.url).then(url => {
  88. self.yxzzFileList.push({
  89. url
  90. })
  91. })
  92. })
  93. },
  94. qtzzAfterRead(e){
  95. let self = this
  96. e.file.forEach(file => {
  97. self.$Oss.ossUpload(file.url).then(url => {
  98. self.qtzzFileList.push({
  99. url
  100. })
  101. })
  102. })
  103. },
  104. }
  105. }
  106. </script>
  107. <style scoped lang="scss">
  108. * {
  109. box-sizing: border-box;
  110. margin: 0;
  111. padding: 0;
  112. }
  113. .auth-firm {
  114. .container {
  115. padding: 100rpx 50rpx 50rpx 50rpx;
  116. //border: 1px solid red;
  117. .header {
  118. margin-bottom: 40rpx;
  119. font-size: 28rpx;
  120. color: #666;
  121. }
  122. .form-item {
  123. margin-bottom: 40rpx;
  124. .label {
  125. font-size: 36rpx;
  126. margin-bottom: 10px;
  127. display: block;
  128. }
  129. .input {
  130. width: 100vw;
  131. font-size: 38rpx;
  132. margin-top: 40rpx;
  133. }
  134. .upload {
  135. }
  136. }
  137. }
  138. .agree {
  139. display: flex;
  140. justify-content: center;
  141. position: fixed;
  142. bottom: 12%;
  143. width: 100vw;
  144. }
  145. }
  146. </style>