浏览代码

菜单样式调整

zpf 11 月之前
父节点
当前提交
0c6bb82ed8
共有 1 个文件被更改,包括 25 次插入6 次删除
  1. 25 6
      src/views/map3d.vue

+ 25 - 6
src/views/map3d.vue

@@ -83,7 +83,7 @@
       <router-view ref="routeViewRef"></router-view>
       <router-view ref="routeViewRef"></router-view>
     </div>
     </div>
     <sm-viewer @viewerChange="viewerChange" :isdefaultbig="true"> </sm-viewer>
     <sm-viewer @viewerChange="viewerChange" :isdefaultbig="true"> </sm-viewer>
-     <!-- <div class="masking_top">
+    <!-- <div class="masking_top">
       <div class="top_left"></div>
       <div class="top_left"></div>
       <div class="top_right"></div>
       <div class="top_right"></div>
     </div>
     </div>
@@ -282,17 +282,17 @@ export default {
   height: calc(100% - 60px);
   height: calc(100% - 60px);
   top: 60px;
   top: 60px;
 }
 }
+
 .bg_top {
 .bg_top {
   width: 100%;
   width: 100%;
   height: 70px;
   height: 70px;
   position: absolute;
   position: absolute;
   z-index: 100;
   z-index: 100;
-  background: linear-gradient(
-    to bottom ,
-    rgba(6, 37, 66, 1),
-    rgba(26, 28, 53, 0)
-  );
+  background: linear-gradient(to bottom,
+      rgba(6, 37, 66, 1),
+      rgba(26, 28, 53, 0));
 }
 }
+
 .header {
 .header {
   height: 60px;
   height: 60px;
   position: fixed;
   position: fixed;
@@ -545,6 +545,14 @@ export default {
 
 
 .el-menu--popup .el-submenu {
 .el-menu--popup .el-submenu {
   width: 100% !important;
   width: 100% !important;
+
+  margin-top: 10px;
+
+}
+
+.el-menu--popup li {
+  margin-top: 10px;
+
 }
 }
 
 
 .el-submenu:hover {
 .el-submenu:hover {
@@ -583,4 +591,15 @@ export default {
   border: none !important;
   border: none !important;
   text-align: center !important;
   text-align: center !important;
 }
 }
+
+/deep/ .el-submenu__icon-arrow {
+  position: absolute;
+  right: 50px;
+}
 </style>
 </style>
+<style>
+.el-menu--popup {
+  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0) !important;
+
+}
+</style>