diff --git a/packages/bigscreen/dv/AppResourceMapDv.vue b/packages/bigscreen/dv/AppResourceMapDv.vue index 00f68917..90450f21 100644 --- a/packages/bigscreen/dv/AppResourceMapDv.vue +++ b/packages/bigscreen/dv/AppResourceMapDv.vue @@ -7,6 +7,7 @@

{{ info.resourceName }}

+ {{ info.categoryName }}
{{ info.areaName }}{{ info.address }}
@@ -44,7 +45,8 @@ export default { satellite: null, zoom: 11, choosedId: '', - center: [] + center: [], + list: [] } }, computed: { @@ -78,18 +80,16 @@ export default { } }) + this.list = points + this.addMakert(points) } }) }, getInfo (id) { - this.instance.post(`/app/appresourceinfo/queryDetailById?id=${id}`).then(res => { - if (res.code === 0) { - this.info = res.data - this.isShowInfo = true - } - }) + this.info = this.list.filter(v => id === v.id)[0] + this.isShowInfo = true }, renderClusterMarker(context) { @@ -195,7 +195,6 @@ export default { color: #fff; font-size: 20px; font-weight: 500; - margin-bottom: 10px; } div { @@ -204,14 +203,6 @@ export default { color: #D2E0FF; font-size: 12px; } - - span { - display: block; - margin-top: 4px; - font-style: normal; - color: #82C5FF; - font-size: 14px; - } } .community-info {