Fix hedge-plan option list to 5-row scroll viewport and add auto-deploy rule.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -57,16 +57,6 @@
|
||||
<button type="button" class="btn-secondary" id="hp-load-chain">刷新链</button>
|
||||
</div>
|
||||
<div id="hp-index-line" class="muted hp-quote-line"></div>
|
||||
<div class="form-row hp-pick-row">
|
||||
<label class="hp-strike-pick-label">合约
|
||||
<select id="hp-strike-select" title="从列表外合约中快速选用">
|
||||
<option value="">更多行权价…</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>已选 <code id="hp-sel-inst">—</code></label>
|
||||
<label>张数 <input type="number" step="1" min="1" id="hp-sheets" value="1" /></label>
|
||||
<span class="muted" id="hp-premium-line"></span>
|
||||
</div>
|
||||
<div class="options-strike-table-wrap hp-strike-table-wrap--5">
|
||||
<table class="options-strike-table" id="hp-strike-table">
|
||||
<thead>
|
||||
@@ -83,10 +73,15 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="form-row hp-pick-row">
|
||||
<label>已选 <code id="hp-sel-inst">—</code></label>
|
||||
<label>张数 <input type="number" step="1" min="1" id="hp-sheets" value="1" /></label>
|
||||
<span class="muted" id="hp-premium-line"></span>
|
||||
</div>
|
||||
<div id="hp-opt-bal-line" class="muted hp-quote-line hp-opt-bal-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card" style="margin-top:12px" id="hp-preview-card-po">
|
||||
<div class="card hp-preview-card" id="hp-preview-card-po">
|
||||
<div style="display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between">
|
||||
<h2 style="margin:0">情景测算</h2>
|
||||
<div class="form-row" style="margin:0">
|
||||
@@ -155,7 +150,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card" style="margin-top:12px">
|
||||
<div class="card hp-preview-card">
|
||||
<div style="display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between">
|
||||
<h2 style="margin:0">情景测算</h2>
|
||||
<button type="button" class="primary" id="hp-preview-btn-oo">计算</button>
|
||||
@@ -197,4 +192,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/static/hedge_plan.js?v=5"></script>
|
||||
<script src="/static/hedge_plan.js?v=6"></script>
|
||||
|
||||
Reference in New Issue
Block a user