From cc059b726b76e862b10d63bff88d916b479657dc Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sat, 7 Feb 2026 01:18:30 +0800 Subject: [PATCH] update --- frontend/paper-trading.html | 135 +++++++++++++++++++++--------------- 1 file changed, 80 insertions(+), 55 deletions(-) diff --git a/frontend/paper-trading.html b/frontend/paper-trading.html index 9576c3b..9de3be6 100644 --- a/frontend/paper-trading.html +++ b/frontend/paper-trading.html @@ -18,13 +18,23 @@ margin: 0 auto; } + /* 固定顶部区域 */ + .sticky-header { + position: sticky; + top: 0; + z-index: 100; + background: var(--bg-primary); + padding-bottom: 10px; + } + .trading-header { display: flex; justify-content: space-between; align-items: center; - margin-bottom: 30px; - padding-bottom: 20px; + margin-bottom: 20px; + padding: 10px 0 20px 0; border-bottom: 1px solid var(--border); + background: var(--bg-primary); } .trading-title { @@ -57,7 +67,7 @@ display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; - margin-bottom: 30px; + margin-bottom: 20px; } .stat-card { @@ -453,56 +463,59 @@