Browse Source

style: 修改layout样式

xiaoxian521 3 years ago
parent
commit
2d9c185b4e
3 changed files with 21 additions and 1 deletions
  1. 1 1
      index.html
  2. BIN
      public/favicon.ico
  3. 20 0
      src/style/sidebar.scss

+ 1 - 1
index.html

@@ -5,7 +5,7 @@
     <link rel="icon" href="/favicon.ico" />
     <link rel="stylesheet" href="/iconfont.css" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <title>后台管理系统</title>
+    <title>vue-pure-admin</title>
     <script src="/sortable.min.js"></script>
     <script>
       window.process = {};

BIN
public/favicon.ico


+ 20 - 0
src/style/sidebar.scss

@@ -465,6 +465,10 @@
     background-color: #1890ff !important;
     content: "";
     clear: both;
+    -webkit-transition: all 0.2s ease-in-out;
+    transition: all 0.2s ease-in-out;
+    -webkit-transform: translateY(0);
+    transform: translateY(0);
   }
 
   // 无子菜单
@@ -477,6 +481,22 @@
     background-color: #1890ff !important;
     content: "";
     clear: both;
+    -webkit-transition: all 0.2s ease-in-out;
+    transition: all 0.2s ease-in-out;
+    -webkit-transform: translateY(0);
+    transform: translateY(0);
+  }
+
+  .el-menu--collapse .outer-most.el-sub-menu > .el-sub-menu__title::before,
+  .el-menu--collapse .submenu-title-noDropdown.outer-most::before {
+    content: "";
+    display: block;
+    position: absolute;
+    height: 0;
+    width: 3px;
+    -webkit-transform: translateY(-50%);
+    transform: translateY(-50%);
+    top: 50%;
   }
 
   // 手机端