生产管理系统前端 - 主页滚动条开发完毕

This commit is contained in:
2025-10-22 16:43:15 +08:00
parent f1ffcc72fc
commit 8ea90d980b
15 changed files with 182 additions and 143 deletions

View File

@@ -1,22 +1,7 @@
import { ReactNode } from 'react'
export default function WaterFertilizerControlLayout({
children,
}: {
children: ReactNode
children: React.ReactNode
}) {
return (
<div className="min-h-screen bg-gray-50">
<header className="bg-white shadow-sm border-b">
<div className="container mx-auto px-4 py-4">
<h1 className="text-2xl font-bold text-green-900">
💧
</h1>
</div>
</header>
<main className="container mx-auto px-4 py-8">
{children}
</main>
</div>
)
return <>{children}</>
}