From 3749d5c2de72362c248df686687d0974662e58e8 Mon Sep 17 00:00:00 2001 From: developer Date: Sat, 4 Apr 2026 22:56:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=B8=AE=E5=8A=A9?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=92=8C=E4=BD=BF=E7=94=A8=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 62 +++++++++++++++++++++++++++++++++++++++ index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ js/app.js | 16 +++++++++++ 3 files changed, 158 insertions(+) diff --git a/css/style.css b/css/style.css index 6ecb9a2..772b6c5 100644 --- a/css/style.css +++ b/css/style.css @@ -1713,6 +1713,68 @@ body::before { to { opacity: 0; transform: translateX(40px); } } +/* ═══════════════ 帮助弹框 ═══════════════ */ + +.help-btn { + margin-left: 4px; + opacity: 0.6; +} +.help-btn:hover { + opacity: 1; +} + +.help-section { + margin-bottom: 18px; +} +.help-section:last-child { + margin-bottom: 0; +} +.help-section h4 { + font-size: 14px; + font-weight: 600; + margin-bottom: 8px; + color: var(--text-primary); +} +.help-section ul, +.help-section ol { + padding-left: 20px; + font-size: 13px; + color: var(--text-secondary); + line-height: 1.8; +} +.help-section li { + margin-bottom: 2px; +} +.help-section code { + background: rgba(0,245,212,0.1); + color: var(--accent-cyan); + padding: 1px 6px; + border-radius: 4px; + font-size: 12px; +} +.help-section kbd { + background: rgba(255,255,255,0.08); + border: 1px solid rgba(255,255,255,0.15); + border-radius: 4px; + padding: 1px 6px; + font-size: 12px; + font-family: inherit; +} + +.help-shortcuts { + width: 100%; + font-size: 13px; + border-collapse: collapse; +} +.help-shortcuts td { + padding: 4px 8px; + border-bottom: 1px solid var(--border-glass); +} +.help-shortcuts td:first-child { + width: 140px; + text-align: center; +} + /* ═══════════════ 知识库管理 ═══════════════ */ .modal-lg { diff --git a/index.html b/index.html index c06cb5c..1071d78 100644 --- a/index.html +++ b/index.html @@ -21,6 +21,12 @@ Metona Ollama v2.2.0 +
@@ -234,6 +240,80 @@
+ + +