The default background color when setting the background of the pager in elementUI is as follows:
I want to change it to this:
modify the style as follows:
::v-deep {
.el-pagination.is-background .el-pager li:not(.disabled) {
background-color: #fff; // 进行修改未选中背景和字体
// color: #fff;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
background-color: #4f75ff; // 进行修改选中项背景和字体
color: #fff;
}
}