feat: 云睿资产管理系统标准化定制完成 (Xinmi Workflow Step 0-11)
This commit is contained in:
+36
-3
@@ -36,6 +36,7 @@ import {
|
||||
CodepenOutlined,
|
||||
CloudUploadOutlined,
|
||||
LayoutOutlined,
|
||||
LinkOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
@@ -372,6 +373,11 @@ const AppLayout = ({ children }) => {
|
||||
icon: <AuditOutlined style={{ fontSize: '16px' }} />,
|
||||
label: <Link to="/operation-logs">操作日志</Link>,
|
||||
},
|
||||
{
|
||||
key: 'about',
|
||||
icon: <InfoCircleOutlined style={{ fontSize: '16px' }} />,
|
||||
label: <Link to="/about">关于系统</Link>,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
@@ -440,7 +446,7 @@ const AppLayout = ({ children }) => {
|
||||
lineHeight: 1.2,
|
||||
}}
|
||||
>
|
||||
{config.site_name || 'IDC管理'}
|
||||
{config.site_name || '云睿资产'}
|
||||
</div>
|
||||
<div
|
||||
style={{
|
||||
@@ -449,7 +455,7 @@ const AppLayout = ({ children }) => {
|
||||
marginTop: '2px',
|
||||
}}
|
||||
>
|
||||
数据中心管理平台
|
||||
云端睿智资产管理
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
@@ -477,10 +483,36 @@ const AppLayout = ({ children }) => {
|
||||
|
||||
<div
|
||||
style={{
|
||||
padding: '12px',
|
||||
padding: '8px 12px',
|
||||
borderTop: `1px solid ${designTokens.colors.sidebar.border}`,
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
gap: '4px'
|
||||
}}
|
||||
>
|
||||
{!collapsed && (
|
||||
<div style={{ padding: '0 8px 8px 8px' }}>
|
||||
<a
|
||||
href="http://code.xinmi.cloud/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
style={{
|
||||
fontSize: '12px',
|
||||
color: designTokens.colors.primary.main,
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '4px',
|
||||
opacity: 0.8,
|
||||
transition: 'opacity 0.2s'
|
||||
}}
|
||||
onMouseEnter={e => e.target.style.opacity = 1}
|
||||
onMouseLeave={e => e.target.style.opacity = 0.8}
|
||||
>
|
||||
<LinkOutlined style={{ fontSize: '12px' }} />
|
||||
<span>新觅源码库</span>
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
<Button
|
||||
type="text"
|
||||
icon={collapsed ? <MenuUnfoldOutlined /> : <MenuFoldOutlined />}
|
||||
@@ -624,6 +656,7 @@ const routeConfig = [
|
||||
{ path: '/error-boundary-test', component: ErrorBoundaryTest },
|
||||
{ path: '/idle-devices', component: IdleDeviceManagement },
|
||||
{ path: '/floor-plan', component: RoomFloorPlan },
|
||||
{ path: '/about', component: About },
|
||||
];
|
||||
|
||||
const ThemeConfig = () => {
|
||||
|
||||
Reference in New Issue
Block a user