feat(web-ui): 添加 Windows 系统依赖并更新样式

- 在 Cargo.toml 中为 Windows 平台添加 windows-sys 依赖,版本为 0.52,包含 Win32_Foundation 和 Win32_System_Registry 特性。
- 更新相关 CSS 文件以改善界面样式,确保在不同主题下的视觉一致性。
- 在 JavaScript 文件中实现围栏标记的绘制和管理功能,增强地图交互体验。
This commit is contained in:
2026-10-31 20:01:50 +08:00
parent 5522843823
commit 3ea9cf32ee
27 changed files with 1301 additions and 103 deletions
+22
View File
@@ -259,6 +259,28 @@ body {
background-color: #060b14;
}
.rt-fence-label {
max-width: 160px;
padding: 2px 8px;
overflow: hidden;
border: 1px solid rgba(159, 212, 255, 0.72);
border-radius: 999px;
background: rgba(6, 18, 33, 0.86);
color: #e9f0fa;
font-size: 11px;
line-height: 1.5;
text-overflow: ellipsis;
white-space: nowrap;
pointer-events: none;
}
.rt-fence-label[data-enabled="false"] { opacity: 0.55; }
body.b.theme-white .rt-fence-label {
border-color: rgba(36, 93, 157, 0.45);
background: rgba(255, 255, 255, 0.92);
color: #1c3348;
}
.mc-map-infobar {
position: absolute;
bottom: 16px;