From 16c0047620bb48724b3328f35718af44ca0a84c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sat, 5 Nov 2022 21:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20=E4=BC=98=E5=8C=96=20co?= =?UTF-8?q?llapse=20=E6=8A=98=E5=8F=A0=E9=9D=A2=E6=9D=BF=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/collapse/index.less | 2 +- package/component/src/component/collapseItem/index.vue | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package/component/src/component/collapse/index.less b/package/component/src/component/collapse/index.less index 880c17fc..7dea77cf 100644 --- a/package/component/src/component/collapse/index.less +++ b/package/component/src/component/collapse/index.less @@ -33,8 +33,8 @@ } .layui-colla-icon { - position: absolute; left: 15px; top: 0; font-size: 14px; + position: absolute; } \ No newline at end of file diff --git a/package/component/src/component/collapseItem/index.vue b/package/component/src/component/collapseItem/index.vue index 421132a3..c97a942b 100644 --- a/package/component/src/component/collapseItem/index.vue +++ b/package/component/src/component/collapseItem/index.vue @@ -55,10 +55,8 @@ const showHandle = function () { :class="['layui-colla-title', { 'layui-disabled': disabled }]" @click="showHandle" > - {{ title }} - - {{ isShow ? "" : "" }} - + {{ title }} {{ collapseTransition }} +