feat(hub): align trend pullback display with instance in fullscreen
Position cards show trend plan source, risk%, program TP price and RR; trend section uses plan grid; hub API enriches floating PnL and planned_rr. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1320,6 +1320,72 @@ body.market-chart-fs-open {
|
||||
border-color: rgba(0, 255, 157, 0.38);
|
||||
}
|
||||
|
||||
.hub-trend-plan-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.hub-trend-plan-card {
|
||||
padding: 12px 14px;
|
||||
background: rgba(0, 0, 0, 0.28);
|
||||
border: 1px solid var(--border-soft);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.hub-trend-plan-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.hub-trend-plan-title {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.hub-trend-plan-status {
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.hub-trend-plan-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 14px;
|
||||
font-size: 12px;
|
||||
color: var(--muted);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.hub-trend-plan-meta .pos-meta-accent,
|
||||
.hub-trend-plan-meta strong {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.hub-trend-plan-foot {
|
||||
margin-top: 10px;
|
||||
font-size: 11px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.pos-value.pos-tp-program {
|
||||
color: #8fc8ff;
|
||||
}
|
||||
|
||||
.exchange-fullscreen .hub-trend-plan-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 14px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.exchange-fullscreen .hub-trend-plan-card {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* 顺势加仓 */
|
||||
.card-stat-chip.card-stat-roll {
|
||||
color: #ffb020;
|
||||
|
||||
Reference in New Issue
Block a user