elementui 修改 el

编程入门 行业动态 更新时间:2024-10-11 13:22:31

<a href=https://www.elefans.com/category/jswz/34/1765722.html style=elementui 修改 el"/>

elementui 修改 el

解决:
加入以下代码
.el-table::before {
z-index: inherit;
}
如果使用了scoped,需要加上stylus /deep/ (其他的css语言有不一样的写法)
或是全局加入
body .el-table::before {
z-index: inherit;
}
其他背景色,表格边框颜色修改

	//表头/deep/.el-table th {background-color: #162968 ;color: #fff;}//表格单元格/deep/ .el-table tr {background-color: #24315c;color: #fff;}
//鼠标悬浮行颜色效果/deep/ .el-table--enable-row-hover .el-table__body tr:hover>td {background-color: rgba(22, 41, 104, 0.6);}
//表头,表格单元下边框颜色/deep/ .el-table td, /deep/ .el-table th.is-leaf {border-bottom: 1px solid #2c3a6a;}
//没有数据时,背景色/deep/ .el-table__empty-block {background-color: #24315c;}

更多推荐

elementui 修改 el

本文发布于:2023-12-04 09:17:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1660457.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:elementui   el

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!