From 4e3d77dcbe421a4d6611ebcdd1ac3165cb36ad4b Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期一, 06 二月 2023 14:59:33 +0800
Subject: [PATCH] 系统界面翻新,回车登录,综合展示菜单重复

---
 src/views/Synthesis/LeftMenu.vue |   39 ++++++++++++++++++++-------------------
 1 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue
index 12aa838..f27149d 100644
--- a/src/views/Synthesis/LeftMenu.vue
+++ b/src/views/Synthesis/LeftMenu.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="menu_Box">
+  <div class="menu_Box box_div">
     <div
       class="leftMen_div"
       @click="setChangeTwoMenu(item)"
@@ -555,14 +555,14 @@
           //     this.openMeasureResultInfo('娴锋嫈楂樺害', data);
           //   }
           // );
-            var measure = window.sgworld.Command.execute(0, 3, this.colorAll, (data) => {
-        data.id = window.sgworld.Core.getuid();
-       this.measureData.set(data.id, measure);
-        this.openMeasureResultInfo('骞抽潰闈㈢Н', data);
+          var measure = window.sgworld.Command.execute(0, 3, this.colorAll, (data) => {
+            data.id = window.sgworld.Core.getuid();
+            this.measureData.set(data.id, measure);
+            this.openMeasureResultInfo('骞抽潰闈㈢Н', data);
 
-        
-      });
-          
+
+          });
+
           break;
         case 'j2':
           var measure = window.sgworld.Command.execute(
@@ -1021,10 +1021,11 @@
       switch (res) {
         case 'a1':
           if (this.$store.state.layerMnage == false) {
+            this.$refs && this.$refs.maplayer && this.$refs.maplayer.closeAll();
             this.$refs && this.$refs.maplayer && this.$refs.maplayer.open();
             this.$store.state.layerMnage = true;
           } else if (this.$store.state.layerMnage == true) {
-            this.$refs && this.$refs.maplayer && this.$refs.maplayer.close();
+            this.$refs && this.$refs.maplayer && this.$refs.maplayer.closeAll();
             this.$store.state.layerMnage = false;
           }
 
@@ -1049,12 +1050,10 @@
       }
 
     });
-    this.$bus.$on('showLeftMenu', (res) => {
-      this.$store.state.showAllLayers = true;
 
-      this.setCoverage('a1');
-
-    });
+    this.$store.state.showAllLayers = true;
+    this.$store.state.layerMnage = false;
+    this.setCoverage('a1');
   },
 };
 </script>
@@ -1075,7 +1074,7 @@
     font-size: 16px;
     font-family: Microsoft YaHei;
     font-weight: 400;
-    color: #ffffff;
+
     padding: 10px;
     min-width: 100px;
     margin-left: 10px;
@@ -1083,12 +1082,14 @@
     border-radius: 5px;
   }
   .leftMen_div:hover {
-    background: linear-gradient(180deg, #002992, #080472);
-    border: 1px solid #000000;
-    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.21);
+    background: rgba(64, 158, 255, 0.4);
+    border: 1px solid #409eff;
+    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
+    border-radius: 5px;
   }
   .lefMenuDivActive {
-    background: linear-gradient(180deg, #002992, #080472);
+    background: rgba(64, 158, 255, 0.4);
+    border: 1px solid #409eff;
   }
   .menuTwoImage {
     width: 32px;

--
Gitblit v1.9.3