feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面
This commit is contained in:
@@ -22,6 +22,7 @@ import { Tabs, Card } from '@/components/ui';
|
||||
import { Activity, Shield } from 'lucide-react';
|
||||
import ChannelMonitor from './ChannelMonitor';
|
||||
import AdminMonitor from './AdminMonitor';
|
||||
import './monitor-center.css';
|
||||
|
||||
const MonitorCenter = () => {
|
||||
const [activeTab, setActiveTab] = useState('channel');
|
||||
@@ -42,23 +43,12 @@ const MonitorCenter = () => {
|
||||
const isAdmin = userRole >= 10;
|
||||
|
||||
return (
|
||||
<div className='mt-[60px] px-2 md:px-6 pb-8'>
|
||||
<div className='max-w-[1600px] mx-auto'>
|
||||
<div className='console-content'>
|
||||
<div className='console-content'>
|
||||
{/* 页面标题 */}
|
||||
<div className='mb-6'>
|
||||
<h1 className='text-3xl font-bold flex items-center gap-3'>
|
||||
<div className='w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500 to-brand-to flex items-center justify-center'>
|
||||
<Activity className='w-6 h-6 text-white' />
|
||||
</div>
|
||||
监控中心
|
||||
</h1>
|
||||
<p className='text-gray-500 mt-2 ml-[52px]'>
|
||||
实时监控渠道状态与系统性能指标
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* 标签页 */}
|
||||
<Card className='shadow-lg'>
|
||||
<Card className='console-monitor-card'>
|
||||
<Tabs
|
||||
activeKey={activeTab}
|
||||
onChange={setActiveTab}
|
||||
|
||||
Reference in New Issue
Block a user