Element分页组件自定义样式
element
A Vue.js 2.0 UI Toolkit for Web
项目地址:https://gitcode.com/gh_mirrors/eleme/element
免费下载资源
·
样式效果
页面代码
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page="page.page"
:page-sizes="[10, 20, 30, 40]"
:page-size="page.size"
layout="total, sizes, prev, pager, next, jumper"
:total="page.total">
</el-pagination>
CSS样式
<style>
.el-pagination,.el-pagination__total,.el-pagination__jump,.el-pager li.btn-quicknext,.el-select-dropdown__item{
color: #fff !important;
}
.el-pagination .btn-next, .el-pagination .btn-prev{
background: center center no-repeat rgba(0,0,0,.3) !important;
color: #fff !important;
}
.el-pager li{
background: rgba(0,0,0,.3) !important;
}
.el-input__inner{
color: #fff !important;
border: 1px solid #0095F4 !important;
background-color: rgba(0,0,0,.3) !important
}
.el-select-dropdown{
border: 1px solid #0095F4 !important;
background: rgba(0,0,0,.3) !important
}
.el-select-dropdown__item.hover, .el-select-dropdown__item:hover{
background: #0095F4 !important
}
</style>
GitHub 加速计划 / eleme / element
54.06 K
14.63 K
下载
A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:3 个月前 )
c345bb45
7 个月前
a07f3a59
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update table.md
* Update transition.md
* Update popover.md 7 个月前
更多推荐
已为社区贡献2条内容
所有评论(0)