third_party.vue 3.9 KB

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