Clear target input after set and show estimated value/profit.

Position委托 row keeps the field empty for new entry and displays target value plus estimated PnL after arming.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-15 16:05:54 +08:00
parent 61f63c456b
commit 0bedb2e972
3 changed files with 136 additions and 6 deletions
+28
View File
@@ -4122,6 +4122,34 @@ html[data-theme="light"] .options-estimate-row {
.options-page-wrap .opt-target-row-hint {
font-size: 0.7rem;
}
.options-page-wrap .opt-target-armed {
font-size: 0.78rem;
color: #9ad0ff;
font-variant-numeric: tabular-nums;
}
.options-page-wrap .opt-target-est {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
font-size: 0.78rem;
}
.options-page-wrap .opt-target-est--idle:empty {
display: none;
}
.options-page-wrap .opt-target-est-item {
display: inline-flex;
align-items: baseline;
gap: 4px;
}
.options-page-wrap .opt-target-est-item .k {
color: #9aa8c7;
font-size: 0.7rem;
}
.options-page-wrap .opt-target-est-item .v {
font-variant-numeric: tabular-nums;
font-weight: 600;
}
.opt-target-monitors {
margin: 0 0 10px;
padding: 10px 12px;