From 55ff4ad6155248a7c2f391fd4fe75682a311dac0 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期四, 24 七月 2025 16:54:26 +0800 Subject: [PATCH] refactor(svg): 优化 SVG相关组件功能 --- zhitan-vue/src/layout/components/Sidebar/Logo.vue | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/zhitan-vue/src/layout/components/Sidebar/Logo.vue b/zhitan-vue/src/layout/components/Sidebar/Logo.vue index 6cabb17..36ee63f 100644 --- a/zhitan-vue/src/layout/components/Sidebar/Logo.vue +++ b/zhitan-vue/src/layout/components/Sidebar/Logo.vue @@ -19,7 +19,7 @@ <img v-else :src="systemInfo.leftLogo" class="sidebar-logo" /> </div> - <div class="name" v-if="!collapse" :style="{ color: sideTheme === 'theme-dark' ? '#fff' : '#487FEE' }"> + <div class="name" v-if="!collapse" :style="{ color: sideTheme === 'theme-dark' ? '#fff' : '#333' }"> {{ title }} </div> </div> @@ -58,31 +58,31 @@ .sidebar-logo-container { position: relative; width: 100%; - height: 50px; - line-height: 50px; - background: #2b2f3a; + height: 70px; + line-height: 70px; + background: #1a235d; text-align: center; overflow: hidden; display: flex; + justify-content: center; align-items: center; - margin-top: 24px; - margin-bottom: 15px; + // margin-top: 24px; + // margin-bottom: 15px; .logo { width: 40px; height: 40px; - margin-left: 13px; + margin-left: 10px; .sidebar-logo { width: 100%; height: 100%; } } .name { - width: 150px; - margin-top: 2px; + // width: 210px; margin-left: 6px; font-family: OPPOSans, OPPOSans; font-weight: bold; - font-size: 24px; + font-size: 20px; color: #ffffff; } -- Gitblit v1.9.3