From 0aa86e978580a00d0610c6aa6d1739937aa3203b Mon Sep 17 00:00:00 2001 From: SongZhen <> Date: Thu, 21 Sep 2023 10:10:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=83=8C=E6=99=AF=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataBoard/cpts/map/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/dataBoard/cpts/map/index.vue b/src/views/dataBoard/cpts/map/index.vue index 038c39a8e..2d1931720 100644 --- a/src/views/dataBoard/cpts/map/index.vue +++ b/src/views/dataBoard/cpts/map/index.vue @@ -281,13 +281,13 @@ export default { if (mapType != "qq") { myMap = new Map({ center: iniCenter, - mapStyle: 'amap://styles/darkblue', + mapStyle: "amap://styles/darkblue", zoom: 18, }); } else { myMap = new GaodeMap({ // pitch: this.pitch, - mapStyle: 'amap://styles/darkblue', + mapStyle: "amap://styles/darkblue", // style: styleConfig.style, center: iniCenter, token: "fc14b42e0ca18387866d68ebd4f150c1", @@ -521,6 +521,7 @@ export default { }); }); polygonLayer.on("click", (e) => { + console.log("e", e); this.$emit("clickAgency", e.feature.properties); }); @@ -850,7 +851,7 @@ export default { z-index: 100; } /deep/ .l7-popup-content { - background: rgba(#020340, 0.58); + background: rgba(#fff, 1); box-shadow: 0 0 20px 3px inset rgba(#22f, 0.1); } /deep/ .l7-popup-close-button {