This commit is contained in:
qiuchenfan 2025-11-17 19:57:57 +08:00
parent 9f4019cb94
commit 4311f49487
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ export function WeatherSearchForm() {
onChange={handleInputChange}
placeholder="请输入城市名称"
disabled={isLoading}
className={cn('pl-10 pr-4 py-2 w-full text-base rounded-xl bg-slate-50/50 focus:bg-white transition-all', inputError && 'border-red-500') }
className={cn('pl-10 pr-4 py-2 pl-15 w-full text-base rounded-xl bg-slate-50/50 focus:bg-white transition-all', inputError && 'border-red-500') }
/>
</div>
{inputError && (

View File

@ -2,7 +2,7 @@
import React, {useEffect} from 'react';
import { Loader2 } from 'lucide-react';
import { WeatherCard } from '@/components/weather/WeatherCard';
import { WeatherCard } from '@/components/WeatherCard';
import { useWeatherStore } from '@/store/weatherStore';
import {toast} from "sonner";