- 全局主题
+ {{ $t('commons.header.globalTheme') }}
- 主题颜色
+ {{ $t('commons.header.themeColor') }}
- 暗黑模式
+ {{ $t('commons.header.darkTheme') }}
diff --git a/frontend/src/components/app-layout/header/components/password-dialog.vue b/frontend/src/components/app-layout/header/components/password-dialog.vue
index db96ac335..d6ecae719 100644
--- a/frontend/src/components/app-layout/header/components/password-dialog.vue
+++ b/frontend/src/components/app-layout/header/components/password-dialog.vue
@@ -1,10 +1,10 @@
-
+
This is Password
diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts
index 04ed32873..ec9c38ab8 100644
--- a/frontend/src/lang/modules/en.ts
+++ b/frontend/src/lang/modules/en.ts
@@ -53,6 +53,18 @@ export default {
notFound: 'The resource does not exist',
commonError: 'The request failed',
},
+ header: {
+ language: 'Internationalization',
+ zh: '简体中文',
+ en: 'English',
+ theme: 'Layout Settings',
+ globalTheme: 'Global',
+ themeColor: 'Theme Color',
+ darkTheme: 'Dark Theme',
+ personalData: 'Personal Data',
+ changePassword: 'Change Password',
+ logout: 'Logout',
+ },
},
business: {
user: {
@@ -66,6 +78,7 @@ export default {
demo: 'Demo',
terminal: 'Terminal',
operations: 'Operation logs',
+ files: 'File Management',
},
home: {
welcome: 'Welcome',
diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts
index 3ca0593b8..55d040909 100644
--- a/frontend/src/lang/modules/zh.ts
+++ b/frontend/src/lang/modules/zh.ts
@@ -53,6 +53,18 @@ export default {
notFound: '资源不存在',
commonError: '请求失败',
},
+ header: {
+ language: '国际化',
+ zh: '简体中文',
+ en: 'English',
+ theme: '布局设置',
+ globalTheme: '全局主题',
+ themeColor: '主题颜色',
+ darkTheme: '暗黑主题',
+ personalData: '个人资料',
+ changePassword: '修改密码',
+ logout: '退出登录',
+ },
},
business: {
user: {
@@ -66,6 +78,7 @@ export default {
demo: '样例',
terminal: '终端管理',
operations: '操作记录',
+ files: '文件管理',
},
home: {
welcome: '欢迎使用',
diff --git a/frontend/src/main.ts b/frontend/src/main.ts
index 74884bee6..24929e78a 100644
--- a/frontend/src/main.ts
+++ b/frontend/src/main.ts
@@ -2,8 +2,7 @@ import { createApp } from 'vue';
import App from './App.vue';
import '@/styles/reset.scss';
import '@/styles/common.scss';
-import '@/assets/iconfont/iconfont.scss';
-import '@/assets/fonts/font.scss';
+import '@/assets/iconfont/iconfont.css';
import ElementPlus from 'element-plus';
import Fit2CloudPlus from 'fit2cloud-ui-plus';
import * as Icons from '@element-plus/icons-vue';
diff --git a/frontend/src/routers/modules/ file-management.ts b/frontend/src/routers/modules/ file-management.ts
new file mode 100644
index 000000000..346752879
--- /dev/null
+++ b/frontend/src/routers/modules/ file-management.ts
@@ -0,0 +1,25 @@
+import { Layout } from '@/routers/constant';
+
+// demo
+const demoRouter = {
+ sort: 3,
+ path: '/files',
+ component: Layout,
+ redirect: '/files',
+ meta: {
+ icon: 'files',
+ title: 'menu.files',
+ },
+ children: [
+ {
+ path: '/files',
+ name: 'File',
+ component: () => import('@/views/file-management/index.vue'),
+ meta: {
+ keepAlive: true,
+ },
+ },
+ ],
+};
+
+export default demoRouter;
diff --git a/frontend/src/views/file-management/index.vue b/frontend/src/views/file-management/index.vue
new file mode 100644
index 000000000..252fc689c
--- /dev/null
+++ b/frontend/src/views/file-management/index.vue
@@ -0,0 +1,5 @@
+
+
+
+
+