From f2547e11b68be755681a24265ef8dd18b4fa396e Mon Sep 17 00:00:00 2001
From: "2569718930@qq.com" <2569718930@qq.com>
Date: Wed, 18 Mar 2026 00:27:48 +0800
Subject: [PATCH] Remove RP5 multi-model block
---
.../dashboard/FutureForecastModal.tsx | 221 +++++++++---------
1 file changed, 111 insertions(+), 110 deletions(-)
diff --git a/frontend/components/dashboard/FutureForecastModal.tsx b/frontend/components/dashboard/FutureForecastModal.tsx
index 303b0994..28e79e50 100644
--- a/frontend/components/dashboard/FutureForecastModal.tsx
+++ b/frontend/components/dashboard/FutureForecastModal.tsx
@@ -829,125 +829,126 @@ export function FutureForecastModal() {
-
-
- {t("future.structureToday")}
-
-
+
+ {t("future.structureToday")}
+
+
+
+
+ {t("future.judgement")}: {view.front.label}
+
+
+ {t("future.confidence")}:{" "}
+ {t(`confidence.${view.front.confidence}`)}
+
+
+ {t("future.maxPrecip")}:{" "}
+ {Math.round(view.front.precipMax)}%
+
+
+
+
+ {view.front.metrics.slice(0, 6).map((metric) => (
+
-
-
- {t("future.judgement")}: {view.front.label}
-
-
- {t("future.confidence")}:{" "}
- {t(`confidence.${view.front.confidence}`)}
-
-
- {t("future.maxPrecip")}:{" "}
- {Math.round(view.front.precipMax)}%
-
-
-
-
- {view.front.metrics.slice(0, 6).map((metric) => (
-
-
- {metric.label}
-
-
- {metric.value}
-
-
- {metric.note}
-
+ className={clsx(
+ "future-trend-value",
+ metric.tone === "warm" && "warm",
+ metric.tone === "cold" && "cold",
+ )}
+ >
+ {metric.value}
- ))}
-
-
-
+
{metric.note}
+
+ ))}
+
+
-
-
-
- {locale === "en-US" ? "City Risk Profile" : "城市风险档案"}
-
-
- {!risk.airport ? (
-
- {t("section.noRiskProfile")}
-
- ) : (
- <>
-
-
- {t("section.airport")}
-
-
- {risk.airport}
- {risk.icao ? ` (${risk.icao})` : ""}
-
-
-
-
- {t("section.distance")}
-
- {risk.distance_km ?? "--"}km
-
- {risk.warning ? (
+
+
+ {locale === "en-US"
+ ? "City Risk Profile & Airport Narrative"
+ : "城市风险档案与机场报文解读"}
+
+
+
+
+ {locale === "en-US" ? "City Risk Profile" : "城市风险档案"}
+
+
+ {!risk.airport ? (
+
+ {t("section.noRiskProfile")}
+
+ ) : (
+ <>
- {t("section.note")}
+ {t("section.airport")}
+
+
+ {risk.airport}
+ {risk.icao ? ` (${risk.icao})` : ""}
- {risk.warning}
- ) : null}
- >
- )}
+
+
+ {t("section.distance")}
+
+ {risk.distance_km ?? "--"}km
+
+ {risk.warning ? (
+
+
+ {t("section.note")}
+
+ {risk.warning}
+
+ ) : null}
+ >
+ )}
+
-
-
- {t("future.ai")}
-
- {!ai.summary && ai.bullets.length === 0 ? (
-
- {t("future.noAi")}
-
- ) : (
- <>
- {ai.summary ? (
-
{ai.summary}
- ) : null}
- {ai.bullets.length > 0 ? (
-
- {ai.bullets.map((item) => (
- - {item}
- ))}
-
- ) : null}
- >
- )}
+
+
{t("future.ai")}
+
+ {!ai.summary && ai.bullets.length === 0 ? (
+
+ {t("future.noAi")}
+
+ ) : (
+ <>
+ {ai.summary ? (
+
{ai.summary}
+ ) : null}
+ {ai.bullets.length > 0 ? (
+
+ {ai.bullets.map((item) => (
+ - {item}
+ ))}
+
+ ) : null}
+ >
+ )}
+
-
-
+
+
) : (