From 2ba59e39a2600f997f650b91073dc099407b5b06 Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sat, 20 Jul 2024 10:59:04 +0800 Subject: [PATCH 1/6] =?UTF-8?q?feat:=20=E9=A1=B9=E7=9B=AE=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=92=8Cgit=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 4 ++-- README.md | 4 ++-- package.json | 2 +- pnpm-lock.yaml | 3 --- .../components/Header/components/header-right/index.vue | 2 +- src/store/modules/theme-config.ts | 2 +- src/views/about-project/about-project.vue | 2 +- src/views/form-management/step-form/step-form.vue | 4 ++-- 8 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.env.production b/.env.production index 0387852..276f8f5 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 生产环境 VITE_USER_NODE_ENV = production -# 打包路径 (就是网站前缀, 例如部署到 http://dcodes.gitee.io/dc-admin/ 域名下, 就需要填写 /dc-admin/), 一般填一个斜杠 / -VITE_PUBLIC_PATH = '/dc-admin/' \ No newline at end of file +# 打包路径 (就是网站前缀, 例如部署到 http://dcodes.gitee.io/snow-admin/ 域名下, 就需要填写 /snow-admin/), 一般填一个斜杠 / +VITE_PUBLIC_PATH = '/snow-admin/' \ No newline at end of file diff --git a/README.md b/README.md index b4890b9..c8474df 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ SnowAdmin 一款基于 Vue3、TypeScript、Vite5、Pinia、Arco-Design 开源的 ### 代码仓库 ⭐ -- Gitee:https://gitee.com/wang_fan_w/dc-admin +- Gitee:https://gitee.com/wang_fan_w/SnowAdmin ### 项目文档 📚 @@ -36,7 +36,7 @@ SnowAdmin 一款基于 Vue3、TypeScript、Vite5、Pinia、Arco-Design 开源的 ```text # Gitee -git clone https://gitee.com/wang_fan_w/dc-admin.git +git clone https://gitee.com/wang_fan_w/SnowAdmin.git ``` - **Install:** diff --git a/package.json b/package.json index 7c48708..5d34470 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "dc-admin", + "name": "snow-admin", "private": true, "version": "0.0.0", "type": "module", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2fc1672..0bd29fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,9 +41,6 @@ importers: codemirror: specifier: ^6.0.1 version: 6.0.1(@lezer/common@1.2.1) - dc-admin: - specifier: 'link:' - version: 'link:' nprogress: specifier: ^0.2.0 version: 0.2.0 diff --git a/src/layout/components/Header/components/header-right/index.vue b/src/layout/components/Header/components/header-right/index.vue index 5d8abcb..a2b26b0 100644 --- a/src/layout/components/Header/components/header-right/index.vue +++ b/src/layout/components/Header/components/header-right/index.vue @@ -178,7 +178,7 @@ const onUpdate = () => { // 项目地址 const onProject = () => { - window.open("https://gitee.com/wang_fan_w/dc-admin", "_blank"); + window.open("https://gitee.com/wang_fan_w/SnowAdmin", "_blank"); }; // 退出登录 diff --git a/src/store/modules/theme-config.ts b/src/store/modules/theme-config.ts index aaf4ac9..7cd5496 100644 --- a/src/store/modules/theme-config.ts +++ b/src/store/modules/theme-config.ts @@ -39,7 +39,7 @@ export const useThemeConfig = defineStore("theme-config", { isBreadcrumb: true, // 面包屑渲染 isTabs: true, // 标签栏渲染 isFooter: true, // 页脚渲染 - watermark: "dc admin", // 水印 + watermark: "SnowAdmin", // 水印 watermarkStyle: { fontSize: 12, color: "rgba(0, 0, 0, 0.15)" diff --git a/src/views/about-project/about-project.vue b/src/views/about-project/about-project.vue index f82b824..df80ba3 100644 --- a/src/views/about-project/about-project.vue +++ b/src/views/about-project/about-project.vue @@ -2,7 +2,7 @@
-

dc-admin 一款基于 Vue、TypeScript、Vite5、Pinia、arco-design开源的后台管理框架,使用目前最新技术栈开发。

+

SnowAdmin 一款基于 Vue、TypeScript、Vite5、Pinia、arco-design开源的后台管理框架,使用目前最新技术栈开发。

融合了全新的UI框架,高度可自定义的主题功能使得用户可以根据自身需求轻松定制界面。

代码全注释,可提供参考和学习。

diff --git a/src/views/form-management/step-form/step-form.vue b/src/views/form-management/step-form/step-form.vue index 9994cb4..a38dfa0 100644 --- a/src/views/form-management/step-form/step-form.vue +++ b/src/views/form-management/step-form/step-form.vue @@ -29,7 +29,7 @@
@@ -97,7 +97,7 @@ const form = ref({ name: "", type: null, date: [], - address: "https://gitee.com/wang_fan_w/dc-admin", + address: "https://gitee.com/wang_fan_w/SnowAdmin", source: "", medium: "", keyword: [], From 67093774e5afa29d167e240c414c86bd79ddbad7 Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sat, 20 Jul 2024 11:00:39 +0800 Subject: [PATCH 2/6] =?UTF-8?q?little:=20=E5=B0=8F=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/route.ts b/src/router/route.ts index 4cd1312..9b6d049 100644 --- a/src/router/route.ts +++ b/src/router/route.ts @@ -725,7 +725,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [ hide: false, keepAlive: true, affix: false, - link: "https://gitee.com/wang_fan_w", // 链接 + link: "https://gitee.com/wang_fan_w/SnowAdmin", // 链接 iframe: false, // 区分是否内链 true内链 false外链 roles: ["admin"], icon: "icon-menu", From 44f0578e8cc76de9cbb8ab32e3f0fc4d16038205 Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sat, 20 Jul 2024 16:05:27 +0800 Subject: [PATCH 3/6] =?UTF-8?q?feat:=20=E9=A2=84=E8=A7=88=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index c8474df..f0fe7ff 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,24 @@ SnowAdmin 一款基于 Vue3、TypeScript、Vite5、Pinia、Arco-Design 开源的 - 使用 Prettier 统一格式化代码,集成 ESLint、Stylelint 代码校验规范 - 使用 husky、lint-staged、commitlint等插件,规范提交信息 +### 预览 + +![](https://img.picui.cn/free/2024/07/20/669b6894206d2.png) + +![](https://img.picui.cn/free/2024/07/20/669b688a12619.png) + +![](https://img.picui.cn/free/2024/07/20/669b6890d23b4.png) + +![](https://img.picui.cn/free/2024/07/20/669b6893934bf.png) + +![](https://img.picui.cn/free/2024/07/20/669b68936cf84.png) + +![](https://img.picui.cn/free/2024/07/20/669b69dc2214f.png) + +![](https://img.picui.cn/free/2024/07/20/669b688aba4f4.png) + +![](https://img.picui.cn/free/2024/07/20/669b688b1deed.png) + ### 安装使用步骤 📔 - **Clone:** From b58d62891a75844b023c8329ccd7d7edcb470a41 Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sat, 20 Jul 2024 16:10:37 +0800 Subject: [PATCH 4/6] =?UTF-8?q?feat:=20=E9=A2=84=E8=A7=88=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/views/login/components/login-banner.vue | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f0fe7ff..3ca07a8 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ SnowAdmin 一款基于 Vue3、TypeScript、Vite5、Pinia、Arco-Design 开源的 ### 预览 -![](https://img.picui.cn/free/2024/07/20/669b6894206d2.png) +![](https://img.picui.cn/free/2024/07/20/669b6fecd308b.png) ![](https://img.picui.cn/free/2024/07/20/669b688a12619.png) diff --git a/src/views/login/components/login-banner.vue b/src/views/login/components/login-banner.vue index 1cdd67d..322af04 100644 --- a/src/views/login/components/login-banner.vue +++ b/src/views/login/components/login-banner.vue @@ -2,7 +2,7 @@