feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 54b3e0cc21
commit 5c0849e82b
242 changed files with 9242 additions and 5043 deletions
+4 -14
View File
@@ -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}
@@ -0,0 +1,16 @@
/* Keep the card inset and reduce the large tabs' top padding by 5px. */
.console-page .console-monitor-card > .ant-card-body {
padding-top: var(--console-space-1);
}
.console-page
.console-monitor-card
.ant-tabs-large
> .ant-tabs-nav
.ant-tabs-tab {
padding-top: 11px;
}
@media (max-width: 768px) {
.console-page .console-monitor-card > .ant-card-body {
padding-top: 0;
}
}