From 4a043e65e3a2479f870df6e044a15487a0045c59 Mon Sep 17 00:00:00 2001 From: dekun Date: Tue, 9 Jun 2026 16:18:10 +0800 Subject: [PATCH] feat: improve light mode key monitor UI and collapse rule tips by default Co-authored-by: Cursor --- crypto_monitor_binance/templates/index.html | 13 +- crypto_monitor_gate/templates/index.html | 3 +- crypto_monitor_gate_bot/templates/index.html | 3 +- crypto_monitor_okx/templates/index.html | 13 +- static/instance_theme.css | 118 +++++++++++++++++++ strategy_templates/gate_transfer_block.html | 12 +- strategy_templates/key_monitor_panel.html | 9 +- 7 files changed, 151 insertions(+), 20 deletions(-) diff --git a/crypto_monitor_binance/templates/index.html b/crypto_monitor_binance/templates/index.html index 7f61139..66a691b 100644 --- a/crypto_monitor_binance/templates/index.html +++ b/crypto_monitor_binance/templates/index.html @@ -232,7 +232,7 @@ .stats-period-block h3{font-size:1rem;color:#dbe4ff;margin-bottom:4px} .stats-period-block .sub{font-size:.78rem;color:#8892b0;margin-bottom:10px;line-height:1.4} - + @@ -317,7 +317,7 @@
交易日
{{ trading_day }}
当日资金(交易账户)
{{ funds_fmt(current_capital) }}U
-
实时价格更新时间:--(北京时间 UTC+8)
+
实时价格更新:--(北京时间 UTC+8)
{% if page == 'key_monitor' %} @@ -348,9 +348,12 @@ {% endif %} |移动保本:下单可勾选关闭;开启时 {{ breakeven_rr_trigger }}R 触发(每 1R 阶梯上移),偏移 {{ breakeven_offset_pct }}%
-
- 划转:自动划转 {{ '开启' if auto_transfer_enabled else '关闭' }}(每天北京时间 {{ auto_transfer_bj_hour }}:00起该整点小时内尝试;账簿按 UTC 自然日去重;将 {{ auto_transfer_to }} 调整至 {{ auto_transfer_amount }}U:不足从 {{ auto_transfer_from }} 划入、超出划回 {{ auto_transfer_from }};持仓中不划转并微信通知) -
+
+ 划转规则说明 +
+ 划转:自动划转 {{ '开启' if auto_transfer_enabled else '关闭' }}(每天北京时间 {{ auto_transfer_bj_hour }}:00起该整点小时内尝试;账簿按 UTC 自然日去重;将 {{ auto_transfer_to }} 调整至 {{ auto_transfer_amount }}U:不足从 {{ auto_transfer_from }} 划入、超出划回 {{ auto_transfer_from }};持仓中不划转并微信通知) +
+
@@ -357,9 +357,12 @@ {% endif %} |移动保本:下单可勾选关闭;开启时 {{ breakeven_rr_trigger }}R 触发(每 1R 阶梯上移),偏移 {{ breakeven_offset_pct }}% -
- 划转:自动划转 {{ '开启' if auto_transfer_enabled else '关闭' }}(每天北京时间 {{ auto_transfer_bj_hour }}:00起该整点小时内尝试;账簿按 UTC 自然日去重;将 {{ auto_transfer_to }} 调整至 {{ auto_transfer_amount }}U:不足从 {{ auto_transfer_from }} 划入、超出划回 {{ auto_transfer_from }};持仓中不划转并微信通知) -
+
+ 划转规则说明 +
+ 划转:自动划转 {{ '开启' if auto_transfer_enabled else '关闭' }}(每天北京时间 {{ auto_transfer_bj_hour }}:00起该整点小时内尝试;账簿按 UTC 自然日去重;将 {{ auto_transfer_to }} 调整至 {{ auto_transfer_amount }}U:不足从 {{ auto_transfer_from }} 划入、超出划回 {{ auto_transfer_from }};持仓中不划转并微信通知) +
+