.el-table__expand-icon{
position: relative;
width: 80px;
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
.el-icon-arrow-right {
width: 80px;
}
/*2.展开按钮未点击的样式是加号带边框*/
.el-table__expand-icon .el-icon-arrow-right:before{
content: "展开";
width: 60px;
display: inline-block;
position: absolute;
left: -28px;
font-weight: 400;
font-size: 14px;
color: #3355FF;
}
/*2.按钮已点击展开之后的样式是减号带边框*/
.el-table__expand-icon--expanded .el-icon-arrow-right:before{
content: "收起";
}
网友评论