实例期权页增加中控条件单卡片,接单后显示状态与触发参数。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 18:39:47 +08:00
parent 8b584a0870
commit e11651d729
6 changed files with 164 additions and 12 deletions
+10 -2
View File
@@ -13,7 +13,15 @@
{% if options_enabled and options_open_allowed is defined and not options_open_allowed %}
<div class="flash" style="margin-bottom:12px">当前交易模式为对冲(永期/期期),不可单独开期权;持仓可在此查看/平仓.切换请到 env「交易模式」.</div>
{% endif %}
<div class="flash" id="opt-cond-lock-banner" style="margin-bottom:12px;display:none">中控条件单占用中,禁止手动开仓.</div>
<div class="opt-cond-order-card" id="opt-cond-order-card" hidden>
<div class="opt-cond-order-head">
<strong>中控条件单</strong>
<span class="opt-cond-st" id="opt-cond-order-st"></span>
<span class="opt-cond-lock-note">已接收 · 禁止手动开仓</span>
</div>
<div class="opt-cond-order-grid" id="opt-cond-order-grid"></div>
<div class="opt-cond-order-msg" id="opt-cond-order-msg"></div>
</div>
<div class="options-dual-grid">
<div class="card options-order-card"{% if options_open_allowed is defined and not options_open_allowed %} style="opacity:.72"{% endif %}>
@@ -356,4 +364,4 @@
</div>
</div>
<script src="/static/options_expiry_countdown.js?v=1"></script>
<script src="/static/options_panel.js?v=68"></script>
<script src="/static/options_panel.js?v=69"></script>