瀏覽代碼

物业租售列表分割

master
王饶冀 2 年之前
父節點
當前提交
5e6a156df9

+ 14
- 2
digital-park-web/digital-park/src/views/investment-service/InvestmentServiceList/components/PropertyManage.vue 查看文件

@@ -30,8 +30,8 @@
<span class="main-price">面议</span>
</div>
<div class="main-showPrice" v-else>
<span class="main-price">{{ item.housingInformationList[0].price }}</span>
<span>{{ item.housingInformationList[0].unit }}</span>
<span class="main-price">{{ getShowPrice(item).price }}</span>
<span>{{ getShowPrice(item).unit }}</span>
</div>
<div class="main-showTotalPrice">
总价:{{ item.housingInformationList[0].showTotalPrice }}
@@ -66,6 +66,18 @@ export default {
},
});
},
getShowPrice(item){
let showPrice = item.housingInformationList[0].showPrice;
if(showPrice && showPrice !== '面议'){
let price = "4000元/㎡/天".split('/')[0];
let unit = showPrice.replace(price,'')
return {
price,
unit
}
}
return "面议"
},
// 获取详情
getDesc(item){
let str = `最短起租:${ item.shortestRent } | 总面积:${ item.totalArea }m² | 支付方式:${ item.payment } | ${ item.type }`

Loading…
取消
儲存