From 2973f0483310bee31551fcfdf32db5327f560f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Mon, 13 Feb 2023 13:05:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20table=20=E5=81=B6=E6=95=B0?= =?UTF-8?q?=E8=A1=8C=E5=8F=8A=E8=A7=A6=E5=8F=91=E4=BA=8B=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E8=83=8C=E6=99=AF=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/layui.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/css/layui.css b/src/css/layui.css index 53d06cab..e4a2d4b0 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -936,9 +936,10 @@ a cite{font-style: normal; *cursor:pointer;} .layui-table-patch{} .layui-table-mend{background-color: #fff;} .layui-table-hover, -.layui-table-click{background-color: #FAFAFA;} +.layui-table-click, +.layui-table[lay-even] tbody tr:nth-child(even){background-color: #f8f8f8;} + -.layui-table[lay-even] tr:nth-child(even){background-color: #f2f2f2;} .layui-table th, .layui-table td, @@ -1040,7 +1041,6 @@ a cite{font-style: normal; *cursor:pointer;} .layui-table-body{position: relative; overflow: auto; margin-right: -1px; margin-bottom: -1px;} .layui-table-body .layui-none{line-height: 26px; padding: 30px 15px; text-align: center; color: #999;} -.layui-table-body .layui-table[lay-even] tr:nth-child(even){background-color: #f2f2f2;} .layui-table-fixed{position: absolute; left: 0; top: 0; z-index: 101;} .layui-table-fixed .layui-table-body{overflow: hidden;} .layui-table-fixed-l{box-shadow: 1px 0 8px rgba(0,0,0,.08);}