From f1659a1ecde53251bf9c52bc125b2fb07e36da3b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 20 五月 2026 14:00:16 +0800
Subject: [PATCH] 进销存pro 1.首页及登录页样式微调 2.添加系统架构图页面 3.优化头部搜索菜单栏功能 4.首页快捷功能跳转路由修改

---
 src/layout/components/Sidebar/Logo.vue |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index d0d3a8c..1a66c4a 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -164,6 +164,8 @@
 
   &.collapse {
     .sidebar-logo-link {
+      display: flex;
+      align-items: center;
       justify-content: center;
       padding: 0;
 
@@ -174,19 +176,22 @@
     }
 
     .sidebar-logo {
-      width: 100%;
-      height: 100%;
-      max-width: 30px;
-      max-height: 30px;
-      padding: 0;
+      width: calc(100% - 8px);
+      height: calc(100% - 8px);
+      max-width: none;
+      max-height: none;
+      padding: 4px;
+      margin: 0 auto;
       filter: none;
+      object-fit: contain;
+      object-position: center;
     }
 
     .sidebar-favicon {
-      width: 28px;
-      height: 28px;
-      max-width: 28px;
-      max-height: 28px;
+      width: calc(100% - 8px);
+      height: calc(100% - 8px);
+      max-width: none;
+      max-height: none;
     }
   }
 }

--
Gitblit v1.9.3