Browse Source

menu 三级菜单样式

1319612909 4 years ago
parent
commit
d6b726e8ca
2 changed files with 12 additions and 1 deletions
  1. 1 1
      server/config.yaml
  2. 11 0
      web/src/style/main.scss

+ 1 - 1
server/config.yaml

@@ -56,7 +56,7 @@ mysql:
   config: 'charset=utf8mb4&parseTime=True&loc=Local'
   db-name: 'qmPlus'
   username: 'root'
-  password: 'Aa@6447985'
+  password: 'root123'
   max-idle-conns: 10
   max-open-conns: 100
   log-mode: false

+ 11 - 0
web/src/style/main.scss

@@ -605,6 +605,17 @@ li {
                 }
                 .is-active {    
                     background-color: #1890ff;
+                    // 关闭三级菜单二级菜单样式
+                    ul{
+                        border:none;
+                    }
+                }
+                // 关闭三级菜单二级菜单样式
+                .is-active.is-opened{
+                    background-color: #191a23;
+                    ul{
+                        border:none;
+                    }
                 }
             }
         }