| @@ -25,7 +25,7 @@ | |||
| </div> | |||
| </div> | |||
| <div class="main-right fr"> | |||
| <div class="main-showPrice" v-if="item.housingInformationList[0].showTotalPrice == '面议'"> | |||
| <div class="main-showPrice" v-if="item.showTotalPrice == '面议'"> | |||
| <span class="main-price">面议</span> | |||
| </div> | |||
| <div class="main-showPrice" v-else> | |||
| @@ -33,7 +33,7 @@ | |||
| <span>{{ getShowPrice(item).unit }}</span> | |||
| </div> | |||
| <div class="main-showTotalPrice"> | |||
| 总价:{{ item.housingInformationList[0].showTotalPrice }} | |||
| 总价:{{ item.showTotalPrice }} | |||
| </div> | |||
| </div> | |||
| </div> | |||
| @@ -66,7 +66,7 @@ export default { | |||
| }); | |||
| }, | |||
| getShowPrice(item){ | |||
| let showPrice = item.housingInformationList[0].showPrice; | |||
| let showPrice = item.showPrice; | |||
| if(showPrice && showPrice !== '面议'){ | |||
| let price = showPrice.split('/')[0]; | |||
| let unit = showPrice.replace(price,'') | |||
| @@ -82,16 +82,6 @@ export default { | |||
| let str = `最短起租:${ item.shortestRent } | 总面积:${ item.totalArea }m² | 支付方式:${ item.payment } | ${ item.type }` | |||
| return str | |||
| }, | |||
| // 获取可选 | |||
| getOptional(item) { | |||
| let decoration = []; | |||
| item.housingInformationList.forEach((el) => { | |||
| if (!decoration.includes(el.decoration)) { | |||
| decoration.push(el.decoration); | |||
| } | |||
| }); | |||
| return "可选:" + decoration.join("、"); | |||
| }, | |||
| // 获取房源优势颜色 | |||
| getListingColor(item) { | |||
| let wuyeguanli_fangyuanyoushi = | |||