sync: soul-admin 页面 | 原因: 前端页面修改

This commit is contained in:
卡若
2026-03-08 09:12:15 +08:00
parent 90e5490888
commit 2719e480ca

View File

@@ -1,17 +1,19 @@
import { useState } from 'react'
import { Users, List, Handshake, GraduationCap, UserPlus, BarChart3 } from 'lucide-react'
import { Users, List, Handshake, GraduationCap, UserPlus, BarChart3, BookUser } from 'lucide-react'
import { MatchPoolTab } from './tabs/MatchPoolTab'
import { MatchRecordsTab } from './tabs/MatchRecordsTab'
import { ResourceDockingTab } from './tabs/ResourceDockingTab'
import { MentorBookingTab } from './tabs/MentorBookingTab'
import { TeamRecruitTab } from './tabs/TeamRecruitTab'
import { CKBStatsTab } from './tabs/CKBStatsTab'
import { MentorsPage } from '@/pages/mentors/MentorsPage'
const TABS = [
{ id: 'pool', label: '匹配池', icon: Users },
{ id: 'records', label: '匹配记录', icon: List },
{ id: 'resource', label: '资源对接', icon: Handshake },
{ id: 'mentor', label: '导师预约', icon: GraduationCap },
{ id: 'mentors-manage', label: '导师管理', icon: BookUser },
{ id: 'team', label: '团队招募', icon: UserPlus },
{ id: 'stats', label: '存客宝统计', icon: BarChart3 },
] as const
@@ -29,11 +31,11 @@ export function FindPartnerPage() {
</h2>
<p className="text-gray-400 mt-1">
/
</p>
</div>
<div className="flex gap-1 mb-6 bg-[#0f2137] rounded-lg p-1 border border-gray-700/50">
<div className="flex flex-wrap gap-1 mb-6 bg-[#0f2137] rounded-lg p-1 border border-gray-700/50">
{TABS.map((tab) => {
const isActive = activeTab === tab.id
return (
@@ -58,6 +60,11 @@ export function FindPartnerPage() {
{activeTab === 'records' && <MatchRecordsTab />}
{activeTab === 'resource' && <ResourceDockingTab />}
{activeTab === 'mentor' && <MentorBookingTab />}
{activeTab === 'mentors-manage' && (
<div className="-mx-8 -mt-0">
<MentorsPage embedded />
</div>
)}
{activeTab === 'team' && <TeamRecruitTab />}
{activeTab === 'stats' && <CKBStatsTab />}
</div>