生产管理系统前端 - 地块信息管理系统、智能农机管理系统页面空壳子提交

This commit is contained in:
2025-10-28 16:49:02 +08:00
parent b907cc4299
commit 0b6ae9fc5c
70 changed files with 1868 additions and 483 deletions

View File

@@ -44,87 +44,27 @@ interface MenuItem {
}
interface Navbar1Props {
logo?: {
url: string;
src: string;
alt: string;
title: string;
};
menu?: MenuItem[];
auth?: {
login: {
title: string;
navbarData: {
logo: {
url: string;
src: string;
alt: string;
title: string;
};
signup: {
title: string;
url: string;
menu: MenuItem[];
auth: {
login: {
title: string;
url: string;
};
signup: {
title: string;
url: string;
};
};
};
}
const navbarData = {
logo: {
url: "/",
src: "https://deifkwefumgah.cloudfront.net/shadcnblocks/block/logos/shadcnblockscom-icon.svg",
alt: "Crop-X Logo",
title: "智慧农业生产管理系统",
},
menu: [
{
title: "智能农机管理系统",
url: "/agricultural-machinery",
description: "农机档案、实时监控、精准作业管理",
icon: <Tractor className="size-5 shrink-0" />,
},
{
title: "地块信息管理系统",
url: "/land-information",
description: "地块档案、地图管理、空间分析",
icon: <Map className="size-5 shrink-0" />,
},
{
title: "农事操作管理系统",
url: "/farming-operation",
description: "农事计划、任务管理、操作执行",
icon: <Clipboard className="size-5 shrink-0" />,
},
{
title: "农业资产管理系统",
url: "/agricultural-asset",
description: "基础信息、采购管理、库存管理",
icon: <Package className="size-5 shrink-0" />,
},
{
title: "AI作物模型精准决策系统",
url: "/ai-crop-model",
description: "数据感知、模型应用、智能决策",
icon: <Brain className="size-5 shrink-0" />,
},
{
title: "水肥一体化控制系统",
url: "/water-fertilizer-control",
description: "水肥机管理、智能灌溉、配方管理",
icon: <Droplets className="size-5 shrink-0" />,
},
{
title: "中心配置管理系统",
url: "/central-config",
description: "租户管理、用户管理、系统监控",
icon: <Settings className="size-5 shrink-0" />,
},
{
title: "API 测试示例",
url: "/api-example",
description: "测试和展示 OpenAPI 客户端调用",
icon: <Brain className="size-5 shrink-0" />,
},
],
auth: {
login: { title: "登录", url: "/login" },
signup: { title: "注册", url: "/register" },
},
};
const Navbar1 = () => {
const Navbar1 = ({ navbarData }: Navbar1Props) => {
const logo = navbarData.logo
const menu = navbarData.menu
const auth = navbarData.auth