From e9b5cc5f301e53770c7ed83af131fb99763a645a Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 8 May 2021 17:54:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=BF=AE=E5=A4=8Dtr?= =?UTF-8?q?ee=E7=BB=84=E4=BB=B6=E7=9A=84=E3=80=90=E6=8A=98=E5=8F=A0/?= =?UTF-8?q?=E5=B1=95=E5=BC=80=E3=80=91=E5=9B=BE=E6=A0=87=E5=9C=A8=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=97=B6=E4=B8=8D=E5=88=87=E6=8D=A2=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在使用tree组件时,点击【折叠/展开】图标时,没有如预期切换状态。 在layui 2.5.6的版本没有问题,在layui 2.6.5的版本有问题,通过查看源码,发现这里多了个 ">" 选择器。 --- src/css/layui.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/css/layui.css b/src/css/layui.css index 03eca1e..37ae860 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -1390,7 +1390,7 @@ body .layui-util-face .layui-layer-content{padding:0; background-color:#fff; co .layui-tree-icon .layui-icon{font-size: 12px; color: #666;} .layui-tree-iconArrow{padding: 0 5px;} .layui-tree-iconArrow:after{content: ""; position: absolute; left: 4px; top: 3px; z-index: 100; width: 0; height: 0; border-width: 5px; border-style: solid; border-color: transparent transparent transparent #c0c4cc; transition: 0.5s;} -.layui-tree-spread>.layui-tree-entry>.layui-tree-iconClick>.layui-tree-iconArrow:after{transform: rotate(90deg) translate(3px, 4px);} +.layui-tree-spread>.layui-tree-entry .layui-tree-iconClick>.layui-tree-iconArrow:after{transform: rotate(90deg) translate(3px, 4px);} .layui-tree-txt{display: inline-block; vertical-align: middle; color: #555;} .layui-tree-search{margin-bottom: 15px; color: #666;} .layui-tree-btnGroup{visibility: hidden; display: inline-block; vertical-align: middle; position: relative;}