期权页增加重试卖回ETH按钮,平仓后可手动全额卖回交易户标的币

币本位模式下持仓区显示重试按钮与可用余额提示,调用已有 spot-bridge 接口按交易账户全部可用量市价卖回 USDT。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-23 08:01:19 +08:00
parent 893a2cc115
commit fe5bb923d7
4 changed files with 161 additions and 9 deletions
+18
View File
@@ -5279,6 +5279,24 @@ html[data-theme="light"] .opt-source-badge--oo {
.options-pos-head h2 {
margin: 0;
}
.options-pos-head-actions {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 8px;
margin-left: auto;
}
.opt-bridge-sell-hint {
font-size: 0.78rem;
line-height: 1.35;
max-width: 280px;
text-align: right;
}
.opt-retry-sell-coin-btn--pending {
border-color: #ffb347;
color: #ffb347;
}
.opt-pos-card {
margin-bottom: 10px;
}