mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
refactor: rename SettingItem to SettingsItem
* feat: add a new config without implementing the function...
This commit is contained in:
@@ -537,7 +537,7 @@ function handleAdaptToOtherPageStylesChange() {
|
||||
</div>
|
||||
|
||||
<Transition name="fade">
|
||||
<Component :is="pages[activatedPage]" :key="dynamicComponentKey" absolute w-full />
|
||||
<Component :is="pages[activatedPage]" :key="dynamicComponentKey" :style="{ position: 'absolute', width: '100%' }" />
|
||||
</Transition>
|
||||
</main>
|
||||
</div>
|
||||
|
||||
@@ -18,27 +18,29 @@ onUnmounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
v-if="settings.useSearchPageModeOnHomePage"
|
||||
flex="~ col"
|
||||
justify-center
|
||||
items-center relative
|
||||
w-full z-10
|
||||
h-50vh max-h-550px
|
||||
>
|
||||
<Logo
|
||||
v-if="settings.searchPageShowLogo" :size="180" :color="settings.searchPageLogoColor === 'white' ? 'white' : 'var(--bew-theme-color)'"
|
||||
:glow="settings.searchPageLogoGlow"
|
||||
m="t--70px b-12" z-1
|
||||
/>
|
||||
<SearchBar
|
||||
:darken-on-focus="settings.searchPageDarkenOnSearchFocus"
|
||||
:blurred-on-focus="settings.searchPageBlurredOnSearchFocus"
|
||||
:focused-character="settings.searchPageSearchBarFocusCharacter"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<div
|
||||
v-if="settings.useSearchPageModeOnHomePage"
|
||||
flex="~ col"
|
||||
justify-center
|
||||
items-center relative
|
||||
w-full z-10
|
||||
h-50vh max-h-550px
|
||||
>
|
||||
<Logo
|
||||
v-if="settings.searchPageShowLogo" :size="180" :color="settings.searchPageLogoColor === 'white' ? 'white' : 'var(--bew-theme-color)'"
|
||||
:glow="settings.searchPageLogoGlow"
|
||||
m="t--70px b-12" z-1
|
||||
/>
|
||||
<SearchBar
|
||||
:darken-on-focus="settings.searchPageDarkenOnSearchFocus"
|
||||
:blurred-on-focus="settings.searchPageBlurredOnSearchFocus"
|
||||
:focused-character="settings.searchPageSearchBarFocusCharacter"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<RecommendContent :key="recommendContentKey" />
|
||||
<RecommendContent :key="recommendContentKey" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
Reference in New Issue
Block a user