refactor: remove redundant dashboard tab, health tab now unified

This commit is contained in:
hmo
2026-07-19 12:57:08 +08:00
parent b41bed7959
commit 9f3d1d8106
-4
View File
@@ -63,7 +63,6 @@ body { background: #0f0f13; color: #e2e8f0; }
<button class="tab-btn px-4 py-2 text-sm rounded-lg" data-tab="market">🌐 市场</button>
<button class="tab-btn px-4 py-2 text-sm rounded-lg" data-tab="signals">🔍 信号</button>
<button class="tab-btn px-4 py-2 text-sm rounded-lg" data-tab="health">🏥 健康</button>
<button class="tab-btn px-4 py-2 text-sm rounded-lg" data-tab="dashboard" style="color:#58a6ff;border-color:#58a6ff">📊 仪表盘</button>
<button class="tab-btn px-4 py-2 text-sm rounded-lg blink-tab" data-tab="watch" style="color:#f97316;border-color:#f97316">👁️ 盯盘</button>
<a href="/upload" class="tab-btn px-4 py-2 text-sm rounded-lg" style="text-decoration:none;color:#fbbf24;border-color:#fbbf24">📸 上传</a>
</div>
@@ -79,9 +78,6 @@ body { background: #0f0f13; color: #e2e8f0; }
<div id="tab-market" class="tab-content hidden"></div>
<div id="tab-signals" class="tab-content hidden"></div>
<div id="tab-health" class="tab-content hidden"></div>
<div id="tab-dashboard" class="tab-content hidden">
<iframe src="/dashboard" style="width:100%;height:100vh;border:none;background:#0d1117;border-radius:8px;"></iframe>
</div>
<div id="tab-watch" class="tab-content hidden">
<div class="flex items-center justify-between mb-4">
<h2 class="text-lg font-semibold text-slate-200">👁️ 盯盘 · 有效操作建议</h2>