diff --git a/public/config.js b/public/config.js index 79632b7..65d5540 100644 --- a/public/config.js +++ b/public/config.js @@ -1,9 +1,9 @@ window.serverAPI = { // baseUrl: "http://8.142.26.238:6901", //线上 - // baseUrl: "http://192.168.2.46:8080", //本地 - baseUrl: "http://36.134.44.75:6901", //移动线上 + baseUrl: "http://192.168.2.46:8080", //本地 + // baseUrl: "http://36.134.44.75:6901", //移动线上 // geoserver geoserverUrl: "http://36.134.44.75:8090/iserver/services", username: "admin", password: 'geoserver', -} \ No newline at end of file +} diff --git a/src/assets/images/honglao0.png b/src/assets/images/honglao0.png new file mode 100644 index 0000000..6b908d8 Binary files /dev/null and b/src/assets/images/honglao0.png differ diff --git a/src/assets/images/honglao1.png b/src/assets/images/honglao1.png new file mode 100644 index 0000000..ceda1f7 Binary files /dev/null and b/src/assets/images/honglao1.png differ diff --git a/src/assets/images/honglao2.png b/src/assets/images/honglao2.png new file mode 100644 index 0000000..0c19364 Binary files /dev/null and b/src/assets/images/honglao2.png differ diff --git a/src/assets/images/honglao3.png b/src/assets/images/honglao3.png new file mode 100644 index 0000000..4d6bafa Binary files /dev/null and b/src/assets/images/honglao3.png differ diff --git a/src/assets/images/honglao4.png b/src/assets/images/honglao4.png new file mode 100644 index 0000000..0905a90 Binary files /dev/null and b/src/assets/images/honglao4.png differ diff --git a/src/assets/images/lengdong0.png b/src/assets/images/lengdong0.png new file mode 100644 index 0000000..4ff5815 Binary files /dev/null and b/src/assets/images/lengdong0.png differ diff --git a/src/assets/images/lengdong1.png b/src/assets/images/lengdong1.png new file mode 100644 index 0000000..3b6b2c6 Binary files /dev/null and b/src/assets/images/lengdong1.png differ diff --git a/src/assets/images/lengdong2.png b/src/assets/images/lengdong2.png new file mode 100644 index 0000000..042fc2e Binary files /dev/null and b/src/assets/images/lengdong2.png differ diff --git a/src/assets/images/lengdong3.png b/src/assets/images/lengdong3.png new file mode 100644 index 0000000..a392488 Binary files /dev/null and b/src/assets/images/lengdong3.png differ diff --git a/src/views/meteorological/monitor/DryHotAir/index.vue b/src/views/meteorological/monitor/DryHotAir/index.vue index a4e923c..ff2ecc7 100644 --- a/src/views/meteorological/monitor/DryHotAir/index.vue +++ b/src/views/meteorological/monitor/DryHotAir/index.vue @@ -1,1615 +1,1200 @@ - diff --git a/src/views/meteorological/monitor/FloodWarning/index.vue b/src/views/meteorological/monitor/FloodWarning/index.vue index d1a9259..b06730b 100644 --- a/src/views/meteorological/monitor/FloodWarning/index.vue +++ b/src/views/meteorological/monitor/FloodWarning/index.vue @@ -1,1618 +1,1206 @@ - diff --git a/src/views/meteorological/monitor/drought/index.vue b/src/views/meteorological/monitor/drought/index.vue index fbf7297..5950d93 100644 --- a/src/views/meteorological/monitor/drought/index.vue +++ b/src/views/meteorological/monitor/drought/index.vue @@ -435,7 +435,8 @@ function initMap() { element: document.createElement('div'), // 创建一个用于显示信息的div元素 positioning: 'bottom-center', // 设置覆盖层相对于锚点的位置 offset: [0, -10], // 设置偏移量以便覆盖层不会遮挡图标 - stopEvent: false, // 允许地图事件继续传播(例如,缩放和拖动) + stopEvent: true, // 允许地图事件继续传播(例如,缩放和拖动) + }); //滚轮控制村级矢量 @@ -447,6 +448,7 @@ function initMap() { layers.setVisible(false); } }); + map.on('singleclick', function (e) { alterData = ref([]); const pixel = map.getEventPixel(e.originalEvent); @@ -476,6 +478,9 @@ function initMap() { ); } }); + + + map.forEachFeatureAtPixel(pixel, (feature) => { diff --git a/src/views/meteorological/monitor/freeze/index.vue b/src/views/meteorological/monitor/freeze/index.vue index 6cc5019..edfadec 100644 --- a/src/views/meteorological/monitor/freeze/index.vue +++ b/src/views/meteorological/monitor/freeze/index.vue @@ -1,1617 +1,1200 @@ -