diff --git a/1114/app/components/weather/WeatherCard.tsx b/1114/app/components/weather/WeatherCard.tsx index 51f8436..dc1648d 100644 --- a/1114/app/components/weather/WeatherCard.tsx +++ b/1114/app/components/weather/WeatherCard.tsx @@ -1,33 +1,39 @@ -import { WeatherSearchForm } from "@/components/weather/WeatherSearchForm.tsx"; -import { WeatherDisplay } from "@/components/weather/WeatherDisplay.tsx"; -import { WeatherDetailsGrid } from "@/components/weather/WeatherDetailsGrid.tsx"; -import { useWeatherStore } from "@/store/weatherStore.tsx"; -import Cloud from "../../../assets/cloud.svg"; +import React, { useEffect } from 'react'; +import { WeatherSearchForm } from './WeatherSearchForm'; +import { WeatherDisplay } from './WeatherDisplay'; +import { WeatherDetailsGrid } from './WeatherDetailsGrid'; +import { useWeatherStore } from '@/store/weatherStore'; +import {Cloud} from "lucide-react"; export function WeatherCard() { const { currentWeather } = useWeatherStore(); - return ( -
+ 请搜索城市查看实时天气信息 +
请搜索城市查看实时天气信息
-