Commit 2585c2d9deded320cde76142a6eaf1b3b0c06bcb
1 parent
27f0abe4
perf: visual board list set pagination background color
Showing
1 changed file
with
7 additions
and
0 deletions
| ... | ... | @@ -60,6 +60,7 @@ |
| 60 | 60 | showQuickJumper: true, |
| 61 | 61 | pageSize, |
| 62 | 62 | current: page, |
| 63 | + size: 'small', | |
| 63 | 64 | total, |
| 64 | 65 | showTotal: (total) => `总 ${total} 条`, |
| 65 | 66 | onChange: pageChange, |
| ... | ... | @@ -216,6 +217,7 @@ |
| 216 | 217 | :pagination="paginationProp" |
| 217 | 218 | :data-source="dataBoardList" |
| 218 | 219 | :grid="{ gutter: 20, column: 4, xs: 1, sm: 2, md: 2, lg: 3, xl: 3, xxl: 3 }" |
| 220 | + class="data-board-list" | |
| 219 | 221 | > |
| 220 | 222 | <template #renderItem="{ item }"> |
| 221 | 223 | <ListItem> |
| ... | ... | @@ -309,4 +311,9 @@ |
| 309 | 311 | } |
| 310 | 312 | } |
| 311 | 313 | } |
| 314 | + | |
| 315 | + .data-board-list:deep(.ant-list-pagination) { | |
| 316 | + padding: 10px; | |
| 317 | + background-color: #fff; | |
| 318 | + } | |
| 312 | 319 | </style> | ... | ... |