From 05f2e56ff315a5bf3ca1fed62f4d755919f80e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=A5?= Date: Wed, 3 Jun 2026 20:26:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=A0=E5=BF=AB=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E8=AF=84=E4=BB=B7=E6=BB=9A=E5=8A=A8=E9=80=9F=E5=BA=A6=20+=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=98=B4=E5=BD=B1=E8=A2=AB=E8=A3=81=E5=89=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 滚动速度从 0.5px/帧 提升到 1.5px/帧 - 使用 mask-image 渐变边缘替代 overflow-hidden 卡片阴影不再被裁剪,边缘自然淡出 - 添加 py-4 上下留白,阴影完整显示 Co-Authored-By: Claude Opus 4.8 (1M context) --- app/components/home/HomeTestimonials.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/home/HomeTestimonials.vue b/app/components/home/HomeTestimonials.vue index 2ccad63..2e286db 100644 --- a/app/components/home/HomeTestimonials.vue +++ b/app/components/home/HomeTestimonials.vue @@ -12,10 +12,10 @@ -
+
[...testimonials, ...testimonials]) // 自动滚动状态 const offset = ref(0) -const speed = 0.5 // 每帧移动像素 +const speed = 1.5 // 每帧移动像素 let isPaused = false const cardWidth = 400 + 32 // 卡片宽度 + gap