refactor: rename "Topbar" into "TopBar2"

This commit is contained in:
Hakadao
2024-01-01 18:04:56 +08:00
parent 1d5f70665e
commit d089cd7aca
12 changed files with 2 additions and 2 deletions

View File

@@ -269,14 +269,14 @@ provide('scrollbarRef', scrollbarRef)
<!-- Topbar -->
<div m-auto max-w="$bew-page-max-width">
<Transition name="topbar">
<Topbar
<TopBar2
v-if="settings.isShowTopbar && !isHomePage()"
pos="top-0 left-0" z="99 hover:1001" w-full
:style="{ position: isTopbarFixed ? 'fixed' : 'absolute' }"
:show-search-bar="!isSearchPage"
:mask="showTopbarMask"
/>
<Topbar
<TopBar2
v-else-if="settings.isShowTopbar && isHomePage()"
ref="topbarRef"
:show-search-bar="showTopbarMask && settings.useSearchPageModeOnHomePage || (!settings.useSearchPageModeOnHomePage && activatedPage !== AppPage.Search || activatedPage !== AppPage.Home && activatedPage !== AppPage.Search)"