From 127f349fb2557636e2d36d190221bce6828f0836 Mon Sep 17 00:00:00 2001 From: wait4xx Date: Sun, 1 Nov 2026 13:21:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(gallery):=20=E7=81=AF=E7=AE=B1=20v2.1=20?= =?UTF-8?q?=E5=8D=81=E9=A1=B9=E5=85=A8=E9=87=8F=E2=80=94=E2=80=94=E8=B5=B7?= =?UTF-8?q?=E9=A3=9E=E5=BC=80=E5=90=88/=E9=9A=90=E5=B1=82/=E4=BE=A7?= =?UTF-8?q?=E7=BD=AE=20meta/HD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ①FLIP 原位起飞/回落(克隆双态矩形插值,关闭回落取缩略图实时 矩形)②背景点击关(containRect 几何判定——img 盒铺满 figure 的 元素链判定失效坑)③chrome 双层淡入+i 键/zoom 自动隐(换片重置) ④相邻预载 ⑤双指缩放 ⑥换片侧向过渡 ⑦缩放指示+首开提示 ⑧竖 图侧置 meta ⑨>1.5x HD 原图交换+404 兜底 ⑩竖拖关闭。reduced- motion 全豁免;钳制数学保留。 验收三连修:chrome-in 动画 both 填充锁死 opacity(animation:none 掐填充——动画填充压制普通声明的级联陷阱);× 钮独立于双层 chrome 补隐(全隐口径=只剩图,Esc/i 逃逸);视觉终审四问修复 后全过(起飞连贯/侧置成立/隐层纯净/亮暗同判)。 车道:op-artalk(专项逐项+E2E 34/34);收编验收+视觉终审双绿 验证: E2E 34/34;三态隐层 computed 实测(i 隐/复原/zoom 隐全 过);全隐残留零(×/caption/箭头);Esc 逃逸 ✓ Spec: none (灯箱 v2.1 定版,车道级交付) Co-authored-by: GLM-5.3 --- src/components/pages/GalleryPage.astro | 423 ++++++++++++++++++++++--- src/i18n/ui.ts | 1 + 2 files changed, 378 insertions(+), 46 deletions(-) diff --git a/src/components/pages/GalleryPage.astro b/src/components/pages/GalleryPage.astro index a4c0f1c..16b3c4c 100644 --- a/src/components/pages/GalleryPage.astro +++ b/src/components/pages/GalleryPage.astro @@ -119,7 +119,10 @@ const first = cards[0]; - -
+

{first?.caption ?? ''}

{first?.title} - 1 / {cards.length} {first?.exif} @@ -151,7 +153,7 @@ const first = cards[0];
-