credit.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <view class="text-color-333" style="position: relative;left: -15rpx;">
  3. <view class="property content p-30 sys-background-fff r-30">
  4. <view class=" size-26">
  5. <!-- 房产信息 -->
  6. <view class="">
  7. <view class="row-c">
  8. <view class="dot"></view>
  9. <text class="sys-weight-600 m-l10">征信信息</text>
  10. </view>
  11. <view class="property-box-one r-20 m-t30 p-20">
  12. <view class="sys-from-background-color m-t20 p-20 r-20">
  13. <view class="m-b20">征信照片</view>
  14. <view class="row-c">
  15. <!-- <image class="picture m-r20 r-10" :src="property.data.certificate_img"-->
  16. <!-- mode="aspectFill">-->
  17. <!-- </image>-->
  18. <en-image @onShowImg="onPreviewImage" :img="creditData.credit_img"></en-image>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. import EnImage from "@/components/en-utils/en-image/en-image.vue";
  29. import EnBlank from "@/components/en-utils/en-blank/en-blank.vue";
  30. export default {
  31. name:'credit-list',
  32. components: {
  33. EnBlank,
  34. EnImage
  35. },
  36. props: {
  37. creditData: {
  38. default: {
  39. 'credit_img':[]
  40. }
  41. },
  42. creditKey: {
  43. default: []
  44. }
  45. },
  46. data() {
  47. return {}
  48. },
  49. methods: {
  50. onPreviewImage(url) {
  51. this.$emit('onShowImg', url)
  52. },
  53. verifyKey(key) {
  54. return this.creditKey.indexOf(key) >= 0
  55. }
  56. },
  57. }
  58. </script>
  59. <style lang="scss" scoped>
  60. .property {
  61. padding-top: 90rpx;
  62. background-image: url('/page_task/static/img/task-details/bg-four.png');
  63. background-repeat: no-repeat;
  64. background-size: 100% auto;
  65. .bg-box {
  66. width: 710rpx;
  67. height: 80rpx;
  68. }
  69. .dot {
  70. width: 12rpx;
  71. height: 12rpx;
  72. border-radius: 50%;
  73. background: #0FB160;
  74. }
  75. }
  76. .property-box-one {
  77. position: relative;
  78. background: linear-gradient(161deg, #B0FDB3 0%, #5EDE9D 100%);
  79. }
  80. .property-box-two {
  81. position: relative;
  82. background: linear-gradient(161deg, #FFE2E2 0%, #FBCACA 100%);
  83. .two-text {
  84. background: #D06565;
  85. }
  86. .picture {
  87. width: 160rpx;
  88. height: 190rpx;
  89. display: block;
  90. }
  91. }
  92. .property-box-three {
  93. position: relative;
  94. background: linear-gradient(161deg, #CDE7FD 0%, #B6D2FB 100%);
  95. .two-text {
  96. background: #2E86F4;
  97. }
  98. .picture {
  99. width: 160rpx;
  100. height: 90rpx;
  101. display: block;
  102. border-radius: 10rpx;
  103. }
  104. }
  105. .property-box-four {
  106. position: relative;
  107. background: linear-gradient(161deg, #F4DCBD 0%, #EEC398 100%);
  108. .two-text {
  109. background: #C37929;
  110. }
  111. .picture {
  112. width: 160rpx;
  113. height: 90rpx;
  114. display: block;
  115. border-radius: 10rpx;
  116. }
  117. }
  118. .property-icon {
  119. position: absolute;
  120. right: 40rpx;
  121. top: 12rpx;
  122. }
  123. .capsule {
  124. color: #fff;
  125. height: 50rpx;
  126. line-height: 50rpx;
  127. border-radius: 99rpx;
  128. background: #0FB160;
  129. text-align: center;
  130. padding: 0 20rpx;
  131. margin-right: 10rpx;
  132. }
  133. .card {
  134. width: 160rpx;
  135. height: 90rpx;
  136. display: block;
  137. }
  138. </style>