diff --git a/soul-admin/src/pages/find-partner/FindPartnerPage.tsx b/soul-admin/src/pages/find-partner/FindPartnerPage.tsx index b4b3ea70..bcb523b4 100644 --- a/soul-admin/src/pages/find-partner/FindPartnerPage.tsx +++ b/soul-admin/src/pages/find-partner/FindPartnerPage.tsx @@ -1,4 +1,5 @@ import { useState } from 'react' +import { Button } from '@/components/ui/button' import { Users, Handshake, GraduationCap, UserPlus, BarChart3, Link2 } from 'lucide-react' import { FindPartnerTab } from './tabs/FindPartnerTab' import { ResourceDockingTab } from './tabs/ResourceDockingTab' @@ -13,30 +14,42 @@ const TABS = [ { id: 'resource', label: '资源对接', icon: Handshake }, { id: 'mentor', label: '导师预约', icon: GraduationCap }, { id: 'team', label: '团队招募', icon: UserPlus }, - { id: 'ckb', label: '存客宝', icon: Link2 }, ] as const type TabId = (typeof TABS)[number]['id'] export function FindPartnerPage() { const [activeTab, setActiveTab] = useState('stats') + const [showCKBPanel, setShowCKBPanel] = useState(false) return (
-
-

- - 找伙伴 -

-

- 数据统计、匹配池与记录、资源对接、导师预约、团队招募、存客宝 -

+
+
+

+ + 找伙伴 +

+

+ 数据统计、匹配池与记录、资源对接、导师预约、团队招募 +

+
+
+ {showCKBPanel && } +
{TABS.map((tab) => { const isActive = activeTab === tab.id - const isCKB = tab.id === 'ckb' return (
) }