@@ -285,9 +285,9 @@ Thanks to the contributions and support of the following projects, which have en
diff --git a/README.md b/README.md
index fa84828f..3c5684bf 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-
+
Fastapi-Vue3-Admin v2.0.0
一套现代、开源、全栈融合的中后台快速开发平台,给个⭐️支持一下
@@ -210,33 +210,33 @@ fastapi_vue3_amdin/devops/devops/nginx/nginx.conf
- 登陆 |
- 仪表盘 |
- 菜单管理 |
- 部门管理 |
+ 登陆 |
+ 仪表盘 |
+ 菜单管理 |
+ 部门管理 |
- 岗位管理 |
- 角色管理 |
- 用户管理 |
- 日志管理 |
+ 岗位管理 |
+ 角色管理 |
+ 用户管理 |
+ 日志管理 |
- 配置管理 |
- 在线用户管理 |
- 服务器监控 |
- 缓存监控 |
+ 配置管理 |
+ 在线用户管理 |
+ 服务器监控 |
+ 缓存监控 |
- 任务管理 |
- 字典管理 |
- 分析管理 |
- 接口管理 |
+ 任务管理 |
+ 字典管理 |
+ 分析管理 |
+ 接口管理 |
- 系统主题 |
- 在线文档 |
- 系统锁屏 |
+ 系统主题 |
+ 在线文档 |
+ 系统锁屏 |
@@ -283,9 +283,9 @@ fastapi_vue3_amdin/devops/devops/nginx/nginx.conf
diff --git a/backend/app/scripts/data/system_config.json b/backend/app/scripts/data/system_config.json
index 53b10739..0b90cf38 100644
--- a/backend/app/scripts/data/system_config.json
+++ b/backend/app/scripts/data/system_config.json
@@ -39,7 +39,7 @@
"id": 5,
"config_name": "登录背景",
"config_key": "sys_login_background",
- "config_value": "http://service.fastapiadmin.com/api/v1/static/image/background.png",
+ "config_value": "http://service.fastapiadmin.com/api/v1/static/image/background.svg",
"config_type": true,
"description": "登录背景",
"creator_id": 1
diff --git a/backend/sql/fastapi_vue_admin.sql b/backend/sql/fastapi_vue_admin.sql
index 28d32fd6..5c1f7d8f 100644
--- a/backend/sql/fastapi_vue_admin.sql
+++ b/backend/sql/fastapi_vue_admin.sql
@@ -107,7 +107,7 @@ INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`,
INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (2, '网站描述', 'sys_web_description', 'FastAPI Vue3 Admin 是完全开源的权限管理系统', 1, '网站描述', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (3, '网页图标', 'sys_web_favicon', 'http://service.fastapiadmin.com/api/v1/static/image/favicon.png', 1, '网页图标', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (4, '网站Logo', 'sys_web_logo', 'http://service.fastapiadmin.com/api/v1/static/image/logo.png', 1, '网站Logo', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
-INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (5, '登录背景', 'sys_login_background', 'http://service.fastapiadmin.com/api/v1/static/image/background.png', 1, '登录背景', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
+INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (5, '登录背景', 'sys_login_background', 'http://service.fastapiadmin.com/api/v1/static/image/background.svg', 1, '登录背景', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (6, '版权信息', 'sys_web_copyright', 'Copyright © 2025-2026 service.fastapiadmin.com 版权所有', 1, '版权信息', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (7, '备案信息', 'sys_keep_record', '陕ICP备2025069493号-1', 1, '备案信息', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
INSERT INTO `system_config` (`id`, `config_name`, `config_key`, `config_value`, `config_type`, `description`, `created_at`, `updated_at`, `creator_id`) VALUES (8, '帮助文档', 'sys_help_doc', 'http://service.fastapiadmin.com/site/index.html', 1, '帮助文档', '2025-08-05 00:25:40', '2025-08-05 00:25:40', 1);
diff --git a/backend/static/image/Frame 4.png b/backend/static/image/Frame 4.png
deleted file mode 100644
index b05df26e..00000000
Binary files a/backend/static/image/Frame 4.png and /dev/null differ
diff --git a/backend/static/image/avatar.png b/backend/static/image/avatar.png
index 782d28ee..a2d8841e 100644
Binary files a/backend/static/image/avatar.png and b/backend/static/image/avatar.png differ
diff --git a/backend/static/image/background.png b/backend/static/image/background.png
deleted file mode 100644
index edc40be8..00000000
Binary files a/backend/static/image/background.png and /dev/null differ
diff --git a/frontend/public/login-bg.svg b/backend/static/image/background.svg
similarity index 100%
rename from frontend/public/login-bg.svg
rename to backend/static/image/background.svg
diff --git a/backend/static/image/favicon.png b/backend/static/image/favicon.png
index 37f6e2b7..a2d8841e 100644
Binary files a/backend/static/image/favicon.png and b/backend/static/image/favicon.png differ
diff --git a/backend/static/image/logo.png b/backend/static/image/logo.png
index a2a0512a..1cff5691 100644
Binary files a/backend/static/image/logo.png and b/backend/static/image/logo.png differ
diff --git a/frontend/docs/.vitepress/config.ts b/frontend/docs/.vitepress/config.ts
index e9ee0151..9602a924 100644
--- a/frontend/docs/.vitepress/config.ts
+++ b/frontend/docs/.vitepress/config.ts
@@ -2,14 +2,41 @@ import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
- base: '/docs/dist',
- outDir: 'dist',
+ base: '/docs',
+ outDir: '../public/docs',
lang: 'zh-CN',
title: 'Fastapi Vue3 Admin',
description: '现代、开源、全栈融合的中后台快速开发平台',
head: [
- ['link', { rel: 'icon', href: '/favicon.png' }],
+ [
+ "link",
+ {
+ rel: "apple-touch-icon",
+ sizes: "180x180",
+ href: "/favicon.png",
+ },
+ ],
+ [
+ "link",
+ {
+ rel: "icon",
+ type: "image/png",
+ sizes: "32x32",
+ href: "/favicon.png",
+ },
+ ],
+ [
+ "link",
+ {
+ rel: "icon",
+ type: "image/png",
+ sizes: "16x16",
+ href: "/favicon.png",
+ },
+ ],
+ ["link", { rel: "shortcut icon", href: "/favicon.png" }],
],
+
locales: {
root: { label: '简体中文' },
en: { label: 'English' },
@@ -18,7 +45,7 @@ export default defineConfig({
cleanUrls: true,
metaChunk: true,
themeConfig: {
- logo: '/logo.jpg',
+ logo: '/logo.png',
siteTitle: 'Fastapi Vue3 Admin',
nav: [
{ text: '首页', link: '/' },
@@ -73,6 +100,11 @@ export default defineConfig({
copyright: 'Copyright © 2025-2026 service.fastapiadmin.com 版权所有 |隐私 |条款 陕ICP备2025069493号-1'
},
+ docFooter: {
+ prev: "上一页",
+ next: "下一页",
+ },
+
search: {
provider: 'local',
options: {
@@ -95,6 +127,24 @@ export default defineConfig({
},
},
},
- outline: 3,
+ outline: {
+ level: [2, 3],
+ label: "页面导航",
+ },
+
+ lastUpdated: {
+ text: "最后更新于",
+ formatOptions: {
+ dateStyle: "short", // full
+ timeStyle: "short", // medium
+ },
+ },
+
+ langMenuLabel: "多语言",
+ returnToTopLabel: "回到顶部",
+ sidebarMenuLabel: "菜单",
+ darkModeSwitchLabel: "主题",
+ lightModeSwitchTitle: "切换到浅色模式",
+ darkModeSwitchTitle: "切换到深色模式",
}
})
diff --git a/frontend/docs/.vitepress/theme/style.css b/frontend/docs/.vitepress/theme/style.css
index 7f29a1cb..633fcf29 100644
--- a/frontend/docs/.vitepress/theme/style.css
+++ b/frontend/docs/.vitepress/theme/style.css
@@ -46,7 +46,3 @@
}
}
-.VPHero .VPImage {
- filter: drop-shadow(-2px 4px 6px rgba(0, 0, 0, 0.2));
- padding: 18px;
-}
\ No newline at end of file
diff --git a/frontend/docs/about.md b/frontend/docs/about.md
index b2332fdc..7e0c73ac 100644
--- a/frontend/docs/about.md
+++ b/frontend/docs/about.md
@@ -10,21 +10,15 @@
以下是相关二维码,点击图片可查看大图:
-
-
-
+
微信支付二维码
diff --git a/frontend/docs/guide.md b/frontend/docs/guide.md
index 67543845..9047cb7c 100755
--- a/frontend/docs/guide.md
+++ b/frontend/docs/guide.md
@@ -4,7 +4,7 @@ outline: "deep"
-
+
Fastapi-Vue3-Admin v2.0.0
一套现代、开源、全栈融合的中后台快速开发平台,给个⭐️支持一下
@@ -184,33 +184,33 @@ fastapi_vue3_admin/devops/devops/nginx/nginx.conf
- 登陆 |
- 仪表盘 |
- 菜单管理 |
- 部门管理 |
+ 登陆 |
+ 仪表盘 |
+ 菜单管理 |
+ 部门管理 |
- 岗位管理 |
- 角色管理 |
- 用户管理 |
- 日志管理 |
+ 岗位管理 |
+ 角色管理 |
+ 用户管理 |
+ 日志管理 |
- 配置管理 |
- 在线用户管理 |
- 服务器监控 |
- 缓存监控 |
+ 配置管理 |
+ 在线用户管理 |
+ 服务器监控 |
+ 缓存监控 |
- 任务管理 |
- 字典管理 |
- 分析管理 |
- 接口管理 |
+ 任务管理 |
+ 字典管理 |
+ 分析管理 |
+ 接口管理 |
- 系统主题 |
- 在线文档 |
- 系统锁屏 |
+ 系统主题 |
+ 在线文档 |
+ 系统锁屏 |
|
diff --git a/frontend/docs/index.md b/frontend/docs/index.md
index d02e4d19..ac9b5a82 100644
--- a/frontend/docs/index.md
+++ b/frontend/docs/index.md
@@ -9,9 +9,8 @@ hero:
text: "现代、开源、全栈融合的快速开发平台"
tagline: Fastapi + Vue3 助力企业快速构建应用。
image:
- src: /logo.jpg
+ src: /logo.png
alt: Fastapi Vue3 Admin
- width: 400
style:
borderRadius: 50%
actions:
diff --git a/backend/static/image/analysis.png b/frontend/docs/public/analysis.png
similarity index 100%
rename from backend/static/image/analysis.png
rename to frontend/docs/public/analysis.png
diff --git a/backend/static/image/cache.png b/frontend/docs/public/cache.png
similarity index 100%
rename from backend/static/image/cache.png
rename to frontend/docs/public/cache.png
diff --git a/backend/static/image/config.png b/frontend/docs/public/config.png
similarity index 100%
rename from backend/static/image/config.png
rename to frontend/docs/public/config.png
diff --git a/backend/static/image/dashboard.png b/frontend/docs/public/dashboard.png
similarity index 100%
rename from backend/static/image/dashboard.png
rename to frontend/docs/public/dashboard.png
diff --git a/backend/static/image/dept.png b/frontend/docs/public/dept.png
similarity index 100%
rename from backend/static/image/dept.png
rename to frontend/docs/public/dept.png
diff --git a/backend/static/image/dict.png b/frontend/docs/public/dict.png
similarity index 100%
rename from backend/static/image/dict.png
rename to frontend/docs/public/dict.png
diff --git a/backend/static/image/docs.png b/frontend/docs/public/docs.png
similarity index 100%
rename from backend/static/image/docs.png
rename to frontend/docs/public/docs.png
diff --git a/frontend/docs/public/favicon.png b/frontend/docs/public/favicon.png
index 37f6e2b7..a2d8841e 100644
Binary files a/frontend/docs/public/favicon.png and b/frontend/docs/public/favicon.png differ
diff --git a/backend/static/image/group.jpg b/frontend/docs/public/group.jpg
similarity index 100%
rename from backend/static/image/group.jpg
rename to frontend/docs/public/group.jpg
diff --git a/backend/static/image/help.png b/frontend/docs/public/help.png
similarity index 100%
rename from backend/static/image/help.png
rename to frontend/docs/public/help.png
diff --git a/backend/static/image/job.png b/frontend/docs/public/job.png
similarity index 100%
rename from backend/static/image/job.png
rename to frontend/docs/public/job.png
diff --git a/backend/static/image/lock.png b/frontend/docs/public/lock.png
similarity index 100%
rename from backend/static/image/lock.png
rename to frontend/docs/public/lock.png
diff --git a/backend/static/image/log.png b/frontend/docs/public/log.png
similarity index 100%
rename from backend/static/image/log.png
rename to frontend/docs/public/log.png
diff --git a/backend/static/image/login.png b/frontend/docs/public/login.png
similarity index 100%
rename from backend/static/image/login.png
rename to frontend/docs/public/login.png
diff --git a/frontend/docs/public/logo.jpg b/frontend/docs/public/logo.jpg
deleted file mode 100644
index 3e9f7c5b..00000000
Binary files a/frontend/docs/public/logo.jpg and /dev/null differ
diff --git a/frontend/docs/public/logo.png b/frontend/docs/public/logo.png
new file mode 100644
index 00000000..1cff5691
Binary files /dev/null and b/frontend/docs/public/logo.png differ
diff --git a/backend/static/image/menu.png b/frontend/docs/public/menu.png
similarity index 100%
rename from backend/static/image/menu.png
rename to frontend/docs/public/menu.png
diff --git a/backend/static/image/notice.png b/frontend/docs/public/notice.png
similarity index 100%
rename from backend/static/image/notice.png
rename to frontend/docs/public/notice.png
diff --git a/backend/static/image/online.png b/frontend/docs/public/online.png
similarity index 100%
rename from backend/static/image/online.png
rename to frontend/docs/public/online.png
diff --git a/backend/static/image/position.png b/frontend/docs/public/position.png
similarity index 100%
rename from backend/static/image/position.png
rename to frontend/docs/public/position.png
diff --git a/backend/static/image/role.png b/frontend/docs/public/role.png
similarity index 100%
rename from backend/static/image/role.png
rename to frontend/docs/public/role.png
diff --git a/backend/static/image/service.png b/frontend/docs/public/service.png
similarity index 100%
rename from backend/static/image/service.png
rename to frontend/docs/public/service.png
diff --git a/backend/static/image/theme.png b/frontend/docs/public/theme.png
similarity index 100%
rename from backend/static/image/theme.png
rename to frontend/docs/public/theme.png
diff --git a/backend/static/image/user.png b/frontend/docs/public/user.png
similarity index 100%
rename from backend/static/image/user.png
rename to frontend/docs/public/user.png
diff --git a/backend/static/image/wechat.jpg b/frontend/docs/public/wechat.jpg
similarity index 100%
rename from backend/static/image/wechat.jpg
rename to frontend/docs/public/wechat.jpg
diff --git a/backend/static/image/wechatPay.jpg b/frontend/docs/public/wechatPay.jpg
similarity index 100%
rename from backend/static/image/wechatPay.jpg
rename to frontend/docs/public/wechatPay.jpg
diff --git a/frontend/public/background.png b/frontend/public/background.png
deleted file mode 100644
index edc40be8..00000000
Binary files a/frontend/public/background.png and /dev/null differ
diff --git a/frontend/public/background.svg b/frontend/public/background.svg
new file mode 100644
index 00000000..70f391f6
--- /dev/null
+++ b/frontend/public/background.svg
@@ -0,0 +1,73 @@
+
+
diff --git a/frontend/public/favicon.png b/frontend/public/favicon.png
index 37f6e2b7..a2d8841e 100644
Binary files a/frontend/public/favicon.png and b/frontend/public/favicon.png differ
diff --git a/frontend/public/logo.png b/frontend/public/logo.png
index a2a0512a..1cff5691 100644
Binary files a/frontend/public/logo.png and b/frontend/public/logo.png differ
diff --git a/frontend/src/layouts/components/NavBar/components/NavbarActions.vue b/frontend/src/layouts/components/NavBar/components/NavbarActions.vue
index 7a5ddcbe..f408d9df 100644
--- a/frontend/src/layouts/components/NavBar/components/NavbarActions.vue
+++ b/frontend/src/layouts/components/NavBar/components/NavbarActions.vue
@@ -146,7 +146,7 @@ function handleConfigClick() {
* 项目文档
*/
function handleDocumentClick() {
- window.open('/docs/dist/index.html', '_blank');
+ window.open('/docs/index.html', '_blank');
}
/**
diff --git a/frontend/src/views/system/auth/index.vue b/frontend/src/views/system/auth/index.vue
index 9caa5cea..4366598e 100644
--- a/frontend/src/views/system/auth/index.vue
+++ b/frontend/src/views/system/auth/index.vue
@@ -101,7 +101,7 @@ onMounted(() => {
width: 100%;
height: 100%;
content: "";
- background: url("/login-bg.svg");
+ background: url("/background.svg");
background-position: center center;
background-size: cover;
}
diff --git a/frontend/src/views/system/menu/index.vue b/frontend/src/views/system/menu/index.vue
index 63a2e1b1..a45eb55f 100644
--- a/frontend/src/views/system/menu/index.vue
+++ b/frontend/src/views/system/menu/index.vue
@@ -234,7 +234,7 @@
-
+