|
@@ -530,7 +530,7 @@ export default class Index extends Component {
|
530
|
530
|
|
531
|
531
|
renderBuildingProjectTypeList() {
|
532
|
532
|
const { statusOpts } = this.state
|
533
|
|
- const { projectDetail: { buildingProjectType = [], status } } = this.props
|
|
533
|
+ const { projectDetail: { buildingProjectType = [], status,marketStatus } } = this.props
|
534
|
534
|
return (
|
535
|
535
|
<Block>
|
536
|
536
|
{
|
|
@@ -545,7 +545,11 @@ export default class Index extends Component {
|
545
|
545
|
<View className='type-intro__item' key={item.buildingId} style={`background: url(${buildBg}) no-repeat center;background-size: 100% 100%;`}>
|
546
|
546
|
|
547
|
547
|
<View >
|
548
|
|
- <Text className='type-status'>{statusOpts[status]}</Text>
|
|
548
|
+
|
|
549
|
+ {marketStatus &&
|
|
550
|
+ <Text className='item__status' className={marketStatus == '在售' ? 'item__status sale' : marketStatus == '售罄' ? 'item__status soldout' : 'item__status waitsale'}>{marketStatus}</Text>
|
|
551
|
+ }
|
|
552
|
+ {/* <Text className='type-status'>{statusOpts[status]}</Text> */}
|
549
|
553
|
{/* <Icon className="iconfont icon-jinrongxianxingge-" onClick={this.handleToolsClick}></Icon> */}
|
550
|
554
|
<View className='row' style="margin-top:0">
|
551
|
555
|
<Text className='row-label'>项目类型:</Text>
|