From e0f28acdc4c364ebdc277c13ed20f25d36724cc6 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 7 Jun 2023 11:43:41 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=90=8C=E6=AD=A5=E5=AE=8C=E6=95=B4?= =?UTF-8?q?=E7=89=88=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/notice/index.vue | 40 ++++++++++++++-------- .../components/search/components/SearchModal.vue | 1 + 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index 7d3ee76..3a37720 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -22,19 +22,31 @@ notices.value.map(v => (noticesNum.value += v.list.length)); @@ -57,8 +69,6 @@ notices.value.map(v => (noticesNum.value += v.list.length)); } .dropdown-tabs { - width: 330px; - .noticeList-container { padding: 15px 24px 0; } diff --git a/src/layout/components/search/components/SearchModal.vue b/src/layout/components/search/components/SearchModal.vue index f378381..1af85e6 100644 --- a/src/layout/components/search/components/SearchModal.vue +++ b/src/layout/components/search/components/SearchModal.vue @@ -145,6 +145,7 @@ onKeyStroke("ArrowDown", handleDown); :style="{ borderRadius: '6px' }" + append-to-body @opened="inputRef.focus()" @closed="inputRef.blur()" >