From 61ae8ba350beef81b49c4cd415783001398cfcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E5=87=A1?= <2508779859@qq.com> Date: Thu, 27 Mar 2025 00:01:44 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=F0=9F=8C=88=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E9=80=82=E9=85=8D=EF=BC=8C=E8=BF=9B=E5=BA=A6=E6=9D=A1?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E8=B7=9F=E9=9A=8F=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .stylelintrc.cjs | 8 +- src/layout/components/Settings/index.vue | 2 +- src/styles/index.scss | 11 +- src/views/error/401.vue | 84 ++----------- src/views/error/404.vue | 149 +++++++---------------- 5 files changed, 63 insertions(+), 191 deletions(-) diff --git a/.stylelintrc.cjs b/.stylelintrc.cjs index 62bd59cf..5eb86831 100644 --- a/.stylelintrc.cjs +++ b/.stylelintrc.cjs @@ -32,11 +32,7 @@ module.exports = { }, ], // 允许使用未知伪元素 - "at-rule-no-unknown": [ - true, - { - ignoreAtRules: ["apply", "use", "forward", "extend"], - }, - ], + "at-rule-no-unknown": null, // 禁用默认的未知 at-rule 检查 + "scss/at-rule-no-unknown": true, // 启用 SCSS 特定的 at-rule 检查 }, }; diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue index f3fe8436..b86b8994 100644 --- a/src/layout/components/Settings/index.vue +++ b/src/layout/components/Settings/index.vue @@ -74,9 +74,9 @@ import { useSettingsStore, usePermissionStore, useAppStore } from "@/store"; // 颜色预设 const colorPresets = [ "#4080FF", + "#626AEF", "#ff4500", "#ff8c00", - "#90ee90", "#00ced1", "#1e90ff", "#c71585", diff --git a/src/styles/index.scss b/src/styles/index.scss index 349c84fd..654335ac 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -17,12 +17,7 @@ padding: calc(var(--el-card-padding) - 8px) var(--el-card-padding); } -.link-type, -.link-type:focus { - color: #337ab7; - cursor: pointer; - - &:hover { - color: rgb(32 160 255); - } +// 进度条颜色 +#nprogress .bar { + background-color: var(--el-color-primary); } diff --git a/src/views/error/401.vue b/src/views/error/401.vue index cb7231d9..e91f37bb 100644 --- a/src/views/error/401.vue +++ b/src/views/error/401.vue @@ -1,85 +1,25 @@ - - diff --git a/src/views/error/404.vue b/src/views/error/404.vue index efd7e393..28138d5e 100644 --- a/src/views/error/404.vue +++ b/src/views/error/404.vue @@ -1,123 +1,64 @@