From d6e891cdb087c5a1e18273f8bacca9575d03a603 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 27 Oct 2026 14:53:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=AF=B4=E6=98=8E=EF=BC=9A?= =?UTF-8?q?=E6=88=AA=E5=9B=BE=E7=82=B9=E5=87=BB=E5=90=8E=E5=9C=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B8=8A=E6=94=BE=E5=A4=A7=EF=BC=88=E6=8C=89=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=A4=A7=E5=B0=8F=EF=BC=8C=E6=9C=80=E5=A4=9A=E6=94=BE?= =?UTF-8?q?=E5=A4=A7=202=20=E5=80=8D=EF=BC=89=EF=BC=8C=E7=82=B9=E4=BB=BB?= =?UTF-8?q?=E6=84=8F=E5=A4=84=E6=88=96=E6=8C=89=20Esc=20=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- web/src/pages/HelpPage.vue | 84 +++++++++++++++++++++++++++++++------- 1 file changed, 70 insertions(+), 14 deletions(-) diff --git a/web/src/pages/HelpPage.vue b/web/src/pages/HelpPage.vue index f7b3e38..d6dce32 100644 --- a/web/src/pages/HelpPage.vue +++ b/web/src/pages/HelpPage.vue @@ -1,7 +1,29 @@ @@ -282,7 +309,7 @@ code { font-size: 13px; } -/* 截图:按原尺寸显示,比正文宽时缩小;点击看原图 */ +/* 截图:按原尺寸显示,比正文宽时缩小;点击在页面上放大 */ .shot { margin: 12px 0 16px; } @@ -296,6 +323,35 @@ code { box-shadow: 0 1px 4px rgb(0 0 0 / 0.08); } +.shot a { + cursor: zoom-in; +} + +.zoom { + position: fixed; + inset: 0; + z-index: 100; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 8px; + padding: 16px; + background: rgb(0 0 0 / 0.88); + cursor: zoom-out; +} + +.zoom img { + max-width: 100%; + border-radius: 4px; + background: #fff; +} + +.zoom-caption { + color: #fff; + font-size: 14px; +} + .shot figcaption { margin-top: 4px; font-size: 13px;