提交 012020e5 作者: 无木

style(notice-list): adjust style

去除通知列表组件标题和内容部分多余的margin-bottom,禁止自动隐藏不可用的翻页按钮
上级 aeebfc4d
<template> <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"> <template v-for="item in getData" :key="item.id">
<a-list-item class="list-item"> <a-list-item class="list-item">
<a-list-item-meta> <a-list-item-meta>
...@@ -115,6 +115,7 @@ ...@@ -115,6 +115,7 @@
return { return {
total: list.length, total: list.length,
pageSize, pageSize,
//size: 'small',
current: unref(current), current: unref(current),
onChange(page) { onChange(page) {
current.value = page; current.value = page;
...@@ -142,6 +143,10 @@ ...@@ -142,6 +143,10 @@
display: none; display: none;
} }
::v-deep(.ant-pagination-disabled) {
display: inline-block !important;
}
&-item { &-item {
padding: 6px; padding: 6px;
overflow: hidden; overflow: hidden;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论