feat(web-ui): 新增首页启动器与地图遮挡感知交互 - 添加首页卡片式应用启动器界面,包含实时视图、登记、 设置三个入口及对应 SVG 图标资源 - 地图组件新增 ResizeObserver 自动适配容器尺寸变化 - 地图组件引入遮挡区域(occlusion)管理,聚焦时自动 计算可见填充偏移,避免目标被面板遮挡 - 将地图加载事件从 load 改为 style.load,提升初始化 可靠性 - 扩展 metrics 接口,返回选中目标像素坐标、遮挡状态、 画布尺寸等运行时诊断信息 - 补充 web-sys features(HtmlImageElement, Storage, PointerEvent, DomRect 等)以支持新 UI 交互 - index.html 新增 workspace/home/registry 样式及资源引用 - .gitignore 忽略 previews 目录与本地编译产物 ```
1 line
2.0 KiB
XML
1 line
2.0 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1140" viewBox="0 0 1600 1140"><defs><radialGradient id="base" cx=".35" cy=".05" r="1"><stop stop-color="#353d49"/><stop offset=".42" stop-color="#131923"/><stop offset="1" stop-color="#080b11"/></radialGradient><linearGradient id="s1" x1="0" y1="0" x2="1" y2=".7"><stop stop-color="#c3cbd2" stop-opacity=".65"/><stop offset=".12" stop-color="#596675" stop-opacity=".26"/><stop offset=".35" stop-color="#2b3441" stop-opacity=".2"/><stop offset="1" stop-color="#02060c" stop-opacity=".85"/></linearGradient><linearGradient id="edge" x1="0" y1="0" x2=".4" y2="1"><stop stop-color="#e2eaf4" stop-opacity=".4"/><stop offset=".55" stop-color="#8995a9" stop-opacity=".03"/><stop offset="1" stop-color="#202a3c" stop-opacity="0"/></linearGradient><filter id="soft"><feGaussianBlur stdDeviation="25"/></filter><filter id="grain"><feTurbulence type="fractalNoise" baseFrequency=".7" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncA type="linear" slope=".035"/></feComponentTransfer><feBlend in="SourceGraphic" mode="soft-light"/></filter><radialGradient id="shade"><stop offset=".2" stop-color="#000" stop-opacity="0"/><stop offset="1" stop-color="#000" stop-opacity=".23"/></radialGradient></defs><rect width="1600" height="1140" fill="url(#base)"/><ellipse cx="400" cy="-250" rx="780" ry="510" fill="#9daebd" opacity=".12" filter="url(#soft)"/><path d="M-250-80C300-100 580 100 665 470S700 1030 1280 1270H-200Z" fill="url(#s1)"/><path d="M-250-80C300-100 580 100 665 470S700 1030 1280 1270" fill="none" stroke="url(#edge)" stroke-width="2"/><path d="M1560-130C1250 100 1210 410 1390 720S1600 1000 1630 1250H1800V-130Z" fill="#02050b" opacity=".45"/><path d="M1560-130C1250 100 1210 410 1390 720S1600 1000 1630 1250" fill="none" stroke="#a8b8cc" stroke-opacity=".13" stroke-width="1.2"/><rect width="1600" height="1140" fill="url(#shade)"/><rect width="1600" height="1140" filter="url(#grain)" opacity=".08"/></svg> |