行情区:默认200根、增量刷新、振幅与TV式现价倒计时

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-02 11:30:43 +08:00
parent d942e5b088
commit 2f1ca6fb5a
4 changed files with 189 additions and 14 deletions
+45 -2
View File
@@ -2051,10 +2051,53 @@ body.login-page {
margin-right: 4px;
}
.market-price-tag {
position: absolute;
right: 52px;
z-index: 6;
pointer-events: none;
padding: 4px 8px;
border-radius: 4px;
font-family: var(--font);
font-size: 0.75rem;
font-weight: 600;
line-height: 1.2;
text-align: center;
transform: translateY(-50%);
min-width: 76px;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.market-price-tag.hidden {
display: none;
}
.market-price-tag.is-up {
background: #00ff9d;
color: #0a1018;
}
.market-price-tag.is-down {
background: #ff4d6d;
color: #fff;
}
.market-price-tag-value {
font-variant-numeric: tabular-nums;
}
.market-price-tag-time {
margin-top: 2px;
font-size: 0.68rem;
font-weight: 500;
font-variant-numeric: tabular-nums;
opacity: 0.95;
}
.market-price-auto {
position: absolute;
right: 6px;
top: 42%;
right: 8px;
bottom: 10px;
z-index: 5;
padding: 4px 8px;
font-size: 0.68rem;