diff --git a/src/layouts/TopMode.vue b/src/layouts/TopMode.vue new file mode 100644 index 0000000..313f0ac --- /dev/null +++ b/src/layouts/TopMode.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/src/layouts/components/Logo/index.vue b/src/layouts/components/Logo/index.vue index 19ebb3e..06e158e 100644 --- a/src/layouts/components/Logo/index.vue +++ b/src/layouts/components/Logo/index.vue @@ -23,6 +23,12 @@ const bgCloor = computed(() => { ? getCssVariableValue("--v3-header-bg-color") : getCssVariableValue("--v3-sidebar-menu-bg-color") }) + +const logoHeight = computed(() => { + return layoutMode.value !== "top" + ? getCssVariableValue("--v3-header-height") + : getCssVariableValue("--v3-navigationbar-height") +})