From 3d78a5bd306c19c0175218f382b48b5308d4ef48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8C=AB=E7=8C=ABguowen?=
<9290821+guowen-the-cat@user.noreply.gitee.com>
Date: Mon, 14 Jul 2025 14:35:43 +0800
Subject: [PATCH] =?UTF-8?q?WCS=E4=B8=BB=E9=A2=98UI=E4=B8=8E=E7=99=BB?=
=?UTF-8?q?=E9=99=86=E9=A1=B5=E9=9D=A2=E4=BB=A5=E5=8F=8A=E6=A0=87=E9=A2=98?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/.env.development | 2 +-
ruoyi-ui/.env.production | 2 +-
ruoyi-ui/.env.staging | 2 +-
ruoyi-ui/src/App.vue | 15 +-
ruoyi-ui/src/assets/images/new.svg | 9 ++
.../src/assets/styles/element-variables.scss | 6 +-
ruoyi-ui/src/assets/styles/ruoyi.scss | 17 ++-
ruoyi-ui/src/assets/styles/sidebar.scss | 94 ++++++++++++
ruoyi-ui/src/assets/styles/variables.scss | 78 +++++++---
ruoyi-ui/src/components/Breadcrumb/index.vue | 18 +++
ruoyi-ui/src/components/Hamburger/index.vue | 7 +-
ruoyi-ui/src/lang/en.js | 7 +-
ruoyi-ui/src/lang/zh.js | 6 +-
ruoyi-ui/src/layout/components/Navbar.vue | 22 +--
.../src/layout/components/Settings/index.vue | 122 ++++++++-------
.../src/layout/components/Sidebar/Logo.vue | 18 ++-
.../src/layout/components/Sidebar/index.vue | 88 +++++------
.../src/layout/components/TagsView/index.vue | 30 ++--
ruoyi-ui/src/settings.js | 4 +-
ruoyi-ui/src/views/login.vue | 139 ++++++++++--------
ruoyi-ui/vue.config.js | 2 +-
21 files changed, 460 insertions(+), 228 deletions(-)
create mode 100644 ruoyi-ui/src/assets/images/new.svg
diff --git a/ruoyi-ui/.env.development b/ruoyi-ui/.env.development
index 302ecd1..4a29a35 100644
--- a/ruoyi-ui/.env.development
+++ b/ruoyi-ui/.env.development
@@ -1,5 +1,5 @@
# 页面标题
-VUE_APP_TITLE = 若依管理系统
+VUE_APP_TITLE = FORTUCKY WCS SYSTEM
# 开发环境配置
ENV = 'development'
diff --git a/ruoyi-ui/.env.production b/ruoyi-ui/.env.production
index b4893b0..242f36b 100644
--- a/ruoyi-ui/.env.production
+++ b/ruoyi-ui/.env.production
@@ -1,5 +1,5 @@
# 页面标题
-VUE_APP_TITLE = 若依管理系统
+VUE_APP_TITLE = FORTUCKY WCS SYSTEM
# 生产环境配置
ENV = 'production'
diff --git a/ruoyi-ui/.env.staging b/ruoyi-ui/.env.staging
index 209b64e..fb658c0 100644
--- a/ruoyi-ui/.env.staging
+++ b/ruoyi-ui/.env.staging
@@ -1,5 +1,5 @@
# 页面标题
-VUE_APP_TITLE = 若依管理系统
+VUE_APP_TITLE = FORTUCKY WCS SYSTEM
BABEL_ENV = production
diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue
index 12df51d..639556e 100644
--- a/ruoyi-ui/src/App.vue
+++ b/ruoyi-ui/src/App.vue
@@ -10,7 +10,20 @@ import ThemePicker from "@/components/ThemePicker"
export default {
name: "App",
- components: { ThemePicker }
+ components: { ThemePicker },
+ computed: {
+ sideTheme() {
+ return this.$store.state.settings.sideTheme
+ }
+ },
+ watch: {
+ sideTheme: {
+ immediate: true,
+ handler(val) {
+ document.documentElement.setAttribute('data-theme', val)
+ }
+ }
+ }
}
diff --git a/ruoyi-ui/src/components/Hamburger/index.vue b/ruoyi-ui/src/components/Hamburger/index.vue
index 368b002..31d1863 100644
--- a/ruoyi-ui/src/components/Hamburger/index.vue
+++ b/ruoyi-ui/src/components/Hamburger/index.vue
@@ -30,12 +30,17 @@ export default {
}
-
diff --git a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue b/ruoyi-ui/src/layout/components/Sidebar/Logo.vue
index 4ec53eb..6e7adb8 100644
--- a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue
+++ b/ruoyi-ui/src/layout/components/Sidebar/Logo.vue
@@ -1,13 +1,15 @@
-