This commit is contained in:
quantulr
2023-10-30 17:29:35 +08:00
parent 1090ca0dd0
commit 7e465da9d2
49 changed files with 1090 additions and 56 deletions

View File

@ -0,0 +1,19 @@
import React, { ReactNode } from "react";
import Breadcrumb from "@/app/components/Breadcrumb";
const breadcrumb = [
{ href: "/", title: "首页" },
{ href: "/organization/overview", title: "机构设置" },
{ href: "/organization/research-platform", title: "科研平台" },
];
const Layout = ({ children }: { children: ReactNode }) => {
return (
<div className={"flex flex-col h-full"}>
<Breadcrumb navigations={breadcrumb} />
<div className={"bg-white px-5 py-4 flex-1 mt-2"}>{children}</div>
</div>
);
};
export default Layout;

View File

@ -1,5 +1,22 @@
import Image from "next/image";
const Page = () => {
return <div></div>;
return (
<>
{" "}
<h2 className={"text-center text-lg font-bold text-[#054786]"}>
</h2>
<p className={"text-base mt-8 text-center"}></p>
<p className={"flex justify-center mt-2"}>
<img
src={`${process.env.NEXT_ADMIN_BASE_URL}/uploads/image/20231030/8d05e613-e2c6-47d1-81a9-08bd70b8ba73.jpeg`}
alt={"张景中"}
/>
</p>
<p className={"text-center"}></p>
</>
);
};
export default Page;

View File

@ -0,0 +1,19 @@
import React, { ReactNode } from "react";
import Breadcrumb from "@/app/components/Breadcrumb";
const breadcrumb = [
{ href: "/", title: "首页" },
{ href: "/organization/overview", title: "机构设置" },
{ href: "/organization/research-platform", title: "科研平台" },
];
const Layout = ({ children }: { children: ReactNode }) => {
return (
<div className={"flex flex-col h-full"}>
<Breadcrumb navigations={breadcrumb} />
<div className={"bg-white px-5 py-4 flex-1 mt-2"}>{children}</div>
</div>
);
};
export default Layout;

View File

@ -1,5 +1,15 @@
const Page = () => {
return <div>overview</div>;
return (
<>
<h2 className={"text-center text-lg font-bold text-[#054786]"}>
</h2>
<p className={"text-base indent-8 mt-8"}>
20171033340611362120171025381173973
5
</p>
</>
);
};
export default Page;

View File

@ -0,0 +1,19 @@
import React, { ReactNode } from "react";
import Breadcrumb from "@/app/components/Breadcrumb";
const breadcrumb = [
{ href: "/", title: "首页" },
{ href: "/organization/overview", title: "机构设置" },
{ href: "/organization/research-platform", title: "科研平台" },
];
const Layout = ({ children }: { children: ReactNode }) => {
return (
<div className={"flex flex-col h-full"}>
<Breadcrumb navigations={breadcrumb} />
<div className={"bg-white px-5 py-4 flex-1 mt-2"}>{children}</div>
</div>
);
};
export default Layout;

View File

@ -0,0 +1,7 @@
.academicians {
.academician {
&:not(:nth-child(4n)) {
margin-right: 12px;
}
}
}

View File

@ -1,5 +1,71 @@
import styles from "./page.module.scss";
import Link from "next/link";
const academicians = [
{
picture:
"/uploads/image/20231030/8dbabce9-3454-4dab-b66f-34b30849db90.jpeg",
name: "任以伟",
link: "",
},
{
picture:
"/uploads/image/20231030/5d3c322f-8163-4034-b01e-8897f3ba9a7a.jpeg",
name: "张炜",
link: "",
},
{
picture:
"/uploads/image/20231030/63c2d39e-21c1-466f-b5fd-6f27e4ff1d43.jpeg",
name: "石宇",
link: "",
},
{
picture:
"/uploads/image/20231030/4f0f8923-a72f-4ea7-8333-fc98878a4fb3.jpeg",
name: "裴得胜",
link: "",
},
{
picture:
"/uploads/image/20231030/5e6dd527-5311-4444-b8ad-be597b57a724.jpeg",
name: "宋立岩",
link: "",
},
{
picture:
"/uploads/image/20231030/b3ab92e4-391e-49f3-956e-97bd2f8ebf94.jpeg",
name: "陆文强",
link: "",
},
{
picture:
"/uploads/image/20231030/d55d1de5-6c14-489d-b2ee-d62dd78d3478.jpeg",
name: "王德强",
link: "",
},
];
const Page = () => {
return <div></div>;
return (
<>
<h2 className={"text-center text-lg font-bold text-[#054786]"}></h2>
<div className={`${styles.academicians} flex flex-wrap mt-8`}>
{academicians.map((academician) => (
<div
key={academician.name}
className={`${styles.academician} flex flex-col items-center w-1/5 mt-4`}
>
<img
className={"h-[138px]"}
src={`${process.env.NEXT_ADMIN_BASE_URL}${academician.picture}`}
/>
<Link href={academician.link}>{academician.name}</Link>
</div>
))}
</div>
</>
);
};
export default Page;

View File

@ -0,0 +1,19 @@
import React, { ReactNode } from "react";
import Breadcrumb from "@/app/components/Breadcrumb";
const breadcrumb = [
{ href: "/", title: "首页" },
{ href: "/organization/overview", title: "机构设置" },
{ href: "/organization/research-platform", title: "科研平台" },
];
const Layout = ({ children }: { children: ReactNode }) => {
return (
<div className={"flex flex-col h-full"}>
<Breadcrumb navigations={breadcrumb} />
<div className={"bg-white px-5 py-4 flex-1 mt-2"}>{children}</div>
</div>
);
};
export default Layout;

View File

@ -1,5 +1,40 @@
import Link from "next/link";
const academicians = [
{
picture:
"/uploads/image/20231030/2a2f235b-711a-47fb-9d20-c5a1c332ff78.jpeg",
name: "周祥东",
link: "",
},
{
picture:
"/uploads/image/20231030/390a39d3-0729-446f-b361-c34f4f6cb0ff.jpeg",
name: "王兴祖",
link: "",
},
];
const Page = () => {
return <div></div>;
return (
<>
<h2 className={"text-center text-lg font-bold text-[#054786]"}></h2>
<div className={`flex mt-8 justify-around`}>
{academicians.map((academician) => (
<div
key={academician.name}
className={`flex flex-col items-center w-1/5`}
>
<img
className={"h-[138px]"}
src={`${process.env.NEXT_ADMIN_BASE_URL}${academician.picture}`}
/>
<Link href={academician.link}>{academician.name}</Link>
</div>
))}
</div>
</>
);
};
export default Page;