From f98b1913f7236fbccfda22fbb24ea04e09236103 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Thu, 18 Sep 2025 18:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app/t-postcard.vue | 25 ++++++++++++------------- src/components/func/loading.vue | 3 +-- src/views/t-post.vue | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/src/components/app/t-postcard.vue b/src/components/app/t-postcard.vue index 4c2f7fed..e3badf7c 100644 --- a/src/components/app/t-postcard.vue +++ b/src/components/app/t-postcard.vue @@ -341,14 +341,18 @@ function onUserClick(): void { aspect-ratio: 69 / 32; background: var(--common-shadow-2); cursor: pointer; -} -.tpc-cover img { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center; - transition: all 0.3s linear; + img { + width: 100%; + height: 100%; + object-fit: cover; + object-position: center; + transition: all 0.3s linear; + + &:hover { + transform: scale(1.2); + } + } } .tpc-mid { @@ -422,12 +426,7 @@ function onUserClick(): void { img { width: 20px; height: 20px; - margin-right: 5px; - - &:hover { - transform: scale(1.1); - transition: all 0.3s linear; - } + margin-right: 4px; } } diff --git a/src/components/func/loading.vue b/src/components/func/loading.vue index 488467a8..378a5ff7 100644 --- a/src/components/func/loading.vue +++ b/src/components/func/loading.vue @@ -72,7 +72,7 @@ async function displayBox(params: LoadingParams): Promise { defineExpose({ displayBox }); -