Commit bcc6a20f authored by Hsinli's avatar Hsinli

adddd

parent e7a881a5
Pipeline #7098 passed with stage
in 9 seconds
...@@ -167,7 +167,7 @@ class NewHouseService extends Service { ...@@ -167,7 +167,7 @@ class NewHouseService extends Service {
description: data.description,//描述 description: data.description,//描述
tags: data.tags ? eval(data.tags) : [],//项目特色 tags: data.tags ? eval(data.tags) : [],//项目特色
favourable_info: data.favourableInfo,//优惠 favourable_info: data.favourableInfo,//优惠
reference_avg_price: (data.referenceAvgPrice === 0 || data.referenceAvgPrice === '') ? '--' : data.referenceAvgPrice,//均价 reference_avg_price: data.referenceAvgPrice === 0 ? '--' : data.referenceAvgPrice,//均价
reference_total_price: data.referenceTotalPrice === 0 ? '--' : data.referenceTotalPrice,//总价 reference_total_price: data.referenceTotalPrice === 0 ? '--' : data.referenceTotalPrice,//总价
property_type: houseType[data.houseType] || '',//物业类型 property_type: houseType[data.houseType] || '',//物业类型
} }
...@@ -185,7 +185,7 @@ class NewHouseService extends Service { ...@@ -185,7 +185,7 @@ class NewHouseService extends Service {
} }
ret.detail = { ret.detail = {
basic: { basic: {
reference_avg_price: (data.referenceAvgPrice === 0 || data.referenceAvgPrice === '') ? '--' : data.referenceAvgPrice,//均价 reference_avg_price: data.referenceAvgPrice === 0 ? '--' : data.referenceAvgPrice,//均价
tags: data.tags ? eval(data.tags) : [],//项目特色 tags: data.tags ? eval(data.tags) : [],//项目特色
property_type: houseType[data.houseType] || '',//物业类型 property_type: houseType[data.houseType] || '',//物业类型
property_right_years: data.residential.propertyRightYears,//产权年限 property_right_years: data.residential.propertyRightYears,//产权年限
...@@ -297,7 +297,7 @@ class NewHouseService extends Service { ...@@ -297,7 +297,7 @@ class NewHouseService extends Service {
area: data.area,//面积 area: data.area,//面积
orientation: data.orientation,//朝向 orientation: data.orientation,//朝向
num: data.num,//房源数量 num: data.num,//房源数量
price: data.price,//价格 price: data.price === 0 ? '--' : data.price,//价格
discount: data.discount,//折扣 discount: data.discount,//折扣
tag: data.tags ? eval(data.tags) : [],//特点 tag: data.tags ? eval(data.tags) : [],//特点
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment