pagination更换成flex布局

This commit is contained in:
RuoYi 2025-03-01 14:38:00 +08:00
parent 094e300939
commit ca5ae82f9e
3 changed files with 3 additions and 17 deletions

View File

@ -131,10 +131,6 @@ aside {
position: relative;
}
.pagination-container {
margin-top: 30px;
}
.text-center {
text-align: center
}

View File

@ -102,21 +102,12 @@
/** 表格布局 **/
.pagination-container {
position: relative;
height: 25px;
margin-bottom: 10px;
margin-top: 15px;
padding: 10px 20px !important;
display: flex;
justify-content: flex-end;
margin-top: 20px;
background-color: transparent !important;
}
/* 分页器定位 */
.pagination-container .el-pagination {
position: absolute;
right: 0;
top: 0;
}
/* 弹窗中的分页器 */
.el-dialog .pagination-container {
position: static !important;

View File

@ -97,7 +97,6 @@ function handleCurrentChange(val) {
<style scoped>
.pagination-container {
background: #fff;
padding: 32px 16px;
}
.pagination-container.hidden {
display: none;