cfort 1 год назад
Родитель
Сommit
79689b5dc2
2 измененных файлов с 4 добавлено и 3 удалено
  1. 2 2
      src/assets/styles/theme/theme-base.scss
  2. 2 1
      src/layout/header-aside/layout.vue

+ 2 - 2
src/assets/styles/theme/theme-base.scss

@@ -165,7 +165,7 @@
       // 折叠侧边栏切换按钮
       .toggle-aside-btn {
         float: left;
-        height: 60px;
+        height: 50px;
         width: 60px;
         display: flex;
         justify-content: center;
@@ -229,7 +229,7 @@
 		// 折叠侧边栏切换按钮
 		.toggle-aside-btn {
 		  float: left;
-		  height: 60px;
+		  height: 50px;
 		  width: 60px;
 		  display: flex;
 		  justify-content: center;

+ 2 - 1
src/layout/header-aside/layout.vue

@@ -131,7 +131,8 @@
                             <ibps-icon :name="asideCollapse ? 'indent' : 'outdent'" />
                         </div>
                         <div style="width: 74%;" class="toggle-aside-btn layout-border-left-name">
-                            <span>{{ getSystemName[0].name }}</span>
+                            <ibps-icon v-if="asideCollapse" :name="getSystemName[0].icon || 'cog'" />
+                            <span v-else>{{ getSystemName[0].name }}</span>
                         </div>
                     </div>
                     <ibps-menu-side style="margin-top: 52px;" />