Align hedge-plan perp contract precision with exchange and show TP/SL USDT PnL.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-14 12:49:03 +08:00
parent 036501b70c
commit 9e0d89bd01
8 changed files with 148 additions and 19 deletions
+22
View File
@@ -3212,6 +3212,28 @@ html[data-theme="light"] .opt-be-dist-down {
font-weight: 500;
margin-left: 4px;
}
.hedge-plan-page-wrap .hp-unit {
font-size: 0.66rem;
color: #8892b0;
font-weight: 500;
margin-right: 2px;
}
.hedge-plan-page-wrap .hp-unit-hint {
font-size: 0.68rem;
margin: 2px 0 6px;
line-height: 1.4;
}
.hedge-plan-page-wrap #hp-perp-pnl-line {
font-size: 0.74rem;
margin: 4px 0 6px;
line-height: 1.45;
}
.hedge-plan-page-wrap .hp-pnl-pos {
color: #7ee787;
}
.hedge-plan-page-wrap .hp-pnl-neg {
color: #ff8a8a;
}
.hedge-plan-page-wrap .form-row label,
.hedge-plan-page-wrap .form-row select,
.hedge-plan-page-wrap .form-row input,