property.vue 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <template>
  2. <view class="text-color-333">
  3. <view class="property content p-30 sys-background-fff r-30">
  4. <view v-for="(property,propertyKey) in propertyList" class=" size-26">
  5. <!-- 房产信息 -->
  6. <view v-if="property.property_type===1" 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="" v-if="verifyKey('property_owner')">
  13. <text class="size-32 color-11003B sys-weight-600">{{property.data.property_owner}}</text>
  14. <text class="size-24 color-6E6686 m-l10">产权人</text>
  15. </view>
  16. <view class="size-26 m-tb10">
  17. <text class="capsule" v-if="verifyKey('house_city')">{{property.data.house_city}}</text>
  18. <text class="capsule" v-if="verifyKey('build_date')">{{property.data.build_date}}年建</text>
  19. <text class="capsule" v-if="verifyKey('covered_area')">{{property.data.covered_area}}m²</text>
  20. </view>
  21. <view class="sys-background-fff r-20 p-20">
  22. <view class="" v-if="verifyKey('deed_num')">
  23. <text class="text-color-666">房产证号</text>
  24. <text class="m-l10">{{property.data.deed_num}}</text>
  25. </view>
  26. <view class="row-c m-tb20" v-if="verifyKey('is_pay')">
  27. <image class="wh-30 m-r20" src="/page_task/static/img/task-details/money.png" mode="aspectFill">
  28. </image>
  29. <text>{{property.data.is_pay===1?'已支付材料费':'未支付材料费'}}</text>
  30. </view>
  31. <view class="row m-t20" v-if="verifyKey('house_city')">
  32. <image class="wh-30 m-r20 p-t6" src="/page_task/static/img/task-details/address-two.png"
  33. mode="aspectFill">
  34. </image>
  35. <view class="flex">
  36. <text class="flex">{{property.data.house_city}}{{property.data.house_address}}</text>
  37. <!-- <image class="card r-20 m-t20" src="/page_task/static/img/task-details/front.png"-->
  38. <!-- mode="aspectFill">-->
  39. <!-- </image>-->
  40. </view>
  41. </view>
  42. <view class="sys-from-background-color m-t20 p-20 r-20" v-if="verifyKey('certificate_img')">
  43. <view class="m-b20">房产证件</view>
  44. <view class="row-c">
  45. <!-- <image class="picture m-r20 r-10" :src="property.data.certificate_img"-->
  46. <!-- mode="aspectFill">-->
  47. <!-- </image>-->
  48. <en-image :img="property.data.certificate_img"></en-image>
  49. </view>
  50. </view>
  51. <view class="sys-from-background-color m-t20 p-20 r-20" v-if="property.data.property && property.data.property.length>0">
  52. <view class="m-b20">房产关联图片</view>
  53. <view class="row-c">
  54. <!-- <image class="picture m-r20 r-10" :src="property.data.property" mode="aspectFill">-->
  55. <!-- </image>-->
  56. <en-image :img="property.data.property"></en-image>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. <!-- 保单信息 -->
  63. <view v-else-if="property.property_type===2" class="m-t30">
  64. <view class="row-c">
  65. <view class="dot"></view>
  66. <text class="sys-weight-600 m-l10">保单信息</text>
  67. </view>
  68. <view class="property-box-two r-20 m-t30 p-20" v-if="verifyKey('insurance_name')">
  69. <view class="">
  70. <text class="size-32 color-11003B sys-weight-600">{{property.data.insurance_name}}</text>
  71. <text class="size-24 color-6E6686 m-l10">公司</text>
  72. </view>
  73. <view class="size-26 m-tb10">
  74. <text class="capsule two-text" v-if="verifyKey('insurance_type')">{{property.data.insurance_type}}</text>
  75. <text class="capsule two-text" v-if="verifyKey('year_money')">{{property.data.year_money}}元/年</text>
  76. </view>
  77. <view class="sys-background-fff r-20 p-20">
  78. <view class="" v-if="verifyKey('validity_date')">
  79. <text class="text-color-666">有效期</text>
  80. <text class="m-l10">{{property.data.validity_date}}</text>
  81. </view>
  82. <view class="row-c m-tb20" v-if="verifyKey('is_fees')">
  83. <image class="wh-30 m-r20" src="/page_task/static/img/task-details/money.png" mode="aspectFill">
  84. </image>
  85. <text>{{property.data.is_fees===1?'满足缴费情况':'未满足缴费情况'}}</text>
  86. </view>
  87. <view class="sys-from-background-color m-t20 p-20 r-20" v-if="verifyKey('insurance_img')">
  88. <view class="m-b20">保单照片</view>
  89. <view class="row-c">
  90. <en-image :img="property.data.insurance_img"></en-image>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. </view>
  96. <!-- 车辆信息 -->
  97. <view v-else-if="property.property_type===3" class="m-t30">
  98. <view class="row-c">
  99. <view class="dot"></view>
  100. <text class="sys-weight-600 m-l10">车辆信息</text>
  101. </view>
  102. <view class="property-box-three r-20 m-t30 p-20">
  103. <view class="" v-if="verifyKey('brand_name')">
  104. <text class="size-32 color-11003B sys-weight-600">{{property.data.brand_name}}</text>
  105. <text class="size-24 color-6E6686 m-l10">品牌</text>
  106. </view>
  107. <view class="size-26 m-tb10">
  108. <text class="capsule two-text" v-if="verifyKey('colour')">{{property.data.colour}}</text>
  109. <text class="capsule two-text" v-if="verifyKey('register_date')">{{property.data.register_date}}年登记</text>
  110. <text class="capsule two-text" v-if="verifyKey('car_price')">{{property.data.car_price}}万元</text>
  111. </view>
  112. <view class="sys-background-fff r-20 p-20">
  113. <view class="" v-if="verifyKey('car_num')">
  114. <text class="text-color-666">车牌号</text>
  115. <text class="m-l10">{{property.data.car_num}}</text>
  116. </view>
  117. <view class="m-tb16" v-if="verifyKey('car_vin')">
  118. <text class="text-color-666">车架号</text>
  119. <text class="m-l10">{{property.data.car_vin}}</text>
  120. </view>
  121. <view class="" v-if="verifyKey('car_type')">
  122. <text class="text-color-666">车牌类型</text>
  123. <text class="m-l10">{{property.data.car_type===1?'运营车':'非运营车'}}</text>
  124. </view>
  125. <view class="sys-from-background-color m-t20 p-20 r-20">
  126. <view class="row-c" v-if="verifyKey('register_img')">
  127. <view class="">
  128. <text class="size-24">行驶证</text>
  129. <en-image :img="property.data.register_img"></en-image>
  130. </view>
  131. <view class="m-l20" v-if="verifyKey('driving_img')">
  132. <text class="size-24">车辆登记证</text>
  133. <en-image :img="property.data.driving_img"></en-image>
  134. </view>
  135. </view>
  136. <view class="row-c" v-if="verifyKey('car_img')">
  137. <view class="">
  138. <view class="size-24 m-t20">车辆照片</view>
  139. <view class="row-c m-t10" style="flex-wrap: wrap;">
  140. <en-image :img="property.data.car_img"></en-image>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. <!-- 企业信息 -->
  149. <view v-else-if="property.property_type===4" class="m-t30">
  150. <view class="row-c">
  151. <view class="dot"></view>
  152. <text class="sys-weight-600 m-l10">企业信息</text>
  153. </view>
  154. <view class="property-box-four r-20 m-t30 p-20">
  155. <view class="" v-if="verifyKey('firm_name')">
  156. <text class="size-32 color-11003B sys-weight-600">{{property.data.firm_name}}</text>
  157. </view>
  158. <view class="size-26 m-tb10">
  159. <text class="capsule two-text" v-if="verifyKey('establish_city')">{{property.data.establish_city}}</text>
  160. <text class="capsule two-text" v-if="verifyKey('establish_date')">{{property.data.establish_date}}成立</text>
  161. </view>
  162. <view class="sys-background-fff r-20 p-20">
  163. <view class="" v-if="verifyKey('year_tax')">
  164. <text class="text-color-666">年交税额</text>
  165. <text class="m-l10">{{property.data.year_tax}}元</text>
  166. </view>
  167. <view class="m-tb16" v-if="verifyKey('year_invoice')">
  168. <text class="text-color-666">年开票额</text>
  169. <text class="m-l10">{{property.data.year_invoice}}元</text>
  170. </view>
  171. <view class="" v-if="verifyKey('tax_grade_name')">
  172. <text class="text-color-666">税务登记</text>
  173. <text class="m-l10">{{property.data.tax_grade_name}}级</text>
  174. </view>
  175. <view class="row-c m-tb20" v-if="verifyKey('is_end_tax')">
  176. <image class="wh-30 m-r20" src="/page_task/static/img/task-details/money.png" mode="aspectFill">
  177. </image>
  178. <text>{{property.data.is_end_tax===1?'无税务断缴情况':'有税务断缴情况'}}</text>
  179. </view>
  180. <view class="row m-t20" v-if="verifyKey('establish_address')">
  181. <image class="wh-30 m-r20 p-t6" src="/page_task/static/img/task-details/address-two.png"
  182. mode="aspectFill">
  183. </image>
  184. <view class="flex">
  185. <text class="flex">{{property.data.establish_address}}</text>
  186. <image class="card r-20 m-t20" src="/page_task/static/img/task-details/front.png"
  187. mode="aspectFill"></image>
  188. </view>
  189. </view>
  190. <view class="sys-from-background-color m-t20 p-20 r-20" v-if="verifyKey('firm_img')">
  191. <view class="size-24">企业照片</view>
  192. <view class="row-c m-t10" style="flex-wrap: wrap;">
  193. <en-image :img="property.data.firm_img"></en-image>
  194. </view>
  195. </view>
  196. </view>
  197. </view>
  198. </view>
  199. </view>
  200. <en-blank v-if="propertyList.length<=0"></en-blank>
  201. </view>
  202. </view>
  203. </template>
  204. <script>
  205. import EnImage from "@/components/en-utils/en-image/en-image.vue";
  206. import EnBlank from "@/components/en-utils/en-blank/en-blank.vue";
  207. export default {
  208. components: {EnBlank, EnImage},
  209. props: {
  210. propertyList: {
  211. default: []
  212. },
  213. propertyKey:{
  214. default: []
  215. }
  216. },
  217. data() {
  218. return {}
  219. },
  220. methods: {
  221. verifyKey(key){
  222. return this.propertyKey.indexOf(key)>=0
  223. }
  224. },
  225. }
  226. </script>
  227. <style lang="scss" scoped>
  228. .property {
  229. padding-top: 90rpx;
  230. background-image: url('/page_task/static/img/task-details/bg-four.png');
  231. background-repeat: no-repeat;
  232. background-size: 100% auto;
  233. .bg-box {
  234. width: 710rpx;
  235. height: 80rpx;
  236. }
  237. .dot {
  238. width: 12rpx;
  239. height: 12rpx;
  240. border-radius: 50%;
  241. background: #0FB160;
  242. }
  243. }
  244. .property-box-one {
  245. position: relative;
  246. background: linear-gradient(161deg, #B0FDB3 0%, #5EDE9D 100%);
  247. }
  248. .property-box-two {
  249. position: relative;
  250. background: linear-gradient(161deg, #FFE2E2 0%, #FBCACA 100%);
  251. .two-text {
  252. background: #D06565;
  253. }
  254. .picture {
  255. width: 160rpx;
  256. height: 190rpx;
  257. display: block;
  258. }
  259. }
  260. .property-box-three {
  261. position: relative;
  262. background: linear-gradient(161deg, #CDE7FD 0%, #B6D2FB 100%);
  263. .two-text {
  264. background: #2E86F4;
  265. }
  266. .picture {
  267. width: 160rpx;
  268. height: 90rpx;
  269. display: block;
  270. border-radius: 10rpx;
  271. }
  272. }
  273. .property-box-four {
  274. position: relative;
  275. background: linear-gradient(161deg, #F4DCBD 0%, #EEC398 100%);
  276. .two-text {
  277. background: #C37929;
  278. }
  279. .picture {
  280. width: 160rpx;
  281. height: 90rpx;
  282. display: block;
  283. border-radius: 10rpx;
  284. }
  285. }
  286. .property-icon {
  287. position: absolute;
  288. right: 40rpx;
  289. top: 12rpx;
  290. }
  291. .capsule {
  292. color: #fff;
  293. height: 50rpx;
  294. line-height: 50rpx;
  295. border-radius: 99rpx;
  296. background: #0FB160;
  297. text-align: center;
  298. padding: 0 20rpx;
  299. margin-right: 10rpx;
  300. }
  301. .card {
  302. width: 160rpx;
  303. height: 90rpx;
  304. display: block;
  305. }
  306. </style>