当前位置:网站首页>el-pagination左右箭头替换成文字上一页和下一页
el-pagination左右箭头替换成文字上一页和下一页
2022-08-05 05:14:00 【xx820702】
<el-pagination background class="pagination"
layout="prev, pager, next"
:total="100"
next-text="下一页" prev-text="上一页">
</el-pagination>
<style scoped lang="scss">
.pagination{
display: flex;
justify-content: center; //居中
margin-top: 20px;
//float: left;居左
//float: right;居右
}
::v-deep .el-pagination.is-background .btn-prev {
background: #ffffff !important;
border: 1px solid #f4f4f5;
width: 70px;
}
::v-deep .el-pagination.is-background .btn-next{
background: #ffffff !important;
border: 1px solid #f4f4f5;
width: 70px;
}
::v-deep .el-pagination.is-background .el-pager li{
color: black;
border: 1px solid #f4f4f5;
}
::v-deep .el-dialog__body{
min-height: 300px;
}
::v-deep .el-dialog{
max-width: 400px;
}
::v-deep .el-dialog__header{
border-bottom: 2px solid #cdcdd1;
font-size: 20px;
position: relative;
display: flex;
align-items: center;
}
::v-deep .el-pagination.is-background .btn-prev, ::v-deep .el-pagination.is-background .btn-next,::v-deep .el-pagination.is-background .el-pager li{
background-color:transparent;
margin:0;
} }
</style>
边栏推荐
猜你喜欢
随机推荐
HQL语句执行过程
Flink 状态与容错 ( state 和 Fault Tolerance)
实现跨域的几种方式
Algorithms - ones and zeros (Kotlin)
Error creating bean with name 'configDataContextRefresher' defined in class path resource
flink实例开发-batch批处理实例
Returned object not currently part of this pool
Lecture 2 Linear Model Linear Model
Matplotlib(三)—— 实践
Redux
[Redis] Resid的删除策略
coppercam primer [6]
【过一下8】全连接神经网络 视频 笔记
「PHP8入门指南」PHP简明介绍
CAP+BASE
【Untitled】
解决端口占用问题
[Student Graduation Project] Design and Implementation of the Website Based on the Web Student Information Management System (13 pages)
[Decoding tools] Some online tools for Bitcoin
【过一下3】卷积&图像噪音&边缘&纹理