From 213b2fe7a1cf4d12290c5d9d518446cb23ed57e6 Mon Sep 17 00:00:00 2001 From: fukunee Date: Sat, 19 Sep 2026 02:33:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=A0=8F=E7=AD=89=20HUD=20?= =?UTF-8?q?=E5=85=83=E7=B4=A0=E7=BD=AE=E9=A1=B6=EF=BC=88z-index=2040?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles.css b/src/styles.css index d8c48ea..5e10d29 100644 --- a/src/styles.css +++ b/src/styles.css @@ -90,7 +90,7 @@ html, body { } /* 顶部标题 */ -.hud { position: absolute; z-index: 5; } +.hud { position: absolute; z-index: 40; } .top-left { top: 22px; left: 26px; } .title { font-size: clamp(20px, 2.4vw, 34px); @@ -151,7 +151,7 @@ html, body { /* 登记卡详情 */ .detail-card { right: 24px; bottom: 22px; width: min(320px, 82vw); - z-index: 30; /* 始终置顶,盖在标记便签层之上 */ + z-index: 40; /* 始终置顶,盖在标记便签层之上 */ padding: 18px 20px; border-radius: 4px; background: linear-gradient(180deg, rgba(232,216,182,0.96), rgba(214,196,156,0.96)); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(90,61,43,0.4);