From a7348c2002de24694f537d4d37a4f669fa0ef256 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Sun, 9 Nov 2025 18:01:49 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=9B=B8=E5=85=B3=E5=95=86=E5=93=81?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SwipeCards/index.vue | 4 ++-- src/components/SwipeCards/styles/index.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/SwipeCards/index.vue b/src/components/SwipeCards/index.vue index 0723107..6afe687 100644 --- a/src/components/SwipeCards/index.vue +++ b/src/components/SwipeCards/index.vue @@ -221,8 +221,8 @@ const transformStyle = (index, card) => { }; } // 预览层:轻微位移与缩放,确保连贯顶上 - const previewScales = [1, 0.98, 0.96]; - const previewOffsets = [0, 16, 16]; + const previewScales = [1, 0.94, 0.86]; + const previewOffsets = [0, 18, 39]; const scale = previewScales[index] ?? 0.94; const y = previewOffsets[index] ?? 24; return { diff --git a/src/components/SwipeCards/styles/index.scss b/src/components/SwipeCards/styles/index.scss index a4a4a09..3362b62 100644 --- a/src/components/SwipeCards/styles/index.scss +++ b/src/components/SwipeCards/styles/index.scss @@ -1,5 +1,5 @@ .card { - height: 304px; + height: 308px; } .card-item {