0228.7
Some checks failed
部署 Next.js 站点到 Gitea / deploy (push) Has been cancelled

This commit is contained in:
298977887 2025-02-28 23:51:59 +08:00
parent 012715ee81
commit febf274224

View File

@ -68,10 +68,10 @@ const WeatherSection: FC<WeatherSectionProps> = ({ data }) => {
{/* 天气预报模块 */}
<div className="absolute top-64 right-8 w-72 bg-black/50 backdrop-blur-sm rounded-lg p-4 shadow-lg">
<div className="text-gray-300 text-sm font-medium mb-3">
5
</div>
<div className="space-y-2">
{data.forecast.slice(0, 5).map((day, index) => (
{data.forecast.slice(0, 6).map((day, index) => (
<div
key={day.day || index}
className="flex justify-between items-center group transition-all duration-200 hover:bg-white/10 px-2 py-1 rounded-md"