From 2b1686b9965777bf7a5b137ba27c5f02f9daabff Mon Sep 17 00:00:00 2001 From: mei Date: Tue, 11 Aug 2026 10:22:12 +0800 Subject: [PATCH] update --- client/src/App.jsx | 7 +++++-- client/src/pages/Download.jsx | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 client/src/pages/Download.jsx diff --git a/client/src/App.jsx b/client/src/App.jsx index d9bb912..8d64e20 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -26,6 +26,7 @@ import AccountManagement from './pages/AccountManagement' import Messages from './pages/Messages' import About from './pages/About' import Guide from './pages/Guide' +import Download from './pages/Download' const { Header, Sider, Content } = Layout @@ -125,7 +126,8 @@ function App() { { key: 'devices', icon: , label: '设备管理' }, { key: 'personnel', icon: , label: '人员管理' }, ...(user?.role === 'admin' ? [{ key: 'accounts', icon: , label: '账户管理' }] : []), - { key: 'notifications', icon: , label: '通知管理' } + { key: 'notifications', icon: , label: '通知管理' }, + { key: 'download', icon: , label: '软件下载' }, ] // 移动端底部导航(5个核心入口) @@ -147,13 +149,14 @@ function App() { case 'accounts': return user?.role === 'admin' ? : case 'notifications': return case 'messages': return + case 'download': return default: return } } const getPageTitle = () => { const titles = { - dashboard: '系统首页', about: '软件简介', guide: '使用说明', + dashboard: '系统首页', about: '软件简介', guide: '使用说明',download: '软件下载', devices: '设备管理', personnel: '人员管理', accounts: '账户管理', notifications: '通知管理', messages: '消息对话' } diff --git a/client/src/pages/Download.jsx b/client/src/pages/Download.jsx new file mode 100644 index 0000000..6ba14d1 --- /dev/null +++ b/client/src/pages/Download.jsx @@ -0,0 +1,20 @@ +import React from 'react' +import { Card, Divider } from 'antd' + +function Download() { + return ( +
+ +

影视星河 · 设备管理系统 v2.1

+ + +

软件下载

+ + + +
+
+ ) +} + +export default Download \ No newline at end of file