mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: some style bugs
* i18n: change the naming convention of keys * refactor(BewSelect): using composition api
This commit is contained in:
@@ -334,6 +334,8 @@ function getPopularAnimeList() {
|
||||
aspect="12/16"
|
||||
transition="all duration-300"
|
||||
bg="cover center"
|
||||
relative
|
||||
z-1
|
||||
:style="{
|
||||
backgroundImage: `url(${removeHttpFromUrl(
|
||||
item.cover,
|
||||
@@ -350,7 +352,6 @@ function getPopularAnimeList() {
|
||||
transition="all duration-1000"
|
||||
bg="cover center"
|
||||
pos="absolute top-0 left-0"
|
||||
z--1
|
||||
:style="{
|
||||
backgroundImage: `url(${removeHttpFromUrl(
|
||||
item.hover.img,
|
||||
|
||||
@@ -37,7 +37,9 @@ const mainApp = ref<HTMLElement>()
|
||||
watch(
|
||||
() => activatedPage.value,
|
||||
(newValue, oldValue) => {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' })
|
||||
setTimeout(() => {
|
||||
window.scrollTo(0, 0)
|
||||
}, 500)
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user