1117
This commit is contained in:
parent
9f4019cb94
commit
4311f49487
|
|
@ -59,7 +59,7 @@ export function WeatherSearchForm() {
|
||||||
onChange={handleInputChange}
|
onChange={handleInputChange}
|
||||||
placeholder="请输入城市名称"
|
placeholder="请输入城市名称"
|
||||||
disabled={isLoading}
|
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>
|
</div>
|
||||||
{inputError && (
|
{inputError && (
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import React, {useEffect} from 'react';
|
import React, {useEffect} from 'react';
|
||||||
import { Loader2 } from 'lucide-react';
|
import { Loader2 } from 'lucide-react';
|
||||||
import { WeatherCard } from '@/components/weather/WeatherCard';
|
import { WeatherCard } from '@/components/WeatherCard';
|
||||||
import { useWeatherStore } from '@/store/weatherStore';
|
import { useWeatherStore } from '@/store/weatherStore';
|
||||||
import {toast} from "sonner";
|
import {toast} from "sonner";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue