Remove duplicate funds PnL banner.
Keep cumulative PnL in summary cards and free toolbar space after snapshot sync. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,6 +4,29 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-16 · 资金概况移除累计盈亏长条
|
||||
|
||||
### 修改原因
|
||||
|
||||
「同步快照」后方的累计盈亏长条与下方汇总卡片重复,占用横向空间。
|
||||
|
||||
### 修改的地方
|
||||
|
||||
| 文件 | 改动摘要 |
|
||||
|------|----------|
|
||||
| `manual_trading_hub/static/index.html` | 删除资金工具栏中的累计盈亏/较昨日长条 |
|
||||
|
||||
### 达成的目标
|
||||
|
||||
资金概况工具栏仅保留「同步快照」和状态信息,累计盈亏继续由下方汇总卡展示。
|
||||
|
||||
### 交付之后的验收
|
||||
|
||||
1. 「同步快照」按钮后不再显示累计盈亏长条。
|
||||
2. 下方累计盈亏、较昨日汇总卡数据正常显示。
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-16 · 今日统计默认折叠 + 交易所标题行下移
|
||||
|
||||
### 修改原因
|
||||
|
||||
@@ -625,17 +625,6 @@
|
||||
</div>
|
||||
<div class="funds-toolbar toolbar">
|
||||
<button type="button" id="funds-btn-refresh" class="primary funds-btn-refresh">同步快照</button>
|
||||
<div id="funds-pnl-banner" class="funds-pnl-banner" aria-live="polite">
|
||||
<div class="funds-pnl-main">
|
||||
<span class="funds-pnl-label">累计盈亏 · P&L</span>
|
||||
<span id="funds-period-delta" class="funds-pnl-value">—</span>
|
||||
<span id="funds-period-pct" class="funds-pnl-pct">—</span>
|
||||
</div>
|
||||
<div class="funds-pnl-side">
|
||||
<span class="funds-pnl-side-label">较昨日</span>
|
||||
<span id="funds-day-chip" class="funds-pnl-side-val">—</span>
|
||||
</div>
|
||||
</div>
|
||||
<span id="funds-status" class="toolbar-meta funds-status"></span>
|
||||
</div>
|
||||
<section class="funds-summary">
|
||||
|
||||
Reference in New Issue
Block a user