credit.vue 3.0 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" :style="{height}">
  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. height: {
  38. type: String,
  39. default: '100%'
  40. },
  41. creditData: {
  42. default: {
  43. 'credit_img': []
  44. }
  45. },
  46. creditKey: {
  47. default: []
  48. }
  49. },
  50. data() {
  51. return {}
  52. },
  53. methods: {
  54. onPreviewImage(url) {
  55. this.$emit('onShowImg', url)
  56. },
  57. verifyKey(key) {
  58. return this.creditKey.indexOf(key) >= 0
  59. }
  60. },
  61. }
  62. </script>
  63. <style lang="scss" scoped>
  64. .property {
  65. padding-top: 90rpx;
  66. background-image: url('/page_task/static/img/task-details/bg-four.png');
  67. background-repeat: no-repeat;
  68. background-size: 100% auto;
  69. overflow: hidden;
  70. .bg-box {
  71. width: 710rpx;
  72. height: 80rpx;
  73. }
  74. .dot {
  75. width: 12rpx;
  76. height: 12rpx;
  77. border-radius: 50%;
  78. background: #0FB160;
  79. }
  80. }
  81. .property-box-one {
  82. position: relative;
  83. background: linear-gradient(161deg, #B0FDB3 0%, #5EDE9D 100%);
  84. }
  85. .property-box-two {
  86. position: relative;
  87. background: linear-gradient(161deg, #FFE2E2 0%, #FBCACA 100%);
  88. .two-text {
  89. background: #D06565;
  90. }
  91. .picture {
  92. width: 160rpx;
  93. height: 190rpx;
  94. display: block;
  95. }
  96. }
  97. .property-box-three {
  98. position: relative;
  99. background: linear-gradient(161deg, #CDE7FD 0%, #B6D2FB 100%);
  100. .two-text {
  101. background: #2E86F4;
  102. }
  103. .picture {
  104. width: 160rpx;
  105. height: 90rpx;
  106. display: block;
  107. border-radius: 10rpx;
  108. }
  109. }
  110. .property-box-four {
  111. position: relative;
  112. background: linear-gradient(161deg, #F4DCBD 0%, #EEC398 100%);
  113. .two-text {
  114. background: #C37929;
  115. }
  116. .picture {
  117. width: 160rpx;
  118. height: 90rpx;
  119. display: block;
  120. border-radius: 10rpx;
  121. }
  122. }
  123. .property-icon {
  124. position: absolute;
  125. right: 40rpx;
  126. top: 12rpx;
  127. }
  128. .capsule {
  129. color: #fff;
  130. height: 50rpx;
  131. line-height: 50rpx;
  132. border-radius: 99rpx;
  133. background: #0FB160;
  134. text-align: center;
  135. padding: 0 20rpx;
  136. margin-right: 10rpx;
  137. }
  138. .card {
  139. width: 160rpx;
  140. height: 90rpx;
  141. display: block;
  142. }
  143. </style>