import React, { useState } from "react" import { DataNavigation } from "@/components/Common/DataNavigation.tsx" import { Card, Drawer, List } from "antd" export const PlaygroundTeam = () => { // 模拟数据 const data = [ { title: "绿色化工工艺项目", description: "基于生物基原料,采用repeal2.0可降解材料技术,开发新型环保材料。", demander: "奥赛康药业 供方:美国Propella公司" }, { title: "智能农业解决方案", description: "利用物联网技术,实现精准农业管理,提高农作物产量。", demander: "奥赛康药业 供方:美国Propella公司" }, { title: "新能源汽车电池技术", description: "研发高能量密度、长寿命的新型电池材料,推动电动汽车发展。", demander: "奥赛康药业 供方:美国Propella公司" }, { title: "碳捕集与封存技术", description: "开发高效的碳捕集技术,减少工业排放,助力碳中和目标。", demander: "奥赛康药业 供方:美国Propella公司" } ] for (let i = 0; i < 10; i++) { data.push({ title: "开发新型电池材料", description: "研发高能量密度、长寿命的新型电池材料,推动电动汽车发展。", demander: "奥赛康药业 供方:美国Propella公司" }) } const [open, setOpen] = useState(false) const showDrawer = () => { setOpen(true) } const onClose = () => { setOpen(false) } return (
{/* 数据导航 */} 相关团队
} onClick={showDrawer} /> {/* 场景列表 */}
{data.slice(0,2).map((item, index) => (

{item.title}

技 术 应 制 造

{item.description}

))}
{/* 抽屉 */} ( {item.title} } description={

技 术 应 制 造

{item.description}

} />
)} />
) }