From 6f4a39a693aa0bee33dbc8b9f543ddb477147b5a Mon Sep 17 00:00:00 2001 From: nagocoler Date: Wed, 13 Nov 2024 00:37:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=95=B4=E4=B8=AA=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=AE=A1=E7=90=86=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 5 +- .env.production | 6 +- .env.staging | 4 +- index.html | 4 +- package.json | 2 +- public/favicon.ico | Bin 5663 -> 0 bytes public/favicon.png | Bin 0 -> 1986 bytes src/api/system/blog.js | 44 + src/api/system/detail.js | 44 + src/assets/index/bg.png | Bin 0 -> 827342 bytes src/assets/logo/logo.png | Bin 5663 -> 4341 bytes src/layout/components/Navbar.vue | 7 - src/layout/components/Sidebar/Logo.vue | 4 +- src/views/index.vue | 1163 ++---------------------- src/views/system/blog/index.vue | 325 +++++++ src/views/system/detail/index.vue | 245 +++++ 16 files changed, 766 insertions(+), 1087 deletions(-) delete mode 100644 public/favicon.ico create mode 100644 public/favicon.png create mode 100644 src/api/system/blog.js create mode 100644 src/api/system/detail.js create mode 100644 src/assets/index/bg.png create mode 100644 src/views/system/blog/index.vue create mode 100644 src/views/system/detail/index.vue diff --git a/.env.development b/.env.development index 2744ed2..1fe760c 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,9 @@ # 页面标题 -VITE_APP_TITLE = 若依管理系统 +VITE_APP_TITLE = 柏码少儿编程俱乐部管理系统 # 开发环境配置 VITE_APP_ENV = 'development' -# 若依管理系统/开发环境 +# 开发环境 VITE_APP_BASE_API = '/dev-api' +VITE_CLIENT_URL = 'http://localhost:5173' diff --git a/.env.production b/.env.production index d857bba..cb18dc9 100644 --- a/.env.production +++ b/.env.production @@ -1,11 +1,13 @@ # 页面标题 -VITE_APP_TITLE = 若依管理系统 +VITE_APP_TITLE = 柏码少儿编程俱乐部管理系统 # 生产环境配置 VITE_APP_ENV = 'production' -# 若依管理系统/生产环境 +# 生产环境 VITE_APP_BASE_API = '/prod-api' +VITE_CLIENT_URL = 'http://localhost:5173' + # 是否在打包时开启压缩,支持 gzip 和 brotli VITE_BUILD_COMPRESS = gzip \ No newline at end of file diff --git a/.env.staging b/.env.staging index fa7c357..d9280b8 100644 --- a/.env.staging +++ b/.env.staging @@ -1,10 +1,10 @@ # 页面标题 -VITE_APP_TITLE = 若依管理系统 +VITE_APP_TITLE = 柏码少儿编程俱乐部管理系统 # 生产环境配置 VITE_APP_ENV = 'staging' -# 若依管理系统/生产环境 +# 生产环境 VITE_APP_BASE_API = '/stage-api' # 是否在打包时开启压缩,支持 gzip 和 brotli diff --git a/index.html b/index.html index 179579b..fdf41a6 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ - - 若依管理系统 + + 柏码少儿编程俱乐部管理系统