This commit is contained in:
qq564020069
2026-07-21 17:46:15 +08:00
parent ea3ae3a230
commit 26a80b20e2
2 changed files with 50 additions and 21 deletions
+29
View File
@@ -0,0 +1,29 @@
# 移动 AI 分析面板 — 2026-07-21
## Objective
将 AlphaMaster web 端首页(训练页)的「AI 分析当前训练情况」面板移动到「训练说明」面板的上方。
## File Modified
- `D:\cl\AlphaMaster\web\static\index.html`
## Change
在 `page-train` 中调整了 panel 的 DOM 顺序:
### 修改前
1. launch-panel — 启动训练
2. split (chart + log) — 训练曲线 + 训练日志
3. howto-panel — 训练说明
4. strategies-panel — 已保存策略
5. debug-panel — 调试/报错输出
6. ai-panel — AI 分析当前训练情况
### 修改后
1. launch-panel — 启动训练
2. split (chart + log) — 训练曲线 + 训练日志
3. **ai-panel — AI 分析当前训练情况** ← 上移
4. howto-panel — 训练说明
5. strategies-panel — 已保存策略
6. debug-panel — 调试/报错输出
## Method
纯 HTML DOM 顺序调整,将 ai-panel 区块从 debug-panel 之后整体剪切到 howto-panel 之前。无 CSS 或 JS 改动。
+21 -21
View File
@@ -141,6 +141,27 @@
</section>
</div>
<section class="panel ai-panel" id="aiPanelSection">
<span class="hud-corner tl"></span><span class="hud-corner tr"></span>
<span class="hud-corner bl"></span><span class="hud-corner br"></span>
<div class="panel-head">
<h2>AI 分析当前训练情况</h2>
<span class="hint" id="aiProviderHint">DeepSeek · deepseek-v4-flash</span>
</div>
<div class="ai-form">
<div class="ai-row">
<label class="ai-field ai-key-field" id="aiKeyField">
<span>API Key</span>
<input type="password" id="aiApiKeyInput" placeholder="填入 DeepSeek API Key" autocomplete="off" />
</label>
<button type="button" class="btn btn-primary" id="aiAnalyzeBtn">开始分析</button>
<button type="button" class="btn btn-unlimited" id="aiUnlimitedBtn">获取无限分析功能</button>
</div>
<small class="field-hint" id="aiChannelHint">使用 DeepSeek(deepseek-v4-flash · https://api.deepseek.com),填入你的 API Key 即可。</small>
</div>
<div class="ai-answer" id="aiAnswerView">点击「开始分析」后,AI 将回答:当前训练情况怎么样,是否值得继续,以及最新因子的含义与原理。</div>
</section>
<section class="panel howto-panel">
<span class="hud-corner tl"></span><span class="hud-corner tr"></span>
<span class="hud-corner bl"></span><span class="hud-corner br"></span>
@@ -210,27 +231,6 @@
<pre class="debug-view" id="debugView">暂无报错</pre>
</section>
<section class="panel ai-panel" id="aiPanelSection">
<span class="hud-corner tl"></span><span class="hud-corner tr"></span>
<span class="hud-corner bl"></span><span class="hud-corner br"></span>
<div class="panel-head">
<h2>AI 分析当前训练情况</h2>
<span class="hint" id="aiProviderHint">DeepSeek · deepseek-v4-flash</span>
</div>
<div class="ai-form">
<div class="ai-row">
<label class="ai-field ai-key-field" id="aiKeyField">
<span>API Key</span>
<input type="password" id="aiApiKeyInput" placeholder="填入 DeepSeek API Key" autocomplete="off" />
</label>
<button type="button" class="btn btn-primary" id="aiAnalyzeBtn">开始分析</button>
<button type="button" class="btn btn-unlimited" id="aiUnlimitedBtn">获取无限分析功能</button>
</div>
<small class="field-hint" id="aiChannelHint">使用 DeepSeek(deepseek-v4-flash · https://api.deepseek.com),填入你的 API Key 即可。</small>
</div>
<div class="ai-answer" id="aiAnswerView">点击「开始分析」后,AI 将回答:当前训练情况怎么样,是否值得继续,以及最新因子的含义与原理。</div>
</section>
<div class="modal" id="aiUnlimitedModal" hidden>
<div class="modal-backdrop" data-close-unlimited></div>
<div class="modal-card" role="dialog" aria-labelledby="aiUnlimitedTitle">