feat(hedge): option-primary watch entry with leverage gate

Start strategy arms a watching plan instead of opening immediately; list filters by leverage; type is a dropdown defaulting to OTM.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-09 09:27:42 +08:00
parent 6ab27cebcd
commit eca6d091e9
10 changed files with 608 additions and 39 deletions
+8 -10
View File
@@ -3515,22 +3515,20 @@ html[data-theme="light"] .opt-be-dist-down {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hedge-plan-page-wrap .hp-po-fields--select {
grid-template-columns: minmax(72px, 0.9fr) minmax(72px, 0.9fr) minmax(0, 1.6fr) minmax(72px, 0.9fr);
grid-template-columns: repeat(4, minmax(0, 1fr));
align-items: end;
}
.hedge-plan-page-wrap .hp-po-field--type {
min-width: 0;
}
.hedge-plan-page-wrap .hp-po-type-seg {
display: flex;
flex-wrap: nowrap;
gap: 4px;
.hedge-plan-page-wrap .hp-po-field--type select {
width: 100%;
min-width: 0;
box-sizing: border-box;
}
.hedge-plan-page-wrap .hp-po-type-seg .hp-money-btn {
flex: 1 1 0;
padding: 4px 6px;
font-size: 0.72rem;
white-space: nowrap;
.hedge-plan-page-wrap .hp-plan-watching {
color: #fbbf24;
font-weight: 650;
}
@media (max-width: 720px) {
.hedge-plan-page-wrap .hp-po-fields--capital,