diff --git a/src/views/expelled/announcement/index.vue b/src/views/expelled/announcement/index.vue index ca3ffca..50422c5 100644 --- a/src/views/expelled/announcement/index.vue +++ b/src/views/expelled/announcement/index.vue @@ -26,49 +26,45 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - 第 {{ pageParam.current }} 页/共 {{ (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.size - 1) / pageParam.size) : 1) }} 页 - - - + + + + 第 {{ pageParam.current }} 页/共 {{ (pageParam.total !== 0 ? parseInt((pageParam.total + pageParam.size - 1) / pageParam.size) : 1) }} 页 + + @@ -160,7 +156,7 @@ export default { diff --git a/src/views/expelled/notice/index.vue b/src/views/expelled/notice/index.vue index 8478fb8..d318ce2 100644 --- a/src/views/expelled/notice/index.vue +++ b/src/views/expelled/notice/index.vue @@ -93,10 +93,15 @@ export default { } }, tableProps: { - headerCellStyle: { background: '#F5F5F5!important', color: '#333333!important', padding: '0px' }, + headerCellStyle: { background: '#8cc3fb!important', color: '#fff!important', padding: '0px' }, headerRowStyle: { height: '48px' }, rowStyle: { height: '48px' }, - cellStyle: { padding: '16px 0', color: '#333' } + cellStyle: { padding: '16px 0', color: '#333' }, + rowClassName: (row) => { + if (row.rowIndex % 2 === 1) { + return 'warning-row' + } + } } }, buttons: [ @@ -381,4 +386,9 @@ export default {