third_party.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <template>
  2. <view class="text-color-333">
  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 :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 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" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/task/task-put.png" mode=""></image>
  49. <view class="m-l30">
  50. <text class="size-24 text-color-333">{{bank.bank_name}}</text>
  51. <view class="size-28 sys-weight-600 m-t10">{{bank.bank_num}}</view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. import EnImage from "@/components/en-utils/en-image/en-image.vue";
  63. export default {
  64. components: {EnImage},
  65. props: {
  66. tripartite: {
  67. default: []
  68. },
  69. tripartiteKey:{
  70. default :[]
  71. }
  72. },
  73. data() {
  74. return {}
  75. },
  76. methods: {
  77. verifyKey(key){
  78. return this.tripartiteKey.indexOf(key)>=0
  79. }
  80. },
  81. }
  82. </script>
  83. <style lang="scss" scoped>
  84. .apply {
  85. padding-top: 90rpx;
  86. background-image: url('/page_task/static/img/task-details/bg-three.png');
  87. background-repeat: no-repeat;
  88. background-size: 100% auto;
  89. .bg-box {
  90. width: 710rpx;
  91. height: 80rpx;
  92. }
  93. .dot {
  94. width: 12rpx;
  95. height: 12rpx;
  96. border-radius: 50%;
  97. background: #0FB160;
  98. }
  99. }
  100. .apply-box {
  101. background: linear-gradient(163deg, #EDC397 0%, #F3DBBC 100%);
  102. .capsule {
  103. display: inline-block;
  104. background: #FFE6C8;
  105. width: 185rpx;
  106. height: 42rpx;
  107. line-height: 42rpx;
  108. border-radius: 99rpx;
  109. text-align: center;
  110. }
  111. }
  112. .card {
  113. width: 160rpx;
  114. height: 90rpx;
  115. display: block;
  116. }
  117. .message-box {
  118. background: linear-gradient(180deg, #FFEEE4 0%, #FFFFFF 100%);
  119. }
  120. .message-box:last-child {
  121. margin-bottom: 0;
  122. }
  123. .title-text {
  124. display: inline-block;
  125. width: 172rpx;
  126. height: 45rpx;
  127. line-height: 45rpx;
  128. text-align: center;
  129. background: #FFE6C8;
  130. border-radius: 10rpx 0rpx 10rpx 0rpx;
  131. }
  132. </style>