城市决策卡新增 AMOS 跑道温度面板
- 新增 AmosRunwayPanel 组件:展示每条跑道的温度/露点/能见度/RVR/风速 - 跑道卡片网格布局 (auto-fit minmax 160px) - 每条跑道独立显示:跑道编号、温度(含露点)、能见度、RVR、风速范围 - 官方 METAR 标签 vs 跑道中位数标签 - CityDetail 类型新增 AmosData 接口 - 暗色/浅色主题均已适配 - 仅首尔/釜山(有 AMOS 数据)时显示
This commit is contained in:
@@ -5,6 +5,7 @@ import type { MouseEvent } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { AiCityTemperatureChart } from "@/components/dashboard/scan-terminal/AiCityTemperatureChart";
|
||||
import { AiEvidencePanel } from "@/components/dashboard/scan-terminal/AiEvidencePanel";
|
||||
import { AmosRunwayPanel } from "@/components/dashboard/scan-terminal/AmosRunwayPanel";
|
||||
import { CityCardHeader } from "@/components/dashboard/scan-terminal/CityCardHeader";
|
||||
import { MobileDecisionCard } from "@/components/dashboard/scan-terminal/MobileDecisionCard";
|
||||
import { ModelEvidencePanel } from "@/components/dashboard/scan-terminal/ModelEvidencePanel";
|
||||
@@ -650,6 +651,14 @@ export function AiPinnedCityCard({
|
||||
/>
|
||||
</div>
|
||||
|
||||
{detail?.amos ? (
|
||||
<AmosRunwayPanel
|
||||
amos={detail.amos}
|
||||
isEn={isEn}
|
||||
tempSymbol={tempSymbol}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
<ModelEvidencePanel detail={detail} isEn={isEn} />
|
||||
</div>
|
||||
) : !detail ? (
|
||||
|
||||
Reference in New Issue
Block a user