From 0c2f9d40e0412bf911f5eaadd36af9914d5e9cad Mon Sep 17 00:00:00 2001
From: XiaoDaiGua-Ray <51957438+XiaoDaiGua-Ray@users.noreply.github.com>
Date: Sat, 19 Sep 2026 21:47:03 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=9F=E4=B8=80=20css=20=E5=91=BD?=
=?UTF-8?q?=E5=90=8D=E8=A7=84=E8=8C=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.vscode/settings.json | 1 +
src/app-components/app/AppLockScreen/index.scss | 2 +-
src/app-config/app-config.ts | 8 ++++----
src/components/base/RChart/src/Chart.tsx | 8 ++++----
src/components/base/RChart/src/index.scss | 4 ++--
src/components/base/RCollapseGrid/src/index.scss | 4 ++--
src/components/base/RCollapseGrid/src/index.tsx | 4 ++--
src/components/base/RIframe/src/Iframe.tsx | 7 ++-----
src/components/base/RIframe/src/index.scss | 4 ++--
src/directives/modules/disabled/index.ts | 4 ++--
.../components/Menu/components/SiderBarLogo/index.scss | 8 ++++----
.../components/Menu/components/SiderBarLogo/index.tsx | 9 +++------
src/layout/components/Menu/index.scss | 4 ++--
src/layout/components/MenuTag/index.scss | 8 ++++----
src/layout/components/SiderBar/index.scss | 4 ++--
src/layout/components/SiderBar/index.tsx | 2 +-
src/layout/default/ContentWrapper/index.scss | 8 ++++----
src/layout/default/FooterWrapper/index.scss | 4 ++--
src/layout/index.scss | 4 ++--
src/router/types.ts | 2 +-
src/styles/base.scss | 2 +-
src/styles/mixins.scss | 2 +-
src/utils/app/prefix-cache-key.ts | 4 ++--
src/views/login/components/SSOSigning/index.scss | 2 +-
src/views/login/index.scss | 7 ++++---
25 files changed, 56 insertions(+), 60 deletions(-)
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c9366055..5de3d18d 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -69,6 +69,7 @@
"codabar",
"commitmsg",
"crossorigin",
+ "daterange",
"datetimerange",
"depcheckrc",
"domtoimage",
diff --git a/src/app-components/app/AppLockScreen/index.scss b/src/app-components/app/AppLockScreen/index.scss
index 8b4dbb9c..59184457 100644
--- a/src/app-components/app/AppLockScreen/index.scss
+++ b/src/app-components/app/AppLockScreen/index.scss
@@ -93,7 +93,7 @@
}
}
-.ray-template--light {
+.r-template--light {
.app-lock-screen__unlock__content-bg__wrapper {
background-color: #fff !important;
}
diff --git a/src/app-config/app-config.ts b/src/app-config/app-config.ts
index 823120b4..4b157cba 100644
--- a/src/app-config/app-config.ts
+++ b/src/app-config/app-config.ts
@@ -10,8 +10,8 @@ import type { MessageProviderProps } from 'naive-ui'
* 避免样式出现奇奇怪怪的问题。
*/
export const GLOBAL_CLASS_NAMES = {
- darkClassName: 'ray-template--dark',
- lightClassName: 'ray-template--light',
+ darkClassName: 'r-template--dark',
+ lightClassName: 'r-template--light',
rayTemplateThemePrimaryColor: '--r-theme-primary-color',
rayTemplateThemePrimaryFadeColor: '--r-theme-primary-fade-color',
preLoadingAnimation: 'pre-loading-animation',
@@ -72,9 +72,9 @@ export const PRE_LOADING_CONFIG: PreloadingConfig = {
* 默认不启用。
*
* @example
- * export const APP_CATCH_KEY_PREFIX = 'ray-template:'
+ * export const APP_CATCH_KEY_PREFIX = 'r-template:'
*
- * 转换后的缓存 key: ray-template:signing。
+ * 转换后的缓存 key: r-template:signing。
*/
export const APP_CATCH_KEY_PREFIX = ''
diff --git a/src/components/base/RChart/src/Chart.tsx b/src/components/base/RChart/src/Chart.tsx
index 9c738aa0..45911264 100644
--- a/src/components/base/RChart/src/Chart.tsx
+++ b/src/components/base/RChart/src/Chart.tsx
@@ -534,7 +534,7 @@ export default defineComponent({
return preset === 'card' ? (