diff --git a/soul-admin/src/pages/find-partner/FindPartnerPage.tsx b/soul-admin/src/pages/find-partner/FindPartnerPage.tsx index 0cbcc0ba..51a728bd 100644 --- a/soul-admin/src/pages/find-partner/FindPartnerPage.tsx +++ b/soul-admin/src/pages/find-partner/FindPartnerPage.tsx @@ -1,20 +1,16 @@ import { useState } from 'react' -import { Users, List, Handshake, GraduationCap, UserPlus, BarChart3, BookUser } from 'lucide-react' -import { MatchPoolTab } from './tabs/MatchPoolTab' -import { MatchRecordsTab } from './tabs/MatchRecordsTab' +import { Users, Handshake, GraduationCap, UserPlus, BarChart3 } from 'lucide-react' +import { FindPartnerTab } from './tabs/FindPartnerTab' import { ResourceDockingTab } from './tabs/ResourceDockingTab' -import { MentorBookingTab } from './tabs/MentorBookingTab' +import { MentorTab } from './tabs/MentorTab' import { TeamRecruitTab } from './tabs/TeamRecruitTab' import { CKBStatsTab } from './tabs/CKBStatsTab' -import { MentorsPage } from '@/pages/mentors/MentorsPage' const TABS = [ - { id: 'stats', label: '找伙伴统计', icon: BarChart3 }, - { id: 'pool', label: '匹配池', icon: Users }, - { id: 'records', label: '匹配记录', icon: List }, + { id: 'stats', label: '数据统计', icon: BarChart3 }, + { id: 'partner', label: '找伙伴', icon: Users }, { id: 'resource', label: '资源对接', icon: Handshake }, { id: 'mentor', label: '导师预约', icon: GraduationCap }, - { id: 'mentors-manage', label: '导师管理', icon: BookUser }, { id: 'team', label: '团队招募', icon: UserPlus }, ] as const @@ -31,7 +27,7 @@ export function FindPartnerPage() { 找伙伴

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

@@ -43,7 +39,7 @@ export function FindPartnerPage() { key={tab.id} type="button" onClick={() => setActiveTab(tab.id)} - className={`flex items-center gap-2 px-4 py-2.5 rounded-md text-sm font-medium transition-all ${ + className={`flex items-center gap-2 px-5 py-2.5 rounded-md text-sm font-medium transition-all ${ isActive ? 'bg-[#38bdac] text-white shadow-lg' : 'text-gray-400 hover:text-white hover:bg-gray-700/50' @@ -56,17 +52,11 @@ export function FindPartnerPage() { })} - {activeTab === 'pool' && } - {activeTab === 'records' && } - {activeTab === 'resource' && } - {activeTab === 'mentor' && } - {activeTab === 'mentors-manage' && ( -
- -
- )} - {activeTab === 'team' && } {activeTab === 'stats' && } + {activeTab === 'partner' && } + {activeTab === 'resource' && } + {activeTab === 'mentor' && } + {activeTab === 'team' && } ) }