style: Material Design - 扁平化分页组件
This commit is contained in:
@@ -368,15 +368,33 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 分页样式优化
|
// 分页样式优化 - Material Design 风格
|
||||||
:deep(.el-pagination) {
|
:deep(.el-pagination) {
|
||||||
margin-top: 16px;
|
margin-top: 24px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
||||||
|
// 扁平化按钮
|
||||||
|
.btn-prev,
|
||||||
|
.btn-next,
|
||||||
|
.el-pager li {
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-pager li.active {
|
||||||
|
background-color: #1890ff;
|
||||||
|
color: white;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
.el-pagination__total,
|
.el-pagination__total,
|
||||||
.el-pagination__sizes,
|
.el-pagination__sizes,
|
||||||
.el-pagination__jump {
|
.el-pagination__jump {
|
||||||
color: #606266;
|
color: #666;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user