From c850ba6e9c7a75761ef1328be897a9a5c6e2e1a4 Mon Sep 17 00:00:00 2001 From: wangwei Date: Wed, 7 Dec 2022 09:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E7=82=B9=E5=8C=BA=E5=9F=9F=E7=B2=BE?= =?UTF-8?q?=E7=BB=86=E5=8C=96=E7=AE=A1=E7=90=86=20=E6=96=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/supermap/advance-init.js | 2 +- .../areaMonitor/components/SiteListMore.vue | 25 +++++++++++++++--- .../areaMonitor/components/VideoListRight.vue | 26 ++++++++++++++++--- src/views/pages/areaMonitor/index.vue | 17 +++++++++--- 4 files changed, 59 insertions(+), 11 deletions(-) diff --git a/src/supermap/advance-init.js b/src/supermap/advance-init.js index 8405fcd..02bfec4 100644 --- a/src/supermap/advance-init.js +++ b/src/supermap/advance-init.js @@ -156,7 +156,7 @@ export function MapFun(mapObj) { } } else if (feature.type == 'eventList') { const elementHtml = createEventListDetailsPopNew(feature) - L.popup({ className: 'Event-List-Details-pop', offset: [168, 200] }).setLatLng(feature.latLng).setContent(elementHtml).openOn(map) + L.popup({ className: 'Event-List-Details-pop', offset: [0, 200] }).setLatLng(feature.latLng).setContent(elementHtml).openOn(map) } else if (feature.type == 'eventTwoList') { const elementHtml = createImportantAreaPopNew(feature) L.popup({ className: 'Event-List-Details-pop', offset: [168, 200] }).setLatLng(feature.latLng).setContent(elementHtml).openOn(map) diff --git a/src/views/pages/areaMonitor/components/SiteListMore.vue b/src/views/pages/areaMonitor/components/SiteListMore.vue index a61c3b6..8bf8918 100644 --- a/src/views/pages/areaMonitor/components/SiteListMore.vue +++ b/src/views/pages/areaMonitor/components/SiteListMore.vue @@ -1,9 +1,10 @@