From 87c3740575e4a50c89a4ba2590be2b1581341a94 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: Sun, 8 May 2022 00:42:35 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B:=20=E4=BF=AE=E5=A4=8D=20radio=20?= =?UTF-8?q?=E4=B8=8E=20checkbox=20=E7=BB=84=E4=BB=B6=E6=97=A0=20from=20?= =?UTF-8?q?=E5=8C=85=E8=A3=B9=E6=97=B6=E9=9A=90=E8=97=8F=E5=8E=9F=E7=94=9F?= =?UTF-8?q?=E5=85=83=E7=B4=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/component/checkbox/index.less | 4 ++++ .../component/src/component/checkbox/index.vue | 2 +- .../component/src/component/radio/index.less | 4 ++++ .../component/src/component/radio/index.vue | 2 +- .../component/src/component/select/index.less | 1 - package/component/src/theme/public.less | 6 ------ .../src/document/zh-CN/components/checkbox.md | 12 ------------ .../src/document/zh-CN/components/input.md | 18 +++++++++--------- .../src/document/zh-CN/components/radio.md | 6 ------ .../src/document/zh-CN/components/switch.md | 5 ++--- .../src/document/zh-CN/guide/changelog.md | 2 ++ 11 files changed, 23 insertions(+), 39 deletions(-) diff --git a/package/component/src/component/checkbox/index.less b/package/component/src/component/checkbox/index.less index fb3ce9c8..f5d3d076 100644 --- a/package/component/src/component/checkbox/index.less +++ b/package/component/src/component/checkbox/index.less @@ -1,3 +1,7 @@ +.layui-checkbox input[type="checkbox"] { + display: none; +} + .layui-form-checkbox { position: relative; height: 30px; diff --git a/package/component/src/component/checkbox/index.vue b/package/component/src/component/checkbox/index.vue index 40472e9e..1194c2bd 100644 --- a/package/component/src/component/checkbox/index.vue +++ b/package/component/src/component/checkbox/index.vue @@ -94,7 +94,7 @@ const handleClick = function () {