Show exchange badge and expanded rule tips in hub order popup.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,12 @@
|
||||
{% elif page == 'trade' %}
|
||||
<div class="dual-panel-grid{% if order_popup %} order-popup-trade-grid{% endif %}" style="grid-column:1/-1">
|
||||
<div class="card order-popup-form-card">
|
||||
{% if order_popup %}
|
||||
<div class="order-popup-exchange-bar">
|
||||
<span class="exchange-tag order-popup-exchange-tag">{{ exchange_display }}</span>
|
||||
<span class="risk-status-badge risk-status-{{ risk_status.status|default('normal') }}" id="account-risk-badge" role="status" title="{{ risk_status.reason|default('', true) }}" data-status-label="{{ risk_status.status_label|default('正常') }}"{% if risk_status.freeze_until_ms %} data-freeze-until-ms="{{ risk_status.freeze_until_ms }}"{% endif %}>{{ risk_status.status_label|default('正常') }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if not order_popup %}
|
||||
<div style="display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:8px">
|
||||
<h2 style="margin-bottom:0">实盘下单监控</h2>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
data-price-refresh-ms="{{ price_refresh_seconds * 1000 }}"
|
||||
>
|
||||
{% if order_popup %}
|
||||
<link rel="stylesheet" href="/static/embed_order_popup.css?v=2">
|
||||
<link rel="stylesheet" href="/static/embed_order_popup.css?v=3">
|
||||
{% endif %}
|
||||
<div class="container{% if order_popup %} embed-order-popup-shell{% endif %}">
|
||||
{% if not order_popup %}
|
||||
|
||||
Reference in New Issue
Block a user