优化了一点 样式和设备控制
This commit is contained in:
@@ -69,20 +69,23 @@ export default function AlarmCenterPage() {
|
||||
|
||||
return (
|
||||
<Layout style={{ minHeight: '100vh', background: '#fff', overflow: 'hidden' }}>
|
||||
<div style={{ padding: '20px 24px 0' }}>
|
||||
<Typography.Title level={4} style={{ margin: 0 }}>告警中心</Typography.Title>
|
||||
<Text type="secondary">告警处置闭环、规则管理与事件中心</Text>
|
||||
<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
|
||||
mode="horizontal"
|
||||
selectedKeys={[activeTab]}
|
||||
onClick={({ key }) => setActiveTab(key)}
|
||||
items={showTabs}
|
||||
style={{ border: 0, height: 64, lineHeight: '64px' }}
|
||||
/>
|
||||
</Header>
|
||||
</div>
|
||||
|
||||
<Header style={{ background: '#fff', 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' }}
|
||||
/>
|
||||
</Header>
|
||||
|
||||
<Content style={{
|
||||
maxHeight: 'calc(100vh - 64px)', overflowY: 'auto', background: '#f5f7fa',
|
||||
|
||||
Reference in New Issue
Block a user