文章详情
element-ui 修改table 行的颜色
发布时间:2021-10-21
沉默小管-技术博客
element-ui 修改table 行的颜色
639
1
原文地址:
https://www.php-china.com//detail/44
H1
H2
H3
H4
H5
H6
<p> <span style="line-height:1;">方法一:</span> </p> <p> <span style="color:#000000;line-height:1;">.</span><span style="color:#000000;line-height:1;">el-table </span><span style="color:#000000;line-height:1;">th, </span><span style="color:#000000;line-height:1;">.</span><span style="color:#000000;line-height:1;">el-table</span><span style="color:#000000;line-height:1;">>>></span><span style="color:#000000;line-height:1;">tr</span><span style="color:#000000;line-height:1;">:</span><span style="color:#000000;line-height:1;">nth-child</span><span style="color:#000000;line-height:1;">(</span><span style="color:#000000;line-height:1;">even</span><span style="color:#000000;line-height:1;">) {</span><br /> <span style="color:#000000;line-height:1;">background</span><span style="color:#000000;line-height:1;">:</span><span style="color:#000000;line-height:1;">#F5F7FA </span><span style="color:#000000;font-weight:bold;line-height:1;">!important</span><span style="color:#cc7832;"><span style="color:#000000;line-height:1;">;</span><br /> </span><span style="color:#000000;line-height:1;">}</span> </p> <p> <span style="line-height:1;">方法二:</span> </p> <p> <a href="https://element.eleme.cn/2.0/#/zh-CN/component/table"><span style="line-height:1;">https://element.eleme.cn/2.0/#/zh-CN/component/table</span></a> </p>
上一篇
下一篇
收藏
支持
标签:
特别推荐
作者推荐
热门推荐
最新文章
统计信息
联系站长
加入技术群
日志总数:92篇
网站运行:1620天
累计访客:16356
热门文章
1. PHP基础概念
2. redis:ERR AUTH <password> called without any password configured for the default user解决办法
3. PHP的语言结构之包含文件
4. PHP中public,private,protected的区别
5. PHP魔术方法总结
6. php如何转换json格式中的中文
7. PHP7新特性(常用)
8. PHP7上项目报错A non-numeric value encountered解决办法
9. 运行golang出现invalid memory address or nil pointer dereference错误
10. git常用命令集合