From 4311f49487635cdd21d9167d02c2a4e29602c826 Mon Sep 17 00:00:00 2001 From: qiuchenfan <2035024011@qq.com> Date: Mon, 17 Nov 2025 19:57:57 +0800 Subject: [PATCH] 1117 --- app/components/WeatherSearchForm.tsx | 2 +- app/routes/weather.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/WeatherSearchForm.tsx b/app/components/WeatherSearchForm.tsx index 7b7b746..a42bb2e 100644 --- a/app/components/WeatherSearchForm.tsx +++ b/app/components/WeatherSearchForm.tsx @@ -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') } /> {inputError && ( diff --git a/app/routes/weather.tsx b/app/routes/weather.tsx index c8ce90a..8b26a6b 100644 --- a/app/routes/weather.tsx +++ b/app/routes/weather.tsx @@ -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";