|
@@ -48,8 +48,8 @@ export default class Index extends Component {
|
48
|
48
|
activityList: [],
|
49
|
49
|
helpList: [],
|
50
|
50
|
groupList: [],
|
51
|
|
- statusOpts: ['待定', '售罄', '在售'],
|
52
|
|
- statusBgColors: ['#F6B61D', '#BB9C79', '#CECECE'],
|
|
51
|
+ statusOpts: ['待售', '售罄', '在售'],
|
|
52
|
+ statusBgColors: ['#BB9C79', '#CECECE', '#F6B61D'],
|
53
|
53
|
// circumOpts: [],
|
54
|
54
|
curTab: 'Transport',
|
55
|
55
|
recordId: null,
|
|
@@ -63,7 +63,7 @@ export default class Index extends Component {
|
63
|
63
|
|
64
|
64
|
componentWillMount() {
|
65
|
65
|
ready.queue(() => {
|
66
|
|
-
|
|
66
|
+
|
67
|
67
|
// 分享场景需要先授权手机, 再授权头像
|
68
|
68
|
const options = wx.getLaunchOptionsSync()
|
69
|
69
|
if (sceneInShare(options.scene)) {
|
|
@@ -245,10 +245,10 @@ export default class Index extends Component {
|
245
|
245
|
})
|
246
|
246
|
}
|
247
|
247
|
|
248
|
|
- toViewAlbum (index){
|
|
248
|
+ toViewAlbum(index) {
|
249
|
249
|
const { buildingId } = this.state
|
250
|
|
- console.log('1111111',index)
|
251
|
|
- this.navigateTo(`/pages/project/album/index?id=${buildingId}¤t=${index}` )
|
|
250
|
+ console.log('1111111', index)
|
|
251
|
+ this.navigateTo(`/pages/project/album/index?id=${buildingId}¤t=${index}`)
|
252
|
252
|
}
|
253
|
253
|
|
254
|
254
|
onViewFans() {
|
|
@@ -637,21 +637,21 @@ export default class Index extends Component {
|
637
|
637
|
console.log(buildingImgUrl, 'buildingImgUrl')
|
638
|
638
|
|
639
|
639
|
// if (buildingImgUrl != null) {
|
640
|
|
- return ( <View key={index + "listimg"}>
|
|
640
|
+ return (<View key={index + "listimg"}>
|
641
|
641
|
{buildingImgUrl != null && (<View
|
642
|
642
|
style={{ marginRight: '8px' }}
|
643
|
|
-
|
|
643
|
+
|
644
|
644
|
>
|
645
|
645
|
|
646
|
646
|
<View>
|
647
|
|
- <Image className='albumimg' src={getThumbnail(buildingImgList[0].url)} onClick={()=>this.toViewAlbum(index)}></Image>
|
|
647
|
+ <Image className='albumimg' src={getThumbnail(buildingImgList[0].url)} onClick={() => this.toViewAlbum(index)}></Image>
|
648
|
648
|
<View style={{ width: '218rpx', display: 'flex', justifyContent: 'center' }} >
|
649
|
649
|
<View style={{ overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}> {apartmentName} </View>
|
650
|
650
|
<View> ({buildingImgList.length})</View>
|
651
|
651
|
</View>
|
652
|
652
|
</View>
|
653
|
653
|
</View>)}
|
654
|
|
- </View>
|
|
654
|
+ </View>
|
655
|
655
|
)
|
656
|
656
|
// }
|
657
|
657
|
|
|
@@ -869,21 +869,21 @@ export default class Index extends Component {
|
869
|
869
|
}
|
870
|
870
|
renderActivities() {
|
871
|
871
|
|
872
|
|
-
|
|
872
|
+
|
873
|
873
|
const { activityList } = this.state
|
874
|
|
-
|
|
874
|
+
|
875
|
875
|
return (
|
876
|
876
|
<Block>
|
877
|
877
|
{
|
878
|
878
|
activityList.length > 0 && (
|
879
|
879
|
<View className="activity" >
|
880
|
|
-
|
|
880
|
+
|
881
|
881
|
<View className="section-head">
|
882
|
|
- <Text className="section-head__title" style={{margin: '10rpx 0 40rpx 35rpx'}}>热门活动</Text>
|
883
|
|
- <View className="section-head__more" style={{marginRight: '20rpx'}} onClick={this.handleActivityMoreClick}>
|
884
|
|
- 更多活动<Text className="iconfont icon-more"></Text>
|
885
|
|
- </View>
|
886
|
|
- </View>
|
|
882
|
+ <Text className="section-head__title" style={{ margin: '10rpx 0 40rpx 35rpx' }}>热门活动</Text>
|
|
883
|
+ <View className="section-head__more" style={{ marginRight: '20rpx' }} onClick={this.handleActivityMoreClick}>
|
|
884
|
+ 更多活动<Text className="iconfont icon-more"></Text>
|
|
885
|
+ </View>
|
|
886
|
+ </View>
|
887
|
887
|
<View
|
888
|
888
|
style={{ position: 'relative' }}>
|
889
|
889
|
<HelpGroupBanner
|
|
@@ -898,7 +898,7 @@ export default class Index extends Component {
|
898
|
898
|
|
899
|
899
|
</View>
|
900
|
900
|
</View>
|
901
|
|
-
|
|
901
|
+
|
902
|
902
|
)
|
903
|
903
|
}
|
904
|
904
|
</Block>
|