城市决策卡新增 AMOS 跑道温度面板

- 新增 AmosRunwayPanel 组件:展示每条跑道的温度/露点/能见度/RVR/风速
- 跑道卡片网格布局 (auto-fit minmax 160px)
- 每条跑道独立显示:跑道编号、温度(含露点)、能见度、RVR、风速范围
- 官方 METAR 标签 vs 跑道中位数标签
- CityDetail 类型新增 AmosData 接口
- 暗色/浅色主题均已适配
- 仅首尔/釜山(有 AMOS 数据)时显示
This commit is contained in:
2569718930@qq.com
2026-05-10 18:30:59 +08:00
parent ba352feb34
commit fe3f48f255
6 changed files with 232 additions and 0 deletions
@@ -1225,3 +1225,67 @@
font-weight: 800;
line-height: 1.5;
}
/* ── AMOS runway observation panel ── */
.root :global(.scan-amos-runway-panel) {
margin-top: 14px;
border: 1px solid rgba(77, 163, 255, 0.12);
border-radius: 16px;
background: rgba(11, 18, 32, 0.24);
padding: 14px;
}
.root :global(.scan-amos-source-tag) {
display: inline-block;
margin-left: 8px;
padding: 1px 7px;
border-radius: 999px;
background: rgba(77, 163, 255, 0.12);
color: var(--color-accent-secondary);
font-size: 10px;
font-weight: 700;
}
.root :global(.scan-amos-runway-grid) {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 10px;
margin-top: 10px;
}
.root :global(.scan-amos-runway-card) {
display: flex;
flex-direction: column;
gap: 4px;
padding: 10px 12px;
border: 1px solid rgba(77, 163, 255, 0.08);
border-radius: 12px;
background: rgba(11, 18, 32, 0.38);
}
.root :global(.scan-amos-runway-label) {
font-size: 11px;
font-weight: 700;
color: var(--color-accent-secondary);
letter-spacing: 0.02em;
}
.root :global(.scan-amos-runway-temp) {
font-size: 20px;
font-weight: 800;
font-variant-numeric: tabular-nums;
color: var(--color-text-primary);
line-height: 1.15;
}
.root :global(.scan-amos-runway-temp small) {
font-size: 11px;
font-weight: 600;
color: var(--color-text-muted);
}
.root :global(.scan-amos-runway-detail) {
font-size: 11px;
font-weight: 600;
color: var(--color-text-muted);
}