diff --git a/src/view/home.vue b/src/view/home.vue index fb2ee8b..06009a9 100644 --- a/src/view/home.vue +++ b/src/view/home.vue @@ -29,13 +29,17 @@ const reset_font = () => { document.querySelector(".header_content").style.transformOrigin = "top left"; document.querySelector(".header_content").style.transform = "scale(" + width / 1920 + "," + height / 1080 + ")"; - - document.querySelector(".left").style.transformOrigin = "bottom left"; +if( + document.querySelector(".left").style){ + document.querySelector(".left").style.transformOrigin = "bottom left"; document.querySelector(".left").style.transform = "scale(" + width / 1920 + "," + height / 1080 + ")"; document.querySelector(".right").style.transformOrigin = "bottom right"; document.querySelector(".right").style.transform = "scale(" + width / 1920 + "," + height / 1080 + ")"; + + } + }; onMounted(() => { reset_font(); diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index b9fc78c..ccc5d1c 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -3,89 +3,66 @@
-
-
-
{{ title_choose }}
-
-
-
-
-
{{ item.name }}
-
{{ item.value }}
+
+
+
{{ title_choose }}
+
+
+
+
+
{{ item.name }}
+
{{ item.value }}
+
-
-
-
-
特殊标签
-
-
-
-
-
{{ item.name }}
-
{{ item.value }}
+
+
+
特殊标签
+
-
-
-
-
-
-
-
基本公共服务圈
-
-
-
-
-
{{ item.name }}
-
-
- {{ itemm.name }} -
+
+
+
{{ item.name }}
+
{{ item.value }}
-
-
-
资源要素
-
+
+
+
+
基本公共服务圈
+
+
+
+
+
{{ item.name }}
+
+
+ {{ itemm.name }} +
+
+
+
-
-
- -
{{ item.name }}
+
+
+
资源要素
+
+
+
+
+ +
{{ item.name }}
+
-
- +
@@ -408,7 +385,7 @@ const addPolygonCounty = () => { }); }; //添加街道名 - + const addJd = () => { mapTownCount.map((item, index) => { createCustomOverlayJd(item, index); @@ -1661,17 +1638,13 @@ onMounted(() => { bottom: 0; width: 520px; height: 960px; - background: linear-gradient( - 270deg, + background: linear-gradient(270deg, rgba(0, 52, 131, 0.69) 0%, rgba(0, 32, 83, 0.77) 50%, - rgba(0, 60, 131, 0.74) 100% - ), - radial-gradient( - 128% 99% at 100% 46%, + rgba(0, 60, 131, 0.74) 100%), + radial-gradient(128% 99% at 100% 46%, rgba(0, 48, 125, 0.29) 0%, - rgba(0, 61, 134, 0.42) 100% - ); + rgba(0, 61, 134, 0.42) 100%); box-shadow: inset 0px 0px 56px 0px rgba(173, 221, 255, 0.5); backdrop-filter: blur(3px); padding: 30px 26px; @@ -1829,17 +1802,13 @@ onMounted(() => { bottom: 0; width: 520px; height: 960px; - background: linear-gradient( - 270deg, + background: linear-gradient(270deg, rgba(0, 52, 131, 0.69) 0%, rgba(0, 32, 83, 0.77) 50%, - rgba(0, 60, 131, 0.74) 100% - ), - radial-gradient( - 128% 99% at 100% 46%, + rgba(0, 60, 131, 0.74) 100%), + radial-gradient(128% 99% at 100% 46%, rgba(0, 48, 125, 0.29) 0%, - rgba(0, 61, 134, 0.42) 100% - ); + rgba(0, 61, 134, 0.42) 100%); box-shadow: inset 0px 0px 56px 0px rgba(173, 221, 255, 0.5); backdrop-filter: blur(3px); padding: 30px 26px; @@ -1889,8 +1858,10 @@ onMounted(() => { background: rgba(124, 151, 180, 0.8); // padding: 10px; margin-bottom: 4px; - position: relative; /* 必须设置 position 属性以便伪元素定位 */ + position: relative; + /* 必须设置 position 属性以便伪元素定位 */ } + .jbggfwq_content_item_right_item::after { content: ""; display: block; @@ -1901,6 +1872,7 @@ onMounted(() => { top: 14px; right: 0px; } + :nth-child(4n).jbggfwq_content_item_right_item::after { opacity: 0; }