菜单导航设置支持纯顶部

This commit is contained in:
RuoYi
2025-12-16 11:41:45 +08:00
parent 168ad6a3b6
commit 73efecc5c2
10 changed files with 276 additions and 33 deletions
+6 -1
View File
@@ -34,6 +34,9 @@ const getLogoBackground = computed(() => {
if (settingsStore.isDark) {
return 'var(--sidebar-bg)'
}
if (settingsStore.navType == 3) {
return variables.menuLightBg
}
return sideTheme.value === 'theme-dark' ? variables.menuBg : variables.menuLightBg
})
@@ -42,6 +45,9 @@ const getLogoTextColor = computed(() => {
if (settingsStore.isDark) {
return 'var(--sidebar-text)'
}
if (settingsStore.navType == 3) {
return variables.menuLightText
}
return sideTheme.value === 'theme-dark' ? '#fff' : variables.menuLightText
})
</script>
@@ -58,7 +64,6 @@ const getLogoTextColor = computed(() => {
.sidebar-logo-container {
position: relative;
width: 100%;
height: 50px;
line-height: 50px;
background: v-bind(getLogoBackground);