From e57e645d24a89adb3391be16f6948b292183fa04 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 11 二月 2025 14:02:07 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/layout/components/Sidebar/Logo.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 2774cc8..1aac73b 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -3,10 +3,10 @@ <transition name="sidebarLogoFade"> <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/"> <img v-if="logo" :src="logo" class="sidebar-logo" /> - <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> + <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> </router-link> <router-link v-else key="expand" class="sidebar-logo-link" to="/"> - <img v-if="logo" :src="logo" class="sidebar-logo" /> + <!-- <img v-if="logo" :src="logo" class="sidebar-logo" /> --> <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> </router-link> </transition> @@ -38,6 +38,9 @@ title: process.env.VUE_APP_TITLE, logo: logoImg } + }, + mounted() { + console.log("title鏄�", process.env.VUE_APP_TITLE); } } </script> @@ -78,7 +81,7 @@ color: #fff; font-weight: 600; line-height: 50px; - font-size: 14px; + font-size: 24px; font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif; vertical-align: middle; } -- Gitblit v1.8.0