|
@@ -284,9 +284,18 @@ class Index extends Component {
|
|
|
<View className="s" key={tagIndex}>{tag}</View>
|
|
|
)
|
|
|
})
|
|
|
+
|
|
|
+ const dictData = Taro.getStorageSync('dictData')
|
|
|
+ const product_type = curObj.product_type ? curObj.product_type.split(',') : []
|
|
|
+ let productTypeName = product_type.map(v => {
|
|
|
+ return arrToObj(dictData.product_type)[v]
|
|
|
+ })
|
|
|
+ productTypeName = productTypeName.length > 0 ? `[${productTypeName.join(',')}]` : ''
|
|
|
return (
|
|
|
<View className="dtl-info">
|
|
|
- <View className="di-title">{curObj.estate_name}</View>
|
|
|
+ <View className="di-title">{curObj.estate_name}
|
|
|
+ <View className="dt-sign">{productTypeName}</View>
|
|
|
+ </View>
|
|
|
<View className="di-sign">
|
|
|
<View className="l">¥{curObj.price_range || 'loading'}/㎡</View>
|
|
|
{
|