Show options-page price clock and drive header trade stats from pure options.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-16 15:59:26 +08:00
parent 82d891ac92
commit 4ade3be2eb
8 changed files with 84 additions and 9 deletions
+5 -1
View File
@@ -356,7 +356,11 @@
function syncShellChrome(tab) {
const hideTopBar =
tab === "settings" || tab === "risk_policy" || tab === "system_guide" || tab === "env_config";
tab === "settings" ||
tab === "risk_policy" ||
tab === "system_guide" ||
tab === "env_config" ||
tab === "options_review";
document.querySelectorAll(".instance-top-bar").forEach((el) => {
el.hidden = hideTopBar;
});
+1
View File
@@ -82,6 +82,7 @@
.list-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px;background:#1a2034;border:1px solid #2a3150;border-radius:8px}
.btn-del{padding:5px 9px;background:#2f2134;color:#ff7b7b;border-radius:8px;text-decoration:none;font-size:.8rem}
.rule-tip{font-size:.8rem;color:#95a2c2;margin-bottom:8px}
.instance-price-bar{display:block;visibility:visible;white-space:nowrap;overflow:visible;line-height:1.4}
table{width:100%;border-collapse:collapse}
th,td{padding:8px;text-align:left;border-bottom:1px solid #25253b;font-size:.85rem}
th{color:#a9a9ff}