refactor: 提取移动端公共底部导航栏并优化全面屏安全区域与接口报错机制

This commit is contained in:
yml
2026-05-25 09:00:39 +08:00
parent d16469aae3
commit 8a241a5cbc
11 changed files with 147 additions and 481 deletions
@@ -339,7 +339,7 @@ function isNavActive(path: string) {
.mobile-detail {
min-height: 100dvh;
background: #f5f7fa;
padding-bottom: 80px;
padding-bottom: calc(80px + env(safe-area-inset-bottom));
}
/* ========== 顶部导航 ========== */
@@ -639,7 +639,7 @@ function isNavActive(path: string) {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 12px;
padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
background: #fff;
border-top: 1px solid #eee;
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);