third_party.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <template>
  2. <view class="text-color-333" style="position: relative;left: -15rpx;">
  3. <view class="apply content p-30 sys-background-fff r-30" :style="{height}">
  4. <view class="size-26" v-for="(item,index) in tripartite">
  5. <view class="">
  6. <view class="row-c">
  7. <view class="dot"></view>
  8. <text class="sys-weight-600 m-l10">{{item.type===1?'个人':'企业'}}担保信息</text>
  9. </view>
  10. <!-- 个人担保信息 -->
  11. <view v-if="item.type===1" class="sys-from-background-color r-30 p-20 m-t30">
  12. <view class="row-c">
  13. <view class="m-r40">
  14. <text class="text-color-666">担保类型</text>
  15. <text class="m-l16">个人</text>
  16. </view>
  17. <view class="m-l40" v-if="verifyKey('name')">
  18. <text class="text-color-666">担保人姓名</text>
  19. <text class="m-l16">{{item.name}}</text>
  20. </view>
  21. </view>
  22. <view class="row-c m-t20" v-if="verifyKey('identity_one')">
  23. <EnImage @onShowImg="onPreviewImage" :list="[item.identity_one,item.identity_two]">
  24. </EnImage>
  25. </view>
  26. </view>
  27. <!-- 担保类型 -->
  28. <view v-else class="sys-from-background-color r-30 p-20 m-t30">
  29. <view class="">
  30. <text class="text-color-666">担保类型</text>
  31. <text class="m-l16">企业</text>
  32. </view>
  33. <view class="m-tb16" v-if="verifyKey('name')">
  34. <text class="text-color-666">企业名称</text>
  35. <text class="m-l16">{{item.name}}</text>
  36. </view>
  37. <view class="" v-if="verifyKey('id_number')">
  38. <text class="text-color-666">营业执照编号</text>
  39. <text class="m-l16">{{item.id_number}}</text>
  40. </view>
  41. <EnImage @onShowImg="onPreviewImage" v-if="verifyKey('identity_one')"
  42. :list="[item.identity_one]"></EnImage>
  43. </view>
  44. </view>
  45. <view class="m-t20 color-4A2600">
  46. <view class="apply-box p-20 r-20">
  47. <view class="message-box r-20 m-b20" v-for="(bank,bankIndex) in item.bank_data" :key="index">
  48. <text class="title-text sys-weight-600">银行信息({{bankIndex+1}})</text>
  49. <view class="row-c p-20">
  50. <image class="wh-60"
  51. src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task/task-put.png"
  52. mode=""></image>
  53. <view class="m-l30">
  54. <text class="size-24 text-color-333">{{bank.bank_name}}</text>
  55. <view class="size-28 sys-weight-600 m-t10">{{bank.bank_num}}</view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. </template>
  65. <script>
  66. import EnImage from "@/components/en-utils/en-image/en-image.vue";
  67. export default {
  68. components: {
  69. EnImage
  70. },
  71. props: {
  72. height: {
  73. type: String,
  74. default: '100%'
  75. },
  76. tripartite: {
  77. default: []
  78. },
  79. tripartiteKey: {
  80. default: []
  81. }
  82. },
  83. data() {
  84. return {}
  85. },
  86. methods: {
  87. onPreviewImage(url) {
  88. this.$emit('onShowImg', url)
  89. },
  90. verifyKey(key) {
  91. return this.tripartiteKey.indexOf(key) >= 0
  92. }
  93. },
  94. }
  95. </script>
  96. <style lang="scss" scoped>
  97. .apply {
  98. padding-top: 90rpx;
  99. background-image: url('/page_task/static/img/task-details/bg-three.png');
  100. background-repeat: no-repeat;
  101. background-size: 100% auto;
  102. overflow: hidden;
  103. .bg-box {
  104. width: 710rpx;
  105. height: 80rpx;
  106. }
  107. .dot {
  108. width: 12rpx;
  109. height: 12rpx;
  110. border-radius: 50%;
  111. background: #0FB160;
  112. }
  113. }
  114. .apply-box {
  115. background: linear-gradient(163deg, #EDC397 0%, #F3DBBC 100%);
  116. .capsule {
  117. display: inline-block;
  118. background: #FFE6C8;
  119. width: 185rpx;
  120. height: 42rpx;
  121. line-height: 42rpx;
  122. border-radius: 99rpx;
  123. text-align: center;
  124. }
  125. }
  126. .card {
  127. width: 160rpx;
  128. height: 90rpx;
  129. display: block;
  130. }
  131. .message-box {
  132. background: linear-gradient(180deg, #FFEEE4 0%, #FFFFFF 100%);
  133. }
  134. .message-box:last-child {
  135. margin-bottom: 0;
  136. }
  137. .title-text {
  138. display: inline-block;
  139. width: 172rpx;
  140. height: 45rpx;
  141. line-height: 45rpx;
  142. text-align: center;
  143. background: #FFE6C8;
  144. border-radius: 10rpx 0rpx 10rpx 0rpx;
  145. }
  146. </style>