From f1cb633cb38bbd950a0576e5c8ac99acbfb9ee8d Mon Sep 17 00:00:00 2001 From: xy <10816187@qq.com> Date: Fri, 17 Jul 2026 18:40:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20PhotoSwipe=20=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/posts/[...slug].astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index 21e6081..e71701c 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -186,6 +186,8 @@ const published_at = formatDatetime(data.published_at, 'YYYY 年 M 月 D 日') left: 24, }, bgOpacity: 0.5, + tapAction: "close", + bgClickAction: "close", }) lightbox.init()