样式效果

分页组件样式

页面代码

<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 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐