feat(web-ui): 重构地图设置与目标列表页面并优化实时地图导航体验

- 重构地图设置页面布局,采用 flex 替代 grid,新增导航栏、标签页
  和下载步骤组件,改善响应式断点适配
- 将目标列表管理从侧边抽屉方案改为全页面内联编辑器,包含表格视图
  与分类侧栏,支持移动端卡片式降级展示
- 为实时地图屏幕添加半透明毛玻璃导航栏样式,支持 backdrop-filter
  降级,并在地图模式下调整内容区域偏移量
- 修复地图渲染器在画布尺寸为 0 时的边界异常,增加宽高校验
- 优化 fitBounds 的 padding 计算,改为基于容器宽度的比例值并
  限制最大值,避免小屏下地图偏移过大
- 新增 B5、B6、B7 三组 SVG 壁纸资源
```
This commit is contained in:
2026-10-23 14:50:27 +08:00
parent cd1b717e74
commit 461e2c8e7f
29 changed files with 910 additions and 319 deletions
+27
View File
@@ -102,3 +102,30 @@ body.b[data-custom-wallpaper="true"] .home-launcher.homescreen { background: non
/* Restore collapsed panels without bringing back the removed map toolbar. */
.live-panel-restores { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 6; }
body.b .live-panel-restores button { background: var(--glass-solid); border-color: var(--work-line); color: var(--work-text); font-size: 12px; padding: 7px 12px; }
/* Keep navigation dark while allowing the realtime map to show through it. */
body.b :is(.reference-top, .reference-rail) {
background: rgba(6, 18, 33, .72);
backdrop-filter: blur(18px) saturate(120%);
-webkit-backdrop-filter: blur(18px) saturate(120%);
}
body.b[data-screen=realtime] #workspace-content {
--navigation-width: 68px;
inset: 0;
padding: 48px 0 0 var(--navigation-width);
box-sizing: border-box;
overflow: hidden;
}
body.b[data-screen=realtime][data-menu-hidden=true] #workspace-content { --navigation-width: 0px; }
body.b[data-screen=realtime] #workspace-content .rt-page,
body.b[data-screen=realtime] .mc-layout-b { overflow: visible; }
body.b[data-screen=realtime] .mc-layout-b .mc-map-area-top {
inset: -48px 0 0 calc(0px - var(--navigation-width));
height: auto;
}
@media (max-width: 760px) {
body.b[data-screen=realtime] #workspace-content { --navigation-width: 56px; }
}
@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
body.b :is(.reference-top, .reference-rail) { background: var(--glass-solid); }
}