|
|
|
@ -82,10 +82,20 @@ function usePreferences() {
|
|
|
|
() => appPreferences.value.layout === 'header-nav',
|
|
|
|
() => appPreferences.value.layout === 'header-nav',
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @zh_CN 是否为头部混合导航模式
|
|
|
|
|
|
|
|
*/
|
|
|
|
const isHeaderMixedNav = computed(
|
|
|
|
const isHeaderMixedNav = computed(
|
|
|
|
() => appPreferences.value.layout === 'header-mixed-nav',
|
|
|
|
() => appPreferences.value.layout === 'header-mixed-nav',
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @zh_CN 是否为顶部通栏+侧边导航模式
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
const isHeaderSidebarNav = computed(
|
|
|
|
|
|
|
|
() => appPreferences.value.layout === 'header-sidebar-nav',
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @zh_CN 是否为混合导航模式
|
|
|
|
* @zh_CN 是否为混合导航模式
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ -225,6 +235,7 @@ function usePreferences() {
|
|
|
|
isFullContent,
|
|
|
|
isFullContent,
|
|
|
|
isHeaderMixedNav,
|
|
|
|
isHeaderMixedNav,
|
|
|
|
isHeaderNav,
|
|
|
|
isHeaderNav,
|
|
|
|
|
|
|
|
isHeaderSidebarNav,
|
|
|
|
isMixedNav,
|
|
|
|
isMixedNav,
|
|
|
|
isMobile,
|
|
|
|
isMobile,
|
|
|
|
isSideMixedNav,
|
|
|
|
isSideMixedNav,
|
|
|
|
|