mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-03 08:49:12 +00:00
refactor: 将组件前缀从Art统一替换为Fa
- 更新所有FA前缀的组件文件 - 新增Fa前缀的对应组件 - 更新所有引用路径和组件名 - 修改相关样式和变量名 - 调整部分组件目录结构
This commit is contained in:
@@ -88,7 +88,7 @@ const appConfig: SystemConfig = {
|
||||
{
|
||||
theme: MenuThemeEnum.DESIGN,
|
||||
background: "#FFFFFF",
|
||||
systemNameColor: "var(--art-gray-800)",
|
||||
systemNameColor: "var(--fa-gray-800)",
|
||||
iconColor: "#6B6B6B",
|
||||
textColor: "#29343D",
|
||||
img: configImages.menuStyles.design,
|
||||
@@ -104,7 +104,7 @@ const appConfig: SystemConfig = {
|
||||
{
|
||||
theme: MenuThemeEnum.LIGHT,
|
||||
background: "#ffffff",
|
||||
systemNameColor: "var(--art-gray-800)",
|
||||
systemNameColor: "var(--fa-gray-800)",
|
||||
iconColor: "#6B6B6B",
|
||||
textColor: "#29343D",
|
||||
img: configImages.menuStyles.light,
|
||||
|
||||
@@ -24,39 +24,37 @@ export const globalComponentsConfig: GlobalComponentConfig[] = [
|
||||
{
|
||||
name: "设置面板",
|
||||
key: "settings-panel",
|
||||
component: defineAsyncComponent(() => import("@/layouts/art-settings-panel/index.vue")),
|
||||
component: defineAsyncComponent(() => import("@/layouts/fa-settings-panel/index.vue")),
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: "全局搜索",
|
||||
key: "global-search",
|
||||
component: defineAsyncComponent(() => import("@/layouts/art-global-search/index.vue")),
|
||||
component: defineAsyncComponent(() => import("@/layouts/fa-global-search/index.vue")),
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: "锁屏",
|
||||
key: "screen-lock",
|
||||
component: defineAsyncComponent(() => import("@/layouts/art-screen-lock/index.vue")),
|
||||
component: defineAsyncComponent(() => import("@/layouts/fa-screen-lock/index.vue")),
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: "聊天窗口",
|
||||
key: "chat-window",
|
||||
component: defineAsyncComponent(() => import("@/layouts/art-chat-window/index.vue")),
|
||||
component: defineAsyncComponent(() => import("@/layouts/fa-chat-window/index.vue")),
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: "礼花效果",
|
||||
key: "fireworks-effect",
|
||||
component: defineAsyncComponent(() => import("@/layouts/art-fireworks-effect/index.vue")),
|
||||
component: defineAsyncComponent(() => import("@/layouts/fa-fireworks-effect/index.vue")),
|
||||
enabled: true,
|
||||
},
|
||||
{
|
||||
name: "水印效果",
|
||||
key: "watermark",
|
||||
component: defineAsyncComponent(
|
||||
() => import("@/components/Core/others/art-watermark/index.vue")
|
||||
),
|
||||
component: defineAsyncComponent(() => import("@/components/others/fa-watermark/index.vue")),
|
||||
enabled: true,
|
||||
},
|
||||
];
|
||||
|
||||
@@ -13,7 +13,7 @@ const fastEnterConfig: FastEnterConfig = {
|
||||
{
|
||||
name: "工作台",
|
||||
description: "系统概览与数据统计",
|
||||
icon: "ri:pie-chart-line",
|
||||
icon: "ri:pie-chfa-line",
|
||||
iconColor: "#377dff",
|
||||
enabled: true,
|
||||
order: 1,
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
* - `image` 为红包碎屑 hb、雪花 sd、礼花筒 yd 等时,须在下方 import,勿手写路径字符串。
|
||||
* - 全局快捷键:**Ctrl + Shift + P**(Windows / Linux)或 **⌘ + Shift + P**(macOS)立即触发一发礼花;
|
||||
* 若当天命中某条「带礼花」的节日配置则使用该配置的 `image`,否则为几何礼花。
|
||||
* - 实现:`src/layouts/art-fireworks-effect/index.vue`(键盘)、`src/hooks/core/useCeremony.ts`(自动连发)。
|
||||
* - 实现:`src/layouts/fa-fireworks-effect/index.vue`(键盘)、`src/hooks/core/useCeremony.ts`(自动连发)。
|
||||
*
|
||||
* ## 自动公历节日
|
||||
*
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* ## 注意事项
|
||||
*
|
||||
* 1. 修改此文件的配置项时,需要同步更新以下文件:
|
||||
* - src/layouts/art-settings-panel/widget/SettingActions.vue(复制配置和重置配置逻辑)
|
||||
* - src/layouts/fa-settings-panel/widget/SettingActions.vue(复制配置和重置配置逻辑)
|
||||
* - src/store/modules/setting.ts(Store 状态定义)
|
||||
* 2. 可以通过设置面板的"复制配置"按钮快速生成配置代码
|
||||
* 3. 枚举类型的值需要与 src/enums/appEnum.ts 中的定义保持一致
|
||||
|
||||
Reference in New Issue
Block a user