From c85f0a199507c0464c0d53036956aaba0789e971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Fri, 1 Sep 2023 11:38:13 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8F=B0debuger=E4=BD=8D=E7=BD=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20update=20=E4=BC=98=E5=8C=96=20TopNav=20?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=A0=B7=E5=BC=8F=20fix=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20=E5=B8=83=E5=B1=80=E9=85=8D=E7=BD=AE=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 20 +++++++++++++++++++ package.json | 2 +- src/components/TopNav/index.vue | 14 ++++++++++++- src/layout/components/Navbar.vue | 4 ++-- src/layout/components/TagsView/index.vue | 2 +- .../components/{topBar => TopBar}/search.vue | 0 src/settings.ts | 2 +- src/store/modules/settings.ts | 14 ++++++------- src/views/system/user/profile/index.vue | 7 ++----- vite/plugins/index.ts | 4 ++-- vite/plugins/setup-extend.ts | 5 +++++ vite/plugins/vue-setup-extend.ts | 5 ----- 12 files changed, 54 insertions(+), 25 deletions(-) create mode 100644 LICENSE rename src/layout/components/{topBar => TopBar}/search.vue (100%) create mode 100644 vite/plugins/setup-extend.ts delete mode 100644 vite/plugins/vue-setup-extend.ts diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..32b3071 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2019 RuoYi-Vue-Plus + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/package.json b/package.json index 039083c..2d76393 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "vite": "4.3.1", "vite-plugin-compression": "0.5.1", "vite-plugin-svg-icons": "2.0.1", - "vite-plugin-vue-setup-extend": "^0.4.0", + "unplugin-vue-setup-extend-plus": "0.4.9", "vitest": "^0.29.7", "vue-eslint-parser": "9.1.0", "vue-tsc": "0.35.0" diff --git a/src/components/TopNav/index.vue b/src/components/TopNav/index.vue index 2092415..227fccc 100644 --- a/src/components/TopNav/index.vue +++ b/src/components/TopNav/index.vue @@ -2,7 +2,9 @@ @@ -180,4 +182,14 @@ onMounted(() => { padding: 0 5px !important; margin: 0 10px !important; } + +/* 背景色隐藏 */ +.topmenu-container.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus, .topmenu-container.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover, .topmenu-container.el-menu--horizontal>.el-submenu .el-submenu__title:hover { + background-color: #ffffff !important; +} + +/* 图标右间距 */ +.topmenu-container .svg-icon { + margin-right: 4px; +} diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index d001ea8..3c0e45d 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -58,7 +58,7 @@ {{ $t('navbar.personalCenter') }} - + {{ $t('navbar.layoutSetting') }} @@ -73,7 +73,7 @@