From 012020e51c8c71c8cc70d4b630bf4a056e5a2451 Mon Sep 17 00:00:00 2001 From: 无木 <netfan@foxmail.com> Date: Mon, 12 Jul 2021 22:33:28 +0800 Subject: [PATCH] style(notice-list): adjust style --- src/layouts/default/header/components/notify/NoticeList.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/layouts/default/header/components/notify/NoticeList.vue b/src/layouts/default/header/components/notify/NoticeList.vue index 4944495..1a7c87b 100644 --- a/src/layouts/default/header/components/notify/NoticeList.vue +++ b/src/layouts/default/header/components/notify/NoticeList.vue @@ -1,5 +1,5 @@ <template> - <a-list :class="prefixCls" bordered :pagination="getPagination" size="small"> + <a-list :class="prefixCls" bordered :pagination="getPagination"> <template v-for="item in getData" :key="item.id"> <a-list-item class="list-item"> <a-list-item-meta> @@ -115,6 +115,7 @@ return { total: list.length, pageSize, + //size: 'small', current: unref(current), onChange(page) { current.value = page; @@ -142,6 +143,10 @@ display: none; } + ::v-deep(.ant-pagination-disabled) { + display: inline-block !important; + } + &-item { padding: 6px; overflow: hidden; -- libgit2 0.23.3