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,6 +60,7 @@ | ||
| 60 | showQuickJumper: true, | 60 | showQuickJumper: true, |
| 61 | pageSize, | 61 | pageSize, |
| 62 | current: page, | 62 | current: page, |
| 63 | + size: 'small', | ||
| 63 | total, | 64 | total, |
| 64 | showTotal: (total) => `总 ${total} 条`, | 65 | showTotal: (total) => `总 ${total} 条`, |
| 65 | onChange: pageChange, | 66 | onChange: pageChange, |
| @@ -216,6 +217,7 @@ | @@ -216,6 +217,7 @@ | ||
| 216 | :pagination="paginationProp" | 217 | :pagination="paginationProp" |
| 217 | :data-source="dataBoardList" | 218 | :data-source="dataBoardList" |
| 218 | :grid="{ gutter: 20, column: 4, xs: 1, sm: 2, md: 2, lg: 3, xl: 3, xxl: 3 }" | 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 | <template #renderItem="{ item }"> | 222 | <template #renderItem="{ item }"> |
| 221 | <ListItem> | 223 | <ListItem> |
| @@ -309,4 +311,9 @@ | @@ -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 | </style> | 319 | </style> |