From d5ce66a2ab6f8abcf00b4b55370ea6e70e9a4b1c Mon Sep 17 00:00:00 2001 From: Hakadao Date: Thu, 17 Aug 2023 00:58:05 +0800 Subject: [PATCH] refactor: unified list transition animations --- src/components/Topbar/TopbarFavoritesPop.vue | 9 ------ src/components/Topbar/TopbarHistoryPop.vue | 9 ------ src/components/Topbar/TopbarMomentsPop.vue | 9 ------ src/contentScripts/views/App.vue | 9 ++++++ src/contentScripts/views/History/History.vue | 8 ----- .../Home/components/RecommendContent.vue | 13 -------- .../views/WatchLater/WatchLater.vue | 30 +++++++------------ 7 files changed, 20 insertions(+), 67 deletions(-) diff --git a/src/components/Topbar/TopbarFavoritesPop.vue b/src/components/Topbar/TopbarFavoritesPop.vue index 05eb92cc..f04e5390 100644 --- a/src/components/Topbar/TopbarFavoritesPop.vue +++ b/src/components/Topbar/TopbarFavoritesPop.vue @@ -305,15 +305,6 @@ function scrollToTop(element: HTMLElement, duration: number) { diff --git a/src/contentScripts/views/History/History.vue b/src/contentScripts/views/History/History.vue index 1dc0e1cf..2f6aaeb8 100644 --- a/src/contentScripts/views/History/History.vue +++ b/src/contentScripts/views/History/History.vue @@ -518,12 +518,4 @@ function jumpToLoginPage() { diff --git a/src/contentScripts/views/Home/components/RecommendContent.vue b/src/contentScripts/views/Home/components/RecommendContent.vue index d92b2d76..42c8667b 100644 --- a/src/contentScripts/views/Home/components/RecommendContent.vue +++ b/src/contentScripts/views/Home/components/RecommendContent.vue @@ -207,17 +207,4 @@ function jumpToLoginPage() { diff --git a/src/contentScripts/views/WatchLater/WatchLater.vue b/src/contentScripts/views/WatchLater/WatchLater.vue index 68e40b03..33867470 100644 --- a/src/contentScripts/views/WatchLater/WatchLater.vue +++ b/src/contentScripts/views/WatchLater/WatchLater.vue @@ -259,6 +259,17 @@ function jumpToLoginPage() { pos="sticky top-120px" flex="~ col gap-4" justify-start my-10 w-full h="auto md:[calc(100vh-160px)]" p-6 rounded="$bew-radius" overflow-hidden bg="$bew-fill-3" > +
+
+ +
+

-
-
- -
@@ -323,12 +323,4 @@ function jumpToLoginPage() {