feat: fix mobile AI full-width layout and simplify instance stats

Move hub AI mobile CSS after desktop grid rules so chat fills the screen. Hide exchange and total-trade stat cards on phone across all instances and compact export bar.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-09 16:57:47 +08:00
parent ea3ef71477
commit e60beeedd3
7 changed files with 193 additions and 129 deletions
+3 -3
View File
@@ -269,7 +269,7 @@
.stats-split-row{grid-template-columns:1fr}
}
</style>
<link rel="stylesheet" href="/static/instance_theme.css?v=10">
<link rel="stylesheet" href="/static/instance_theme.css?v=11">
</head>
<body data-page="{{ page }}">
@@ -359,8 +359,8 @@
<a href="/export/key_monitor_history">关键位历史</a>
</div>
<div class="stat-box">
<div class="stat-item"><div class="label">交易所</div><div class="value">{{ exchange_display }}</div></div>
<div class="stat-item"><div class="label">总交易</div><div class="value">{{ total }}</div></div>
<div class="stat-item stat-item-desktop-only"><div class="label">交易所</div><div class="value">{{ exchange_display }}</div></div>
<div class="stat-item stat-item-desktop-only"><div class="label">总交易</div><div class="value">{{ total }}</div></div>
<div class="stat-item"><div class="label">错过次数</div><div class="value">{{ miss_count }}</div></div>
<div class="stat-item"><div class="label">胜率</div><div class="value">{{ rate }}%</div></div>
<div class="stat-item"><div class="label">资金账户(USDT)</div><div class="value" id="total-capital">{% if funding_usdt is not none %}{{ money_fmt(funding_usdt) }}U{% else %}—{% endif %}</div></div>