mirror of
https://github.com/spark-store-project/spark-store-abyss
synced 2025-12-17 21:01:38 +08:00
fix: 修正动画计算中的参数以改善效果
Co-authored-by: Sylvanysc <Sylvanysc@users.noreply.github.com> Co-authored-by: 奕 <a18355849597@outlook.com>
This commit is contained in:
@@ -279,9 +279,9 @@ onMounted(() => {
|
|||||||
:style="{
|
:style="{
|
||||||
transform: `translateY(calc(${
|
transform: `translateY(calc(${
|
||||||
(getCubicBezier(
|
(getCubicBezier(
|
||||||
-1 * (5 - i),
|
0,
|
||||||
1.0 - 0.2 * (5 - i),
|
1.0 - 0.2 * (5 - i),
|
||||||
1 + 1 * (5 - i),
|
1,
|
||||||
0.2 * (5 - i)
|
0.2 * (5 - i)
|
||||||
)((range(-1, 1, sProgress - 2) + 1) * 0.5) -
|
)((range(-1, 1, sProgress - 2) + 1) * 0.5) -
|
||||||
0.5) *
|
0.5) *
|
||||||
|
|||||||
Reference in New Issue
Block a user