From ec3408d343c70709fc2b67e21ae3d12e61cc6e81 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Wed, 25 May 2022 21:53:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8F=90=E5=8F=96=20css=20=E5=8F=98?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/layout/components/AppMain.vue | 10 +++--- src/layout/components/BreadCrumb/index.vue | 2 +- src/layout/components/NavigationBar/index.vue | 2 +- src/layout/components/RightPanel/index.vue | 2 +- src/layout/components/Sidebar/SidebarLogo.vue | 16 ++------- src/layout/components/Sidebar/index.vue | 24 +++++++------ src/layout/components/TagsView/index.vue | 26 +++++++------- src/layout/index.vue | 19 +++++------ src/styles/index.scss | 12 ++++--- src/styles/variables.css | 34 +++++++++++++++++++ src/utils/index.ts | 12 +++++++ 12 files changed, 101 insertions(+), 60 deletions(-) create mode 100644 src/styles/variables.css diff --git a/package.json b/package.json index 53fceaa..58de608 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "v3-admin-vite", - "version": "3.1.7", + "version": "3.1.8", "description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.", "author": { "name": "pany", diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index 79c100c..7aa487d 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -22,26 +22,24 @@ const key = computed(() => { diff --git a/src/layout/components/BreadCrumb/index.vue b/src/layout/components/BreadCrumb/index.vue index 783fb9d..7451edd 100644 --- a/src/layout/components/BreadCrumb/index.vue +++ b/src/layout/components/BreadCrumb/index.vue @@ -73,7 +73,7 @@ onBeforeMount(() => { .app-breadcrumb.el-breadcrumb { display: inline-block; font-size: 14px; - line-height: 50px; + line-height: var(--v3-navigationbar-height); margin-left: 8px; .no-redirect { color: #97a8be; diff --git a/src/layout/components/NavigationBar/index.vue b/src/layout/components/NavigationBar/index.vue index f46aaf0..7f3abdc 100644 --- a/src/layout/components/NavigationBar/index.vue +++ b/src/layout/components/NavigationBar/index.vue @@ -82,7 +82,7 @@ const state = reactive({