|
@@ -82,6 +82,7 @@ export default class HouseList extends Component {
|
82
|
82
|
}
|
83
|
83
|
}
|
84
|
84
|
initPageData() {
|
|
85
|
+ Taro.showLoading()
|
85
|
86
|
const id = this.$router.params.id
|
86
|
87
|
|
87
|
88
|
if (this.$router.params.scene) {
|
|
@@ -112,7 +113,9 @@ export default class HouseList extends Component {
|
112
|
113
|
this.setState({
|
113
|
114
|
houseList: this.groupHouseList(res) || []
|
114
|
115
|
})
|
|
116
|
+ Taro.hideLoading()
|
115
|
117
|
}).catch(err => {
|
|
118
|
+ Taro.hideLoading()
|
116
|
119
|
Taro.showToast({ title: '未找到房源批次', icon: 'none', duration: 2000 })
|
117
|
120
|
})
|
118
|
121
|
}
|
|
@@ -130,7 +133,7 @@ export default class HouseList extends Component {
|
130
|
133
|
posterData: { poster: posterImg },
|
131
|
134
|
shareContents: res.shareContents || [],
|
132
|
135
|
}, () => {
|
133
|
|
- debugger
|
|
136
|
+ // debugger
|
134
|
137
|
this.getPosterData().then(posterData => {
|
135
|
138
|
const posterConfig = this.transTPLs2Configs(templates, posterData)
|
136
|
139
|
this.setState({ posterConfig, posterData })
|
|
@@ -336,10 +339,12 @@ export default class HouseList extends Component {
|
336
|
339
|
</View>
|
337
|
340
|
<View className="action">
|
338
|
341
|
<View onClick={this.handleExplainClick}>
|
339
|
|
- <NamedIcon name="explain" size={50} />
|
|
342
|
+ {/* <NamedIcon name="explain" size={50} /> */}
|
|
343
|
+ <Image style="width:50rpx;height:50rpx" src={require('../../assets/explain.png')}></Image>
|
340
|
344
|
</View>
|
341
|
345
|
<View onClick={this.handleSearchClick}>
|
342
|
|
- <NamedIcon name="screen" size={50} />
|
|
346
|
+ <Image style="width:50rpx;height:50rpx" src={require('../../assets/screen.png')}></Image>
|
|
347
|
+ {/* <NamedIcon name="screen" size={50} /> */}
|
343
|
348
|
</View>
|
344
|
349
|
</View>
|
345
|
350
|
</View>
|
|
@@ -370,11 +375,13 @@ export default class HouseList extends Component {
|
370
|
375
|
return (
|
371
|
376
|
<View className="bottombar">
|
372
|
377
|
<Button className="btn record" onClick={this.handleRecordBtn}>
|
373
|
|
- <NamedIcon name="record" size="42" />
|
|
378
|
+ {/* <NamedIcon name="record" size="42" /> */}
|
|
379
|
+ <Image style="width:42rpx;height:42rpx" src={require('../../assets/record.png')}></Image>
|
374
|
380
|
<Text className="txt">选房记录</Text>
|
375
|
381
|
</Button>
|
376
|
382
|
<Button className="btn share" onClick={this.handleShareBtn}>
|
377
|
|
- <NamedIcon name="share" size="42" />
|
|
383
|
+ {/* <NamedIcon name="share" size="42" /> */}
|
|
384
|
+ <Image style="width:42rpx;height:42rpx" src={require('../../assets/share.png')}></Image>
|
378
|
385
|
<Text className="txt">分享</Text>
|
379
|
386
|
</Button>
|
380
|
387
|
</View>
|