fix: 修正动画计算中的参数以改善效果

Co-authored-by: Sylvanysc <Sylvanysc@users.noreply.github.com>
Co-authored-by: 奕 <a18355849597@outlook.com>
This commit is contained in:
2025-06-01 22:22:00 +08:00
parent d5e917c888
commit f018ec2c09

View File

@@ -279,9 +279,9 @@ onMounted(() => {
:style="{
transform: `translateY(calc(${
(getCubicBezier(
-1 * (5 - i),
0,
1.0 - 0.2 * (5 - i),
1 + 1 * (5 - i),
1,
0.2 * (5 - i)
)((range(-1, 1, sProgress - 2) + 1) * 0.5) -
0.5) *