|
@@ -800,8 +800,8 @@ export default class Index extends Component {
|
800
|
800
|
>
|
801
|
801
|
<View className="type-intro__list">
|
802
|
802
|
{
|
803
|
|
- buildingProjectType.map((item,index) => (
|
804
|
|
- <View className={buildingProjectType.length == 1 ? 'onlyone type-intro__item' : 'type-intro__item'} key={index+'detailBuildingId'} style={`background: url(${transferImage(buildBg)}) no-repeat center;background-size: 100% 100%;`}>
|
|
803
|
+ buildingProjectType.map((item, index) => (
|
|
804
|
+ <View className={buildingProjectType.length == 1 ? 'onlyone type-intro__item' : 'type-intro__item'} key={index + 'detailBuildingId'} style={`background: url(${transferImage(buildBg)}) no-repeat center;background-size: 100% 100%;`}>
|
805
|
805
|
<View >
|
806
|
806
|
{marketStatus &&
|
807
|
807
|
<Text className='item__status' className={marketStatus == '在售' ? 'item__status sale' : marketStatus == '售罄' ? 'item__status soldout' : 'item__status waitsale'}>{marketStatus}</Text>
|
|
@@ -815,7 +815,7 @@ export default class Index extends Component {
|
815
|
815
|
<View className='row'>
|
816
|
816
|
<Text className='row-label'>项目参考价格:</Text>
|
817
|
817
|
{
|
818
|
|
- item.price ? <Text className='row-txt'>约{item.price}元/m²</Text> : <Text className='row-txt'>待定</Text>
|
|
818
|
+ item.price ? <Text className='row-txt'>约{item.price}{item.priceType == 'total' ? '万元/套' : '元/m²'}</Text> : <Text className='row-txt'>待定</Text>
|
819
|
819
|
}
|
820
|
820
|
</View>
|
821
|
821
|
<View className='row'>
|
|
@@ -963,8 +963,8 @@ export default class Index extends Component {
|
963
|
963
|
</View>
|
964
|
964
|
<View className="section-content">
|
965
|
965
|
{
|
966
|
|
- consultants.slice(0, 3).map((item,index) => (
|
967
|
|
- <View className="item" key={index+'detailId'} >
|
|
966
|
+ consultants.slice(0, 3).map((item, index) => (
|
|
967
|
+ <View className="item" key={index + 'detailId'} >
|
968
|
968
|
<View className="flex">
|
969
|
969
|
<Image className="avatar" mode="aspectFill" onClick={this.handleConsuItemClick.bind(this, item)} src={transferImage(item.photo || item.avatar)}></Image>
|
970
|
970
|
<View className='name-txt' onClick={this.handleConsuItemClick.bind(this, item)}>
|
|
@@ -1078,7 +1078,7 @@ export default class Index extends Component {
|
1078
|
1078
|
|
1079
|
1079
|
// 挂载全景图设置
|
1080
|
1080
|
list.forEach(apartment => {
|
1081
|
|
- const panoramaArr = (panoramaList || []).filter(x => x.buildingId === apartment.buildingId && x.apartmentId === apartment.apartmentId )
|
|
1081
|
+ const panoramaArr = (panoramaList || []).filter(x => x.buildingId === apartment.buildingId && x.apartmentId === apartment.apartmentId)
|
1082
|
1082
|
if (panoramaArr.length) {
|
1083
|
1083
|
apartment.panoramaArr = panoramaArr
|
1084
|
1084
|
}
|
|
@@ -1308,7 +1308,7 @@ export default class Index extends Component {
|
1308
|
1308
|
this.setState({ btnstate, current: 1 })
|
1309
|
1309
|
}
|
1310
|
1310
|
|
1311
|
|
- goToPanorama(panorama) {
|
|
1311
|
+ goToPanorama(panorama) {
|
1312
|
1312
|
const url = (panorama || {}).panoramaLink
|
1313
|
1313
|
|
1314
|
1314
|
if (!url) return;
|
|
@@ -1392,11 +1392,11 @@ export default class Index extends Component {
|
1392
|
1392
|
<View className='detail'>
|
1393
|
1393
|
<Notice></Notice>
|
1394
|
1394
|
|
1395
|
|
- { !btnstate && this.renderBannerImages() }
|
1396
|
|
-
|
1397
|
|
- { btnstate === 1 && this.renderVideo() }
|
1398
|
|
-
|
1399
|
|
- { btnstate === 2 && this.renderBannerPanorama() }
|
|
1395
|
+ {!btnstate && this.renderBannerImages()}
|
|
1396
|
+
|
|
1397
|
+ {btnstate === 1 && this.renderVideo()}
|
|
1398
|
+
|
|
1399
|
+ {btnstate === 2 && this.renderBannerPanorama()}
|
1400
|
1400
|
|
1401
|
1401
|
{
|
1402
|
1402
|
projectDetail.buildingImg && projectDetail.buildingImg.length &&
|