|
@@ -76,9 +76,7 @@ export default class Index extends Component {
|
76
|
76
|
const router = Taro.getStorageSync('router')
|
77
|
77
|
const consultant = this.$router.params.consultant || router.query.consultant
|
78
|
78
|
if (consultant) {
|
79
|
|
- console.log(consultant, "$$$$$$$$$$$$$$$$$$$$$$$$$$$4444")
|
80
|
79
|
getCardDetail(consultant).then(res => {
|
81
|
|
- console.log(res, "$$$$$$$$$$$$$$$$$$$$$$$$$$$")
|
82
|
80
|
this.setState({
|
83
|
81
|
consultData: res,
|
84
|
82
|
consultShow: true
|
|
@@ -292,7 +290,6 @@ export default class Index extends Component {
|
292
|
290
|
}
|
293
|
291
|
|
294
|
292
|
onShareAppMessage = () => {
|
295
|
|
- console.log(this.props, "his.props")
|
296
|
293
|
const {
|
297
|
294
|
projectDetail: { shareContents, buildingName, buildingId, poster },
|
298
|
295
|
userInfo: { person: { personId, personType, userId } }
|
|
@@ -660,11 +657,8 @@ export default class Index extends Component {
|
660
|
657
|
|
661
|
658
|
const listimg = list.filter(item => item.buildingImgList.length > 0)
|
662
|
659
|
|
663
|
|
-
|
664
|
660
|
return (
|
665
|
|
-
|
666
|
|
-
|
667
|
|
- <Block> {console.log(list, 'list')}
|
|
661
|
+ <Block>
|
668
|
662
|
{listimg.length > 0 &&
|
669
|
663
|
(
|
670
|
664
|
<View className='photos__type'>
|
|
@@ -678,7 +672,7 @@ export default class Index extends Component {
|
678
|
672
|
const buildingImgList = item.buildingImgList
|
679
|
673
|
const buildingImgUrl = buildingImgList.length > 0 ? buildingImgList[0].url : null
|
680
|
674
|
|
681
|
|
- console.log(buildingImgUrl, 'buildingImgUrl')
|
|
675
|
+ // console.log(buildingImgUrl, 'buildingImgUrl')
|
682
|
676
|
|
683
|
677
|
// if (buildingImgUrl != null) {
|
684
|
678
|
return (<View key={index + "listimg"}>
|
|
@@ -929,7 +923,6 @@ export default class Index extends Component {
|
929
|
923
|
{
|
930
|
924
|
activityList.length > 0 && (
|
931
|
925
|
<View className="activity" >
|
932
|
|
-
|
933
|
926
|
<View className="section-head">
|
934
|
927
|
<Text className="section-head__title" style={{ margin: '10rpx 0 40rpx 35rpx' }}>热门活动</Text>
|
935
|
928
|
<View className="section-head__more" style={{ marginRight: '20rpx' }} onClick={this.handleActivityMoreClick}>
|
|
@@ -1086,7 +1079,7 @@ export default class Index extends Component {
|
1086
|
1079
|
}
|
1087
|
1080
|
|
1088
|
1081
|
changeCurrent(current) {
|
1089
|
|
- console.log(current, 'current')
|
|
1082
|
+ // console.log(current, 'current')
|
1090
|
1083
|
this.setState({
|
1091
|
1084
|
current: current + 1
|
1092
|
1085
|
})
|