|
@@ -62,7 +62,7 @@ export default function Around(props) {
|
62
|
62
|
props.onAction()
|
63
|
63
|
}
|
64
|
64
|
}
|
65
|
|
- const tomapDetail = (e) => {
|
|
65
|
+ const tomapDetail = (e) => {
|
66
|
66
|
const { buildingId } = this.props
|
67
|
67
|
Taro.navigateTo({
|
68
|
68
|
url: `/pages/project/detail/map?id=` + buildingId
|
|
@@ -71,7 +71,8 @@ export default function Around(props) {
|
71
|
71
|
return (
|
72
|
72
|
<View className="around-box">
|
73
|
73
|
<View className="around-header">
|
74
|
|
- <PoiAround mapClick={tomapDetail} style="width: 100vw; height: 500rpx;" current={curMarker} coverShow={true} markers={markers} longitude={lng} latitude={lat} onMarkerClick={handleMarkerTap} />
|
|
74
|
+ <PoiAround mapClick={tomapDetail} style="width:100%;height:100%" current={curMarker} coverShow={true} longitude={lng} latitude={lat} onMarkerClick={handleMarkerTap} />
|
|
75
|
+ {/* <PoiAround mapClick={tomapDetail} style="width:100%;height:100%" current={curMarker} coverShow={true} markers={markers} longitude={lng} latitude={lat} onMarkerClick={handleMarkerTap} /> */}
|
75
|
76
|
</View>
|
76
|
77
|
<View className="around-body">
|
77
|
78
|
<Tab dataset={dataList} className="around-project" onChange={handleTabChange} />
|