自适应

This commit is contained in:
mmc
2026-05-14 10:47:56 +08:00
parent 4ac279139b
commit c34c09a3cc
5 changed files with 587 additions and 745 deletions

View File

@@ -68,21 +68,27 @@ export default function AlarmCenterPage() {
};
return (
<Layout style={{ minHeight: '100vh', background: '#fff', overflow: 'hidden' }}>
<Layout style={{ minHeight: '100vh', overflow: 'hidden' }}>
<div style={{ display: 'flex', paddingBottom: "12px" }}>
<div style={{ padding: '20px 24px 0' }}>
<Typography.Title level={4} style={{ margin: 0 }}>告警中心</Typography.Title>
<Text type="secondary">告警处置闭环、规则管理与事件中心</Text>
</div>
<Header style={{ background: '#fff', padding: 0, borderBottom: '1px solid #f0f0f0', position: 'sticky', top: 0, zIndex: 10 }}>
<Menu
<Header style={{ padding: 0, borderBottom: '1px solid #f0f0f0', position: 'sticky', top: 0, zIndex: 10 }}>
{/*<Menu
mode="horizontal"
selectedKeys={[activeTab]}
onClick={({ key }) => setActiveTab(key)}
items={showTabs}
style={{ border: 0, height: 64, lineHeight: '64px' }}
/>
style={{
border: 'none',
height: 64,
lineHeight: '64px',
background: 'transparent !important',
backgroundColor: 'transparent !important',
}}
/>*/}
</Header>
</div>