Expand default strike rows and add hedge fund transfer / sell-coin.

Show the default five chain rows without a scroll box, add funding transfer under manual pick, and wire sell-back-coin above positions via hedge APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 19:11:44 +08:00
parent d40a0d25be
commit fc83905cf6
6 changed files with 287 additions and 34 deletions
+12 -11
View File
@@ -3864,12 +3864,13 @@ html[data-theme="light"] .opt-be-dist-down {
.hedge-plan-page-wrap #hp-po-fields-option-primary[hidden] {
display: none !important;
}
/* 默认约 5 档全部展开,不设滚动框(展开全部时随内容增高) */
.hedge-plan-page-wrap .hp-strike-table-wrap--6 {
max-height: 280px;
min-height: 200px;
overflow-y: auto;
max-height: none;
min-height: 0;
overflow: visible;
margin-top: 4px;
flex: 1 1 auto;
flex: 0 0 auto;
}
.hedge-plan-page-wrap .hp-po-field {
display: flex;
@@ -4101,13 +4102,13 @@ html[data-theme="light"] .opt-be-dist-down {
min-height: 26px;
font-size: 0.72rem;
}
/* 永期期权列表:视口约 5 行 + 表头,超出滚动 */
/* 永期期权列表:默认档位全部展开,无下滑框 */
.hedge-plan-page-wrap .hp-strike-table-wrap--5 {
max-height: 248px;
min-height: 248px;
overflow-y: auto;
max-height: none;
min-height: 0;
overflow: visible;
margin-top: 4px;
flex: 1 1 auto;
flex: 0 0 auto;
}
/* 期期 T 型:默认 3+3 一页展示,无下滑框 */
.hedge-plan-page-wrap .hp-oo-table-wrap {
@@ -4342,8 +4343,8 @@ html[data-theme="light"] .opt-be-dist-down {
}
.hedge-plan-page-wrap .hp-po-left-stack > .hp-opt-card .hp-strike-table-wrap--6,
.hedge-plan-page-wrap .hp-po-select-card .hp-strike-table-wrap--6 {
flex: 1 1 auto;
min-height: 220px;
flex: 0 0 auto;
min-height: 0;
}
.hedge-plan-page-wrap .hp-po-pair-hint,
.hedge-plan-page-wrap .hp-po-chain-hint {