From 6e02ae14a0585a7e2178a8d5121485b8a5b0b808 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 7 Jun 2023 11:40:26 +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 ++++++++++++------- .../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 aa9cc62..7d1b4c5 100644 --- a/src/layout/components/search/components/SearchModal.vue +++ b/src/layout/components/search/components/SearchModal.vue @@ -144,6 +144,7 @@ onKeyStroke("ArrowDown", handleDown); :style="{ borderRadius: '6px' }" + append-to-body @opened="inputRef.focus()" @closed="inputRef.blur()" >