From 1c878f961ec70ec36c636680df08d8ee60322984 Mon Sep 17 00:00:00 2001 From: zerosaturation Date: Thu, 8 Jan 2026 22:54:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RuoYi-Vue3/.env.development | 2 +- RuoYi-Vue3/src/assets/icons/svg/clock.svg | 4 + RuoYi-Vue3/src/assets/icons/svg/grid.svg | 3 + RuoYi-Vue3/src/views/index.vue | 624 +++++++++++++++++++++- RuoYi-Vue3/vite.config.js | 5 +- 5 files changed, 632 insertions(+), 6 deletions(-) create mode 100644 RuoYi-Vue3/src/assets/icons/svg/clock.svg create mode 100644 RuoYi-Vue3/src/assets/icons/svg/grid.svg diff --git a/RuoYi-Vue3/.env.development b/RuoYi-Vue3/.env.development index 059d081..ca6126a 100644 --- a/RuoYi-Vue3/.env.development +++ b/RuoYi-Vue3/.env.development @@ -5,4 +5,4 @@ VITE_APP_TITLE = 安信平台系统 VITE_APP_ENV = 'development' # 安信平台系统/开发环境 -VITE_APP_BASE_API = '/dev-api' +VITE_APP_BASE_API = '/prod-api' diff --git a/RuoYi-Vue3/src/assets/icons/svg/clock.svg b/RuoYi-Vue3/src/assets/icons/svg/clock.svg new file mode 100644 index 0000000..81aedfb --- /dev/null +++ b/RuoYi-Vue3/src/assets/icons/svg/clock.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/RuoYi-Vue3/src/assets/icons/svg/grid.svg b/RuoYi-Vue3/src/assets/icons/svg/grid.svg new file mode 100644 index 0000000..76942b8 --- /dev/null +++ b/RuoYi-Vue3/src/assets/icons/svg/grid.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/RuoYi-Vue3/src/views/index.vue b/RuoYi-Vue3/src/views/index.vue index 7a1bc1b..4f3c2b3 100644 --- a/RuoYi-Vue3/src/views/index.vue +++ b/RuoYi-Vue3/src/views/index.vue @@ -1,5 +1,623 @@ \ No newline at end of file + + + + + \ No newline at end of file diff --git a/RuoYi-Vue3/vite.config.js b/RuoYi-Vue3/vite.config.js index 7261104..6ad18c2 100644 --- a/RuoYi-Vue3/vite.config.js +++ b/RuoYi-Vue3/vite.config.js @@ -47,8 +47,9 @@ export default defineConfig(({ mode, command }) => { open: true, proxy: { // https://cn.vitejs.dev/config/#server-proxy - '/dev-api': { - target: baseUrl, + '/prod-api': { + // target: baseUrl, + target: "http://anxin.liantu.tech", changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') },