From 09270a5d84e0678b5ba43a536fdb28a0688756a8 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 01 八月 2025 14:49:21 +0800 Subject: [PATCH] 中强恒兴部署配置 --- src/assets/indexViews/JZYJView.png | 0 public/WDSYico.ico | 0 src/assets/indexViews/WDSYLogo.png | 0 public/JZYJico.ico | 0 .env.staging | 4 ++-- .env.development | 4 ++-- src/views/login.vue | 7 ++++--- src/layout/components/Sidebar/Logo.vue | 2 +- src/main.js | 2 +- index.html | 4 ++-- package.json | 2 +- .env.production | 4 ++-- vite.config.js | 4 ++-- src/assets/indexViews/WDSYView.png | 0 src/assets/indexViews/JZYJLogo.png | 0 15 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.env.development b/.env.development index aa941bf..cafa920 100644 --- a/.env.development +++ b/.env.development @@ -1,8 +1,8 @@ # 椤甸潰鏍囬 -VITE_APP_TITLE = 涓己鎭掑叴绠$悊淇℃伅绯荤粺 +VITE_APP_TITLE = 浼熷痉瀹炰笟绠$悊淇℃伅绯荤粺 # 寮�鍙戠幆澧冮厤缃� VITE_APP_ENV = 'development' -# 涓己鎭掑叴绠$悊淇℃伅绯荤粺/寮�鍙戠幆澧� +# 浼熷痉瀹炰笟绠$悊淇℃伅绯荤粺/寮�鍙戠幆澧� VITE_APP_BASE_API = '/dev-api' diff --git a/.env.production b/.env.production index deacf1a..b44bad7 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,10 @@ # 椤甸潰鏍囬 -VITE_APP_TITLE = 涓己鎭掑叴绠$悊淇℃伅绯荤粺 +VITE_APP_TITLE = 浼熷痉瀹炰笟绠$悊淇℃伅绯荤粺 # 鐢熶骇鐜閰嶇疆 VITE_APP_ENV = 'production' -# 涓己鎭掑叴绠$悊淇℃伅绯荤粺/鐢熶骇鐜 +# 浼熷痉瀹炰笟绠$悊淇℃伅绯荤粺/鐢熶骇鐜 VITE_APP_BASE_API = '/prod-api' # 鏄惁鍦ㄦ墦鍖呮椂寮�鍚帇缂╋紝鏀寔 gzip 鍜� brotli diff --git a/.env.staging b/.env.staging index 2e8816d..ed53da6 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 cfb56fa..d4d38b8 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="renderer" content="webkit"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> - <link rel="icon" href="/ZQHXico.ico"> - <title>涓己鎭掑叴绠$悊淇℃伅绯荤粺</title> + <link rel="icon" href="/WDSYico.ico"> + <title>浼熷痉瀹炰笟绠$悊淇℃伅绯荤粺</title> <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> <style> html, diff --git a/package.json b/package.json index e349105..a2a5a3a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ruoyi", "version": "3.8.9", - "description": "涓己鎭掑叴绠$悊淇℃伅绯荤粺", + "description": "浼熷痉瀹炰笟绠$悊淇℃伅绯荤粺", "author": "鑻ヤ緷", "license": "MIT", "type": "module", diff --git a/public/JZYJico.ico b/public/JZYJico.ico new file mode 100644 index 0000000..f5a7820 --- /dev/null +++ b/public/JZYJico.ico Binary files differ diff --git a/public/WDSYico.ico b/public/WDSYico.ico new file mode 100644 index 0000000..bfad99c --- /dev/null +++ b/public/WDSYico.ico Binary files differ diff --git a/src/assets/indexViews/JZYJLogo.png b/src/assets/indexViews/JZYJLogo.png new file mode 100644 index 0000000..b50afc2 --- /dev/null +++ b/src/assets/indexViews/JZYJLogo.png Binary files differ diff --git a/src/assets/indexViews/JZYJView.png b/src/assets/indexViews/JZYJView.png new file mode 100644 index 0000000..f64d46b --- /dev/null +++ b/src/assets/indexViews/JZYJView.png Binary files differ diff --git a/src/assets/indexViews/WDSYLogo.png b/src/assets/indexViews/WDSYLogo.png new file mode 100644 index 0000000..3bc9755 --- /dev/null +++ b/src/assets/indexViews/WDSYLogo.png Binary files differ diff --git a/src/assets/indexViews/WDSYView.png b/src/assets/indexViews/WDSYView.png new file mode 100644 index 0000000..19ec19d --- /dev/null +++ b/src/assets/indexViews/WDSYView.png Binary files differ diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index bdb0daa..0cd9401 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -16,7 +16,7 @@ <script setup> import { ref, computed, onMounted, watch } from 'vue' import useUserStore from '@/store/modules/user' -import defaultLogo from '@/assets/indexViews/ZQHXLogo.png' // 瀵煎叆榛樿logo +import defaultLogo from '@/assets/indexViews/WDSYLogo.png' // 瀵煎叆榛樿logo defineProps({ collapse: { diff --git a/src/main.js b/src/main.js index 3adc43f..b2f6d69 100644 --- a/src/main.js +++ b/src/main.js @@ -62,7 +62,7 @@ app.config.globalProperties.addDateRange = addDateRange app.config.globalProperties.selectDictLabel = selectDictLabel app.config.globalProperties.selectDictLabels = selectDictLabels -app.config.globalProperties.javaApi = 'http://114.132.189.42:1234' +app.config.globalProperties.javaApi = 'http://114.132.189.42:8068' app.config.globalProperties.HaveJson = (val) => { return JSON.parse(JSON.stringify(val)); }; diff --git a/src/views/login.vue b/src/views/login.vue index 10f5257..15e508d 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -181,7 +181,7 @@ <style lang='scss' scoped> .login { height: 100%; - background-image: url("../assets/indexViews/ZQHXView.png"); + background-image: url("../assets/indexViews/WDSYView.png"); background-size: cover; position: relative; } @@ -196,14 +196,15 @@ .login-form { position: absolute; top: 50%; - right: 15%; - transform: translate(0, -50%); + right: 50%; + transform: translate(50%, -50%); border-radius: 6px; background: #ffffff; width: 420px; height: 500px; padding: 40px; z-index: 1; + box-shadow: 0 0 5px 1px #ccc; .el-input { height: 40px; input { diff --git a/vite.config.js b/vite.config.js index ffd9070..eb24221 100644 --- a/vite.config.js +++ b/vite.config.js @@ -8,8 +8,8 @@ const { VITE_APP_ENV } = env; const baseUrl = VITE_APP_ENV == "development" - ? "http://114.132.189.42:1234" // 寮�鍙戠幆澧冨悗绔帴鍙� - : "http://114.132.189.42:1234"; // 鐢熶骇鐜鍚庣鎺ュ彛 + ? "http://114.132.189.42:8068" // 寮�鍙戠幆澧冨悗绔帴鍙� + : "http://114.132.189.42:8068"; // 鐢熶骇鐜鍚庣鎺ュ彛 return { // 閮ㄧ讲鐢熶骇鐜鍜屽紑鍙戠幆澧冧笅鐨刄RL銆� -- Gitblit v1.9.3