增加导航栏

This commit is contained in:
dekun
2026-05-25 17:05:12 +08:00
parent 85477f8dac
commit 2fbb3dd45a
3 changed files with 175 additions and 107 deletions
+47 -52
View File
@@ -87,16 +87,27 @@
</div>
</header>
<nav class="matrix-section-nav" id="sectionNav" aria-label="功能导航">
<div class="matrix-section-nav-inner">
<button type="button" class="matrix-nav-item is-active" data-nav-id="gemma-funnel">GEMMA4 漏斗</button>
<button type="button" class="matrix-nav-item" data-nav-id="key-monitor">关键位监控</button>
<button type="button" class="matrix-nav-item" data-nav-id="daily-report">每日晨报</button>
<button type="button" class="matrix-nav-item" data-nav-id="symbol-blocklist">监控黑名单</button>
<button type="button" class="matrix-nav-item" data-nav-id="order-executors">下单执行器</button>
<button type="button" class="matrix-nav-item" data-nav-id="intraday-rules">策略寄存器</button>
<button type="button" class="matrix-nav-item" data-nav-id="scan-layers">全市场扫描</button>
<button type="button" class="matrix-nav-item" data-nav-id="telemetry">系统遥测</button>
<button type="button" class="matrix-nav-item" data-nav-id="runtime-logs">运行日志</button>
</div>
</nav>
<main class="matrix-main matrix-crt-inner">
<section class="matrix-panel matrix-panel-hero matrix-panel-chrome matrix-panel-fold" data-fold-id="gemma-funnel" data-fold-default="open">
<div class="matrix-panel-head matrix-panel-head-row matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="true">
<section class="matrix-panel matrix-panel-hero matrix-panel-chrome matrix-nav-section is-nav-active" id="nav-gemma-funnel" data-nav-id="gemma-funnel">
<div class="matrix-panel-head matrix-panel-head-row">
<h2>// GEMMA 漏斗 · 优先矩阵</h2>
<span class="matrix-fold-head-right">
<span class="matrix-chip matrix-chip-magenta">LIVE FEED</span>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</span>
<span class="matrix-chip matrix-chip-magenta">LIVE FEED</span>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<div class="matrix-hero-radar" aria-hidden="true">
<div class="matrix-hero-radar-grid"></div>
<div class="matrix-hero-radar-sweep"></div>
@@ -115,15 +126,12 @@
</div>
</section>
<section class="matrix-panel matrix-panel-chrome matrix-panel-fold" id="keyMonitorPanel" data-fold-id="key-monitor" data-fold-default="open">
<div class="matrix-panel-head matrix-panel-head-row matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="true">
<section class="matrix-panel matrix-panel-chrome matrix-nav-section" id="keyMonitorPanel" data-nav-id="key-monitor">
<div class="matrix-panel-head matrix-panel-head-row">
<h2>// 关键位突破监控</h2>
<span class="matrix-fold-head-right">
<span class="matrix-chip matrix-dim">人工录入 · 5m 门控</span>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</span>
<span class="matrix-chip matrix-dim">人工录入 · 5m 门控</span>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<p class="matrix-hint">GEMMA 漏斗仅供参考;在此录入上/下沿。箱体突破与收敛突破均支持「标准突破」或「趋势突破」(无 1.5H 方案)。</p>
<p id="keyMonitorRule" class="matrix-hint matrix-dim">// 规则加载中…</p>
<div class="matrix-form-row matrix-form-row-wrap">
@@ -166,15 +174,12 @@
</div>
</section>
<section class="matrix-panel matrix-panel-chrome matrix-panel-fold" data-fold-id="daily-report" data-fold-default="closed">
<div class="matrix-panel-head matrix-panel-head-row matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="false">
<section class="matrix-panel matrix-panel-chrome matrix-nav-section" id="nav-daily-report" data-nav-id="daily-report">
<div class="matrix-panel-head matrix-panel-head-row">
<h2>// 每日晨报 · 昨日复盘</h2>
<span class="matrix-fold-head-right">
<button type="button" id="runDailyReportBtn" class="matrix-btn ghost" data-fold-ignore>立即生成</button>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</span>
<button type="button" id="runDailyReportBtn" class="matrix-btn ghost">立即生成</button>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<div class="matrix-form-row">
<label>晨报开关</label>
<input id="dailyReportEnabledInput" type="checkbox" />
@@ -192,15 +197,12 @@
</div>
</section>
<section class="matrix-panel matrix-panel-chrome matrix-panel-fold" data-fold-id="symbol-blocklist" data-fold-default="closed">
<div class="matrix-panel-head matrix-panel-head-row matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="false">
<section class="matrix-panel matrix-panel-chrome matrix-nav-section" id="nav-symbol-blocklist" data-nav-id="symbol-blocklist">
<div class="matrix-panel-head matrix-panel-head-row">
<h2>// 监控黑名单 · base</h2>
<span class="matrix-fold-head-right">
<span class="matrix-chip matrix-dim" id="symbolBlocklistCountChip">0 条规则</span>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</span>
<span class="matrix-chip matrix-dim" id="symbolBlocklistCountChip">0 条规则</span>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<p class="matrix-hint">
Gate USDT 永续左侧 base(每行一个或逗号分隔),如 <code>XAU</code> <code>XAUT</code> <code>XAG</code><code>all_swaps</code>
<code>watchlist</code> 均会在入池后剔除。保存后下一轮扫描生效。
@@ -220,15 +222,12 @@
</div>
</section>
<section class="matrix-panel matrix-panel-chrome matrix-panel-fold" id="orderExecutorsPanel" data-fold-id="order-executors" data-fold-default="closed">
<div class="matrix-panel-head matrix-panel-head-row matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="false">
<section class="matrix-panel matrix-panel-chrome matrix-nav-section" id="orderExecutorsPanel" data-nav-id="order-executors">
<div class="matrix-panel-head matrix-panel-head-row">
<h2>// 下单执行器 · 转发链</h2>
<span class="matrix-fold-head-right">
<span class="matrix-chip matrix-dim">仅扫描端维护 · 同一信号广播</span>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</span>
<span class="matrix-chip matrix-dim">仅扫描端维护 · 同一信号广播</span>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<p class="matrix-hint">
关键位门控通过且计划 RR 达标后,向列表中<strong>已启用</strong>的执行器 POST <code>/v1/signal</code>(单一 SL/TP,与录入方案一致)。
各执行器自行配置 Gate API、盈亏比、移动保本等;<strong>不支持执行器反向注册</strong>
@@ -258,12 +257,11 @@
</div>
</section>
<section class="matrix-panel matrix-panel-chrome matrix-panel-fold" data-fold-id="intraday-rules" data-fold-default="closed">
<div class="matrix-panel-head matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="false">
<section class="matrix-panel matrix-panel-chrome matrix-nav-section" id="nav-intraday-rules" data-nav-id="intraday-rules">
<div class="matrix-panel-head">
<h2>// 策略寄存器 · 5m</h2>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<p class="matrix-hint">全市场雷达:横盘 + 5m 突破 + 放量 · 仅参考推送 · 正式下单请用「关键位突破监控」</p>
<div class="matrix-form-row">
<label>横盘时长(h)</label>
@@ -286,13 +284,12 @@
</div>
</section>
<section class="matrix-panel matrix-panel-chrome matrix-panel-fold" data-fold-id="scan-layers" data-fold-default="closed">
<div class="matrix-panel-head matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="false">
<section class="matrix-panel matrix-panel-chrome matrix-nav-section" id="nav-scan-layers" data-nav-id="scan-layers">
<div class="matrix-panel-head">
<h2>// 全市场扫描 · 观察层 / 触发层</h2>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</div>
<div class="matrix-panel-fold-body">
<p class="matrix-hint matrix-dim">自动箱体雷达 · 默认折叠 · 与关键位下单无关</p>
<div class="matrix-panel-body">
<p class="matrix-hint matrix-dim">自动箱体雷达 · 与关键位下单无关</p>
<div class="matrix-two-col">
<div class="matrix-panel matrix-panel-chrome matrix-panel-nested">
<div class="matrix-panel-head"><h2>// 观察层 · WATCH</h2></div>
@@ -306,12 +303,11 @@
</div>
</section>
<section class="matrix-panel matrix-panel-wide matrix-panel-chrome matrix-panel-fold" data-fold-id="telemetry" data-fold-default="closed">
<div class="matrix-panel-head matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="false">
<section class="matrix-panel matrix-panel-wide matrix-panel-chrome matrix-nav-section" id="nav-telemetry" data-nav-id="telemetry">
<div class="matrix-panel-head">
<h2>// 系统遥测</h2>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<div class="matrix-split">
<pre id="status" class="matrix-pre matrix-pre-glow"></pre>
<pre id="config" class="matrix-pre matrix-pre-glow"></pre>
@@ -319,12 +315,11 @@
</div>
</section>
<section class="matrix-panel matrix-panel-wide matrix-panel-chrome matrix-panel-fold" data-fold-id="runtime-logs" data-fold-default="closed">
<div class="matrix-panel-head matrix-panel-fold-toggle" role="button" tabindex="0" aria-expanded="false">
<section class="matrix-panel matrix-panel-wide matrix-panel-chrome matrix-nav-section" id="nav-runtime-logs" data-nav-id="runtime-logs">
<div class="matrix-panel-head">
<h2>// 运行日志</h2>
<span class="matrix-fold-chevron" aria-hidden="true"></span>
</div>
<div class="matrix-panel-fold-body">
<div class="matrix-panel-body">
<div id="logs" class="matrix-list matrix-list-logs"></div>
</div>
</section>