|
@@ -259,7 +259,7 @@ export default class Index extends Component {
|
259
|
259
|
this.redirectTo(item)
|
260
|
260
|
}
|
261
|
261
|
|
262
|
|
- redirectTo({contentId, contentType, buildingId} = {}) {
|
|
262
|
+ redirectTo({ contentId, contentType, buildingId } = {}) {
|
263
|
263
|
switch (contentType) {
|
264
|
264
|
// 项目
|
265
|
265
|
case 'project':
|
|
@@ -281,21 +281,21 @@ export default class Index extends Component {
|
281
|
281
|
url: '/pages/activity/detail/assistance?id=' + contentId
|
282
|
282
|
})
|
283
|
283
|
return;
|
284
|
|
-
|
|
284
|
+
|
285
|
285
|
// 拼团
|
286
|
286
|
case 'group':
|
287
|
287
|
Taro.navigateTo({
|
288
|
288
|
url: '/pages/activity/detail/assemble?id=' + contentId
|
289
|
289
|
})
|
290
|
290
|
return;
|
291
|
|
-
|
|
291
|
+
|
292
|
292
|
// 资讯
|
293
|
293
|
case 'news':
|
294
|
294
|
Taro.navigateTo({
|
295
|
295
|
url: 'pages/news/detail/index?id=' + contentId
|
296
|
296
|
})
|
297
|
297
|
return;
|
298
|
|
-
|
|
298
|
+
|
299
|
299
|
// 其他
|
300
|
300
|
case 'others':
|
301
|
301
|
default:
|
|
@@ -491,11 +491,11 @@ export default class Index extends Component {
|
491
|
491
|
</View>
|
492
|
492
|
<View className="top-box">
|
493
|
493
|
<View className="search" onClick={this.handleToHouseList}>
|
494
|
|
- <Text className="search-icon icon-sousuo iconfont"></Text>
|
495
|
|
- <Input className="search-input" placeholder="输入你想查询的楼盘"></Input>
|
|
494
|
+ <Image className="search-icon" src={require('@assets/search.png')} />
|
|
495
|
+ <Input className="search-input" placeholder-style="color:#fff" placeholder="输入你想查询的楼盘"></Input>
|
496
|
496
|
</View>
|
497
|
497
|
<View className="location" onClick={this.handleLocationClick}>
|
498
|
|
- <Text className="location-icon iconfont icon-daohangdizhi"></Text>
|
|
498
|
+ <Image className="location-icon" src={require('@assets/map.png')} />
|
499
|
499
|
<Text className="location-text">{curCity.id ? curCity.name : '正在定位'}</Text>
|
500
|
500
|
</View>
|
501
|
501
|
</View>
|