Browse Source

修改背景色

V1.0
SongZhen 2 years ago
parent
commit
0aa86e9785
  1. 7
      src/views/dataBoard/cpts/map/index.vue

7
src/views/dataBoard/cpts/map/index.vue

@ -281,13 +281,13 @@ export default {
if (mapType != "qq") { if (mapType != "qq") {
myMap = new Map({ myMap = new Map({
center: iniCenter, center: iniCenter,
mapStyle: 'amap://styles/darkblue', mapStyle: "amap://styles/darkblue",
zoom: 18, zoom: 18,
}); });
} else { } else {
myMap = new GaodeMap({ myMap = new GaodeMap({
// pitch: this.pitch, // pitch: this.pitch,
mapStyle: 'amap://styles/darkblue', mapStyle: "amap://styles/darkblue",
// style: styleConfig.style, // style: styleConfig.style,
center: iniCenter, center: iniCenter,
token: "fc14b42e0ca18387866d68ebd4f150c1", token: "fc14b42e0ca18387866d68ebd4f150c1",
@ -521,6 +521,7 @@ export default {
}); });
}); });
polygonLayer.on("click", (e) => { polygonLayer.on("click", (e) => {
console.log("e", e);
this.$emit("clickAgency", e.feature.properties); this.$emit("clickAgency", e.feature.properties);
}); });
@ -850,7 +851,7 @@ export default {
z-index: 100; z-index: 100;
} }
/deep/ .l7-popup-content { /deep/ .l7-popup-content {
background: rgba(#020340, 0.58); background: rgba(#fff, 1);
box-shadow: 0 0 20px 3px inset rgba(#22f, 0.1); box-shadow: 0 0 20px 3px inset rgba(#22f, 0.1);
} }
/deep/ .l7-popup-close-button { /deep/ .l7-popup-close-button {

Loading…
Cancel
Save