diff --git a/1114/app/components/weather/WeatherDetailsCrid.tsx b/1114/app/components/weather/WeatherDetailsCrid.tsx index e69de29..8b53a89 100644 --- a/1114/app/components/weather/WeatherDetailsCrid.tsx +++ b/1114/app/components/weather/WeatherDetailsCrid.tsx @@ -0,0 +1,77 @@ +import { Droplets,Wind,Gauge,Cloud,Eye,ThermometerSun} from "lucide-react"; +import React from "react"; +import { getWindDirection } from "@/lib/utils"; +import {useWeatherStore} from "@/store/weatherStore"; + +interface WeatherInfoItemProps { + icon: React.ReactNode; + label: string; + value: string; + subtitle?: string; +} + +function WeatherInfoItem({ icon, label, value, subtitle }: WeatherInfoItemProps) { + return ( +
{label}
+{value}
+ {subtitle &&{subtitle}
} +观测时间:{currentWeather.current.observation_time}
+