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") {
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 {

Loading…
Cancel
Save