Add hub usage help page with settings nav toggle.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-11 10:02:07 +08:00
parent 843d87422d
commit 9f0a30a040
12 changed files with 484 additions and 0 deletions
+28
View File
@@ -52,6 +52,7 @@
<a href="/plan" id="nav-plan">开仓计划</a>
<a href="/monitor" id="nav-monitor">监控区</a>
<a href="/strategy" id="nav-strategy">策略说明</a>
<a href="/help" id="nav-help">使用说明</a>
<a href="/market" id="nav-market">行情区</a>
<a href="/calculator" id="nav-calculator">计算器</a>
<a href="/archive" id="nav-archive">内照明心</a>
@@ -890,6 +891,28 @@
</div>
</div>
<div id="page-help" class="page hidden">
<div class="page-head">
<div>
<h1><span class="head-tag">HLP</span> 使用说明</h1>
<p class="page-desc">中控与实例 · 日常操作指南(不含部署说明)</p>
</div>
</div>
<div class="help-toolbar">
<span id="help-load-status" class="toolbar-meta"></span>
</div>
<div class="help-layout">
<aside class="card help-toc-card">
<h3 class="help-toc-title">目录</h3>
<nav id="help-toc-nav" class="help-toc-nav" aria-label="使用说明目录"></nav>
</aside>
<section class="card help-doc-card">
<div id="help-doc-body" class="strategy-doc-body prose"></div>
<p id="help-doc-source" class="strategy-doc-source"></p>
</section>
</div>
</div>
<div id="page-logs" class="page hidden">
<div class="page-head hub-logs-page-head">
<div>
@@ -1010,6 +1033,10 @@
<input type="checkbox" id="pref-show-nav-strategy" checked />
顶栏显示「策略说明」
</label>
<label class="chk-label settings-display-chk">
<input type="checkbox" id="pref-show-nav-help" checked />
顶栏显示「使用说明」
</label>
<label class="chk-label settings-display-chk">
<input type="checkbox" id="pref-show-nav-logs" checked />
顶栏显示「系统日志」
@@ -1233,6 +1260,7 @@
<script src="/assets/funds.js?v=20260707-hub-options-funds"></script>
<script src="/assets/dashboard.js?v=20260708-options-expiry-cd"></script>
<script src="/assets/strategy.js?v=3"></script>
<script src="/assets/help.js?v=1"></script>
<script src="/assets/logs.js?v=1"></script>
<script src="/assets/ai_review_render.js?v=3"></script>
<script src="/assets/time_close_ui.js?v=3"></script>