From ee8ec9eacfbfe1c5dc3a842da126dbaf5d54b126 Mon Sep 17 00:00:00 2001 From: wuzhican <38750781+wuzhican@users.noreply.github.com> Date: Tue, 31 Oct 2023 14:03:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dnotice=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E7=BB=91=E5=AE=9A=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=20(#3218)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 修复notice样式绑定路径错误 * fix: 修改notice的style嵌套结构以匹配template结构 --------- Co-authored-by: wuzhican <3245076860@qq.com> --- .../header/components/notify/NoticeList.vue | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/layouts/default/header/components/notify/NoticeList.vue b/src/layouts/default/header/components/notify/NoticeList.vue index 47e1e245..28645fce 100644 --- a/src/layouts/default/header/components/notify/NoticeList.vue +++ b/src/layouts/default/header/components/notify/NoticeList.vue @@ -162,7 +162,7 @@ display: inline-block !important; } - &-item { + .list-item { padding: 6px; overflow: hidden; transition: all 0.3s; @@ -182,21 +182,21 @@ margin-right: 0; } } + } - .avatar { - margin-top: 4px; - } + .avatar { + margin-top: 4px; + } - .description { - font-size: 12px; - line-height: 18px; - } + .description { + font-size: 12px; + line-height: 18px; + } - .datetime { - margin-top: 4px; - font-size: 12px; - line-height: 18px; - } + .datetime { + margin-top: 4px; + font-size: 12px; + line-height: 18px; } } }