diff --git a/web/src/view/layout/setting/components/layoutModeCard.vue b/web/src/view/layout/setting/components/layoutModeCard.vue new file mode 100644 index 00000000..5f1fd1b7 --- /dev/null +++ b/web/src/view/layout/setting/components/layoutModeCard.vue @@ -0,0 +1,219 @@ + + + + + + + + + + + + + + + + + {{ layout.label }} + {{ layout.description }} + + + + + + + + diff --git a/web/src/view/layout/setting/components/settingItem.vue b/web/src/view/layout/setting/components/settingItem.vue new file mode 100644 index 00000000..bc5d7d84 --- /dev/null +++ b/web/src/view/layout/setting/components/settingItem.vue @@ -0,0 +1,113 @@ + + + + {{ label }} + + + + + + + + + + + diff --git a/web/src/view/layout/setting/components/themeColorPicker.vue b/web/src/view/layout/setting/components/themeColorPicker.vue new file mode 100644 index 00000000..4523c923 --- /dev/null +++ b/web/src/view/layout/setting/components/themeColorPicker.vue @@ -0,0 +1,152 @@ + + + + + 精选色彩 + + + + + + + + + + + {{ colorItem.name }} + + + + + + + + 自定义颜色 + 选择任意颜色作为主题色 + + + + + + + 当前主题色 + + + + {{ modelValue }} + + + + + + + + + + + diff --git a/web/src/view/layout/setting/components/themeModeSelector.vue b/web/src/view/layout/setting/components/themeModeSelector.vue new file mode 100644 index 00000000..72eb4e8c --- /dev/null +++ b/web/src/view/layout/setting/components/themeModeSelector.vue @@ -0,0 +1,70 @@ + + + + + + + + {{ mode.label }} + + + + + + diff --git a/web/src/view/layout/setting/index.vue b/web/src/view/layout/setting/index.vue index 916691ba..ac24d473 100644 --- a/web/src/view/layout/setting/index.vue +++ b/web/src/view/layout/setting/index.vue @@ -5,214 +5,175 @@ direction="rtl" :size="width" :show-close="false" + class="theme-config-drawer" > - - 系统配置 - 重置配置 + + 系统配置 + + 重置配置 + - - - - - - - - - - - - - - - - - - - - - - - 展示水印 - - - - 灰色模式 - - - - 色弱模式 - - - - 菜单模式 - - - - 显示标签页 - - - - 页面切换动画 - + + + + - - - - - + {{ tab.label }} + - - - - - 侧边栏展开宽度 - - - - 侧边栏收缩宽度 - - - - 侧边栏子项高度 - - + + + + + - - diff --git a/web/src/view/layout/setting/modules/appearance/index.vue b/web/src/view/layout/setting/modules/appearance/index.vue new file mode 100644 index 00000000..70fb98db --- /dev/null +++ b/web/src/view/layout/setting/modules/appearance/index.vue @@ -0,0 +1,114 @@ + + + + + + + 主题模式 + + + + + + + + + + + + + 主题颜色 + + + + + + + + + + + + + 视觉辅助 + + + + + + + + 降低色彩饱和度 + + + + + + + 优化色彩对比度 + + + + + + + 在页面显示水印标识 + + + + + + + + + + + + diff --git a/web/src/view/layout/setting/modules/general/index.vue b/web/src/view/layout/setting/modules/general/index.vue new file mode 100644 index 00000000..31e2a850 --- /dev/null +++ b/web/src/view/layout/setting/modules/general/index.vue @@ -0,0 +1,288 @@ + + + + + + 系统信息 + + + + + + + + 版本 + v2.7.4 + + + 前端框架 + Vue 3 + + + UI 组件库 + Element Plus + + + 构建工具 + Vite + + + 浏览器 + {{ browserInfo }} + + + 屏幕分辨率 + {{ screenResolution }} + + + + + + + + + + 配置管理 + + + + + + + + + + 🔄 + + + 重置配置 + 将所有设置恢复为默认值 + + + + 重置配置 + + + + + + + 📤 + + + 导出配置 + 导出当前配置为 JSON 文件 + + + + 导出配置 + + + + + + + 📥 + + + 导入配置 + 从 JSON 文件导入配置 + + + + + 导入配置 + + + + + + + + + + + + 关于项目 + + + + + + + + + + + Gin-Vue-Admin + + 基于 Vue3 + Gin 的全栈开发基础平台,提供完整的后台管理解决方案 + + + + GitHub 仓库 + + · + + 官方文档 + + + + + + + + + + + + + diff --git a/web/src/view/layout/setting/modules/layout/index.vue b/web/src/view/layout/setting/modules/layout/index.vue new file mode 100644 index 00000000..bcc4809e --- /dev/null +++ b/web/src/view/layout/setting/modules/layout/index.vue @@ -0,0 +1,164 @@ + + + + + + 布局模式 + + + + + + + + + + + + 界面配置 + + + + + + + + 页面标签导航 + + + + + + + 页面过渡效果 + + + + + + + + + + + + + + + + 尺寸配置 + + + + + + + + + + 侧边栏展开宽度 + 侧边栏完全展开时的宽度 + + + + px + + + + + + + + 侧边栏收缩宽度 + 侧边栏收缩时的最小宽度 + + + + px + + + + + + + + 菜单项高度 + 侧边栏菜单项的行高 + + + + px + + + + + + + + + + + + + diff --git a/web/src/view/layout/setting/title.vue b/web/src/view/layout/setting/title.vue deleted file mode 100644 index ea536ad9..00000000 --- a/web/src/view/layout/setting/title.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - - {{ title }} - - - - - - -
精选色彩
选择任意颜色作为主题色
+ {{ modelValue }} +
将所有设置恢复为默认值
导出当前配置为 JSON 文件
从 JSON 文件导入配置
+ 基于 Vue3 + Gin 的全栈开发基础平台,提供完整的后台管理解决方案 +
侧边栏完全展开时的宽度
侧边栏收缩时的最小宽度
侧边栏菜单项的行高