From 5ed1141b063f67efbbe597e5dc86f1de95f43434 Mon Sep 17 00:00:00 2001 From: Orion Date: Fri, 11 Sep 2026 09:16:21 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E7=94=9F?= =?UTF-8?q?=E5=91=BD=E5=91=A8=E6=9C=9F=E6=82=AC=E6=B5=AE=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E4=B8=8E=20iOS=20=E9=A3=8E=E6=A0=BC=E5=B1=95=E5=BC=80=E5=8A=A8?= =?UTF-8?q?=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/FileManageView.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/manage/FileManageView.vue b/src/views/manage/FileManageView.vue index 0b64aed..0d93844 100644 --- a/src/views/manage/FileManageView.vue +++ b/src/views/manage/FileManageView.vue @@ -1870,10 +1870,11 @@ const visibleDetailTimeline = computed(() => isLifecycleExpanded.value ? detailTimelineRows.value : detailTimelineRows.value.slice(0, 3) ) -const LIFECYCLE_ENTER_MS = 160 -const LIFECYCLE_LEAVE_MS = 120 -const lifecycleEasing = 'cubic-bezier(0.22, 1, 0.36, 1)' -const lifecycleExitEasing = 'cubic-bezier(0.4, 0, 1, 1)' +// iOS-like motion: a soft spring-feel enter, with a shorter decisive exit. +const LIFECYCLE_ENTER_MS = 360 +const LIFECYCLE_LEAVE_MS = 240 +const lifecycleEasing = 'cubic-bezier(0.2, 0.8, 0.2, 1)' +const lifecycleExitEasing = 'cubic-bezier(0.4, 0, 0.8, 0.2)' const reducedMotionQuery = window.matchMedia('(prefers-reduced-motion: reduce)') const getAnimationDelay = (element: Element) => {