diff --git a/src/components/gis-map/index.html b/src/components/gis-map/index.html index 5411239..1c2a852 100644 --- a/src/components/gis-map/index.html +++ b/src/components/gis-map/index.html @@ -21,4 +21,5 @@ +
\ No newline at end of file diff --git a/src/components/gis-map/index.scss b/src/components/gis-map/index.scss index c21c984..c12beb0 100644 --- a/src/components/gis-map/index.scss +++ b/src/components/gis-map/index.scss @@ -4,6 +4,17 @@ left: 0; right: 0; bottom: 0; + z-index: -2; +} + +.mask { + z-index: 1; + width: 100%; + height: 100%; + box-shadow: inset 0px 0px 100px 100px rgba(0, 0, 0, 0.59); + /* 四周黑色 */ + pointer-events: none; + /* 允许地图事件穿透 */ } .select_address { diff --git a/src/style/_base.scss b/src/style/_base.scss index edb7657..c96773e 100644 --- a/src/style/_base.scss +++ b/src/style/_base.scss @@ -18,6 +18,10 @@ body { overflow-y: auto; } +.zIndextop { + z-index: 2; +} + .page { position: relative; width: 100vw; @@ -93,7 +97,7 @@ body { } .border { - border: 1px solid red; + // border: 1px solid red; } .nowrap { diff --git a/src/views/capital/index.html b/src/views/capital/index.html index 276cd5e..6fd1ed8 100644 --- a/src/views/capital/index.html +++ b/src/views/capital/index.html @@ -6,13 +6,13 @@