diff --git a/src/supermap/advance-init.js b/src/supermap/advance-init.js index aba1bfe..10f0d8e 100644 --- a/src/supermap/advance-init.js +++ b/src/supermap/advance-init.js @@ -157,7 +157,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/EarlyWarning.vue b/src/views/pages/areaMonitor/components/EarlyWarning.vue index eb47037..463ddf5 100644 --- a/src/views/pages/areaMonitor/components/EarlyWarning.vue +++ b/src/views/pages/areaMonitor/components/EarlyWarning.vue @@ -166,7 +166,7 @@ export default { }, ], eventListData: [], - total:0, + total:6, pageSize:6, currentPage:1, @@ -200,7 +200,7 @@ export default { let resdata=res.data.data; this.dateTabs[1].dataNum=resdata.length; // this.eventListData = res.data; - this.total = res.count; + // this.total = res.data.count; // console.log("执行函数111"); //获取参数重新编辑 $.ajax({ diff --git a/src/views/pages/areaMonitor/components/SiteListMore.vue b/src/views/pages/areaMonitor/components/SiteListMore.vue index bdd842a..8d99690 100644 --- a/src/views/pages/areaMonitor/components/SiteListMore.vue +++ b/src/views/pages/areaMonitor/components/SiteListMore.vue @@ -1,9 +1,10 @@