diff --git a/src/assets/images/Sponge_screen/SiSeTu.png b/src/assets/images/Sponge_screen/SiSeTu.png new file mode 100644 index 0000000..54415fe --- /dev/null +++ b/src/assets/images/Sponge_screen/SiSeTu.png Binary files differ diff --git a/src/assets/images/Sponge_screen/SiSeTu.png b/src/assets/images/Sponge_screen/SiSeTu.png new file mode 100644 index 0000000..54415fe --- /dev/null +++ b/src/assets/images/Sponge_screen/SiSeTu.png Binary files differ diff --git a/src/views/oneMap/components/ZTGL.vue b/src/views/oneMap/components/ZTGL.vue index b1398f7..f483ffb 100644 --- a/src/views/oneMap/components/ZTGL.vue +++ b/src/views/oneMap/components/ZTGL.vue @@ -1,13 +1,26 @@ @@ -169,7 +182,11 @@ left: 10px; top: 70px; // background: url('@/assets/images/LeftContent.png') no-repeat; - background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 76, 118, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(0, 43, 67, 0.8) 0%, + rgba(0, 76, 118, 0.8) 100% + ); border-radius: 6px; border: 1px solid #47eef3; box-shadow: inset 0 0 5px 5px #47eef38a; @@ -181,7 +198,11 @@ right: 10px; top: 70px; // background: url('@/assets/images/rightContent.png') no-repeat; - background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 76, 118, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(0, 43, 67, 0.8) 0%, + rgba(0, 76, 118, 0.8) 100% + ); border-radius: 6px; border: 1px solid #47eef3; box-shadow: inset 0 0 5px 5px #47eef38a; @@ -196,7 +217,11 @@ .zzsj { width: 105px; height: 36px; - background: linear-gradient(0deg, rgba(126, 158, 166, 0.2) 0%, rgba(126, 158, 166, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(126, 158, 166, 0.2) 0%, + rgba(126, 158, 166, 0.8) 100% + ); border-radius: 2px; text-align: center; align-items: center; diff --git a/src/assets/images/Sponge_screen/SiSeTu.png b/src/assets/images/Sponge_screen/SiSeTu.png new file mode 100644 index 0000000..54415fe --- /dev/null +++ b/src/assets/images/Sponge_screen/SiSeTu.png Binary files differ diff --git a/src/views/oneMap/components/ZTGL.vue b/src/views/oneMap/components/ZTGL.vue index b1398f7..f483ffb 100644 --- a/src/views/oneMap/components/ZTGL.vue +++ b/src/views/oneMap/components/ZTGL.vue @@ -1,13 +1,26 @@ @@ -169,7 +182,11 @@ left: 10px; top: 70px; // background: url('@/assets/images/LeftContent.png') no-repeat; - background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 76, 118, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(0, 43, 67, 0.8) 0%, + rgba(0, 76, 118, 0.8) 100% + ); border-radius: 6px; border: 1px solid #47eef3; box-shadow: inset 0 0 5px 5px #47eef38a; @@ -181,7 +198,11 @@ right: 10px; top: 70px; // background: url('@/assets/images/rightContent.png') no-repeat; - background: linear-gradient(0deg, rgba(0, 43, 67, 0.8) 0%, rgba(0, 76, 118, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(0, 43, 67, 0.8) 0%, + rgba(0, 76, 118, 0.8) 100% + ); border-radius: 6px; border: 1px solid #47eef3; box-shadow: inset 0 0 5px 5px #47eef38a; @@ -196,7 +217,11 @@ .zzsj { width: 105px; height: 36px; - background: linear-gradient(0deg, rgba(126, 158, 166, 0.2) 0%, rgba(126, 158, 166, 0.8) 100%); + background: linear-gradient( + 0deg, + rgba(126, 158, 166, 0.2) 0%, + rgba(126, 158, 166, 0.8) 100% + ); border-radius: 2px; text-align: center; align-items: center; diff --git a/src/views/oneMap/index.vue b/src/views/oneMap/index.vue index 83e9789..6e34f7b 100644 --- a/src/views/oneMap/index.vue +++ b/src/views/oneMap/index.vue @@ -89,6 +89,13 @@ :ShowTuCheng="ShowTuCheng" :showPanel="showPanel" > + + { showPanel.value = params; }); + // 四色图图例显示隐藏 + bus.on("SiSeTuBol", (params) => { + SiSeTuBol.value = params; + }); }); onBeforeUnmount(() => { bus.off("BottomHidden"); @@ -538,12 +550,14 @@ bus.off("ChangeZhuanTiTu"); bus.off("checkRainL"); bus.off("changeShowPanel"); + bus.off("SiSeTuBol"); }); // 菜单点击 const MenuClick = (item, index) => { ShowTuCheng.value = false; showRainFlow.value = false; showPanel.value = false; + SiSeTuBol.value = false; // 改变菜单选中索引 AllData.AC_MenuIndex = item.id; // 二级也选中一级菜单默认展示的那个 @@ -565,6 +579,7 @@ const ErJiMenuClick = (item, item2) => { ShowTuCheng.value = false; showRainFlow.value = false; + SiSeTuBol.value = false; console.log(22); // 改变菜单选中索引 AllData.AC_MenuIndex = item.id; @@ -743,11 +758,11 @@ }; // 公共弹窗关闭后事件 -const handleClosed =()=>{ - console.log('clear all'); - - useDialogTabs.clear() -} +const handleClosed = () => { + console.log("clear all"); + + useDialogTabs.clear(); +};