From 06f4898ce8f7ea20b59d6a9aae33801d733c68a1 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 18 Apr 2025 14:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=9A=E4=B8=AA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=9A=84=20VInfiniteScroll=20=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=EF=BC=8C=E5=B0=86=20overflow-hidden=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20overflow-visible=EF=BC=8C=E4=BB=A5=E6=94=B9?= =?UTF-8?q?=E5=96=84=E6=BB=9A=E5=8A=A8=E4=BD=93=E9=AA=8C=E3=80=82=E5=90=8C?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=9B=B4=E6=96=B0=20PluginCard.vue=20?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F=EF=BC=8C=E6=B7=BB=E5=8A=A0=20card-b?= =?UTF-8?q?ackdrop=20=E5=92=8C=20card-backdrop-blur=20=E7=B1=BB=EF=BC=8C?= =?UTF-8?q?=E6=8F=90=E5=8D=87=E8=A7=86=E8=A7=89=E6=95=88=E6=9E=9C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cards/PluginCard.vue | 35 ++++++++++++++++--- .../dialog/SubscribeHistoryDialog.vue | 2 +- src/components/filebrowser/FileList.vue | 20 +++-------- src/views/discover/MediaCardListView.vue | 2 +- src/views/discover/PersonCardListView.vue | 2 +- src/views/plugin/PluginCardListView.vue | 2 +- src/views/subscribe/SubscribePopularView.vue | 2 +- src/views/subscribe/SubscribeShareView.vue | 2 +- src/views/system/MessageView.vue | 2 +- src/views/torrent/TorrentCardListView.vue | 2 +- src/views/torrent/TorrentRowListView.vue | 2 +- 11 files changed, 45 insertions(+), 28 deletions(-) diff --git a/src/components/cards/PluginCard.vue b/src/components/cards/PluginCard.vue index d590eb70..059af503 100644 --- a/src/components/cards/PluginCard.vue +++ b/src/components/cards/PluginCard.vue @@ -340,12 +340,12 @@ watch( }" >
@@ -466,6 +466,33 @@ watch( inset: 0; } +.card-backdrop { + background: rgba(var(--v-theme-primary), 0.2); + + &::before { + position: absolute; + background: color-mix(in srgb, var(--base-color) 60%, transparent); + content: ''; + inset: 0; + opacity: 0.8; + } +} + +.card-backdrop-blur { + /* stylelint-disable-next-line property-no-vendor-prefix */ + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + background: transparent; + + &::before { + position: absolute; + background: color-mix(in srgb, var(--base-color) 30%, transparent); + content: ''; + inset: 0; + opacity: 0.7; + } +} + .author-info { display: flex; align-items: center; diff --git a/src/components/dialog/SubscribeHistoryDialog.vue b/src/components/dialog/SubscribeHistoryDialog.vue index 2a448ddf..d14c6233 100644 --- a/src/components/dialog/SubscribeHistoryDialog.vue +++ b/src/components/dialog/SubscribeHistoryDialog.vue @@ -140,7 +140,7 @@ const dropdownItems = ref([ - + diff --git a/src/components/filebrowser/FileList.vue b/src/components/filebrowser/FileList.vue index d47a6cf6..47467b17 100644 --- a/src/components/filebrowser/FileList.vue +++ b/src/components/filebrowser/FileList.vue @@ -548,7 +548,7 @@ onMounted(() => { - - diff --git a/src/views/discover/MediaCardListView.vue b/src/views/discover/MediaCardListView.vue index 30cc8c1c..fdb6959e 100644 --- a/src/views/discover/MediaCardListView.vue +++ b/src/views/discover/MediaCardListView.vue @@ -109,7 +109,7 @@ async function fetchData({ done }: { done: any }) {