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 {