Move spot sell retry into positions header row per mockup.
Show trading-account coin balance with gradient retry button and icon refresh in the holdings title bar. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -194,7 +194,13 @@
|
||||
<div class="card options-pos-card-wrap">
|
||||
<div class="options-pos-head">
|
||||
<h2>持仓</h2>
|
||||
<button type="button" class="btn-secondary" id="opt-refresh-positions">刷新</button>
|
||||
<div class="options-pos-head-actions">
|
||||
<div id="opt-spot-sell-head" class="opt-spot-sell-head" hidden>
|
||||
<span class="opt-spot-sell-avail" id="opt-spot-sell-avail-text"></span>
|
||||
<button type="button" class="btn-primary opt-spot-sell-retry-btn" id="opt-spot-sell-retry-btn">重试卖回 ETH</button>
|
||||
</div>
|
||||
<button type="button" class="btn-secondary opt-pos-refresh-btn" id="opt-refresh-positions" title="刷新" aria-label="刷新">↻</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="options-pos-tabs" role="tablist" aria-label="持仓面板">
|
||||
<button type="button" class="btn-secondary opt-pos-tab active" data-opt-pos-tab="live" role="tab" aria-selected="true" id="opt-pos-tab-live">当前持仓</button>
|
||||
@@ -204,10 +210,6 @@
|
||||
</div>
|
||||
<div class="options-pos-tab-body">
|
||||
<div class="options-pos-pane is-active" data-opt-pos-pane="live" role="tabpanel" aria-labelledby="opt-pos-tab-live">
|
||||
<div id="opt-spot-sell-banner" class="opt-spot-sell-banner" hidden>
|
||||
<div class="opt-spot-sell-banner-text" id="opt-spot-sell-banner-text"></div>
|
||||
<button type="button" class="btn-primary" id="opt-spot-sell-retry-btn">重试卖回</button>
|
||||
</div>
|
||||
<div id="opt-target-monitors" class="opt-target-monitors" hidden>
|
||||
<div class="opt-target-monitors-head">目标监控</div>
|
||||
<div id="opt-target-monitors-list"></div>
|
||||
|
||||
Reference in New Issue
Block a user