From aa8a72464d4d024fb2bd73f436bfc0ccca095259 Mon Sep 17 00:00:00 2001 From: cc500 <2014434568@qq.com> Date: Thu, 29 May 2025 10:53:16 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=20=E4=BF=AE=E6=94=B9drawer=20=E5=86=85?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/theme.scss | 4 ++-- src/components/Upload/index.vue | 19 +++++++++++++++---- src/views/api/index.vue | 15 ++++++++++++--- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/src/assets/styles/theme.scss b/src/assets/styles/theme.scss index dcc89c7..509d525 100644 --- a/src/assets/styles/theme.scss +++ b/src/assets/styles/theme.scss @@ -59,7 +59,7 @@ body[theme='dark'] { rgba(28, 57, 81, 0.929) 98.202% ); --o-api-description: rgb(211, 220, 233); - --el-drawer-padding-primary: 24px; + --el-drawer-padding-primary: 24px !important; // 这里是不同种类的debug图标 --flow-debug-default: url('../../assets/svgs/dark_debug.svg'); --flow-debug-hover: url('../../assets/svgs/dark_debug_hover.svg'); @@ -140,6 +140,7 @@ body[theme='light'] { --expand-fold-active: url('../../assets/svgs/light_expand_fold_active.svg'); --o-scrollbar-thumb: #c3cedf; --o-apiBox-bg: rgb(253, 254, 255); + --el-drawer-padding-primary: 24px !important; } body { @@ -149,7 +150,6 @@ body { background-color: #6395fd !important; font-weight: normal !important; } - --el-drawer-padding-primary: 24px; // 悬浮优先级高于选中 .el-select-dropdown__item:hover { background-color: #7aa5ff !important; diff --git a/src/components/Upload/index.vue b/src/components/Upload/index.vue index 189c888..78db7cf 100644 --- a/src/components/Upload/index.vue +++ b/src/components/Upload/index.vue @@ -325,14 +325,14 @@ onMounted(() => { :name="item.name" >
@@ -371,6 +371,11 @@ onMounted(() => { -