From dedaf1619d7c7e1ac17358e9a088d9529e1872ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A1=E8=8B=A5?= Date: Sun, 8 Mar 2026 16:55:04 +0800 Subject: [PATCH] =?UTF-8?q?sync:=20soul-admin=20=E9=A1=B5=E9=9D=A2=20|=20?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0:=20=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/find-partner/FindPartnerPage.tsx | 38 ++++++++++++------- 1 file changed, 25 insertions(+), 13 deletions(-) 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 (
) }