From ae5a2a08a5b1676be9e0684e3379e5cdcbbcfbce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Thu, 14 Oct 2021 15:33:11 +0800 Subject: [PATCH] =?UTF-8?q?perf(transfer):=20=E5=88=9D=E6=AD=A5=E9=9B=86?= =?UTF-8?q?=E6=88=90=E7=A9=BF=E6=A2=AD=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/zh-CN/components/checkbox.md | 2 +- src/module/button/index.vue | 2 + src/module/checkbox/index.vue | 4 +- src/module/table/component/checkbox.vue | 5 +- src/module/table/index.vue | 1 - src/module/transfer/component/checkbox.vue | 48 +++++++++ src/module/transfer/index.vue | 109 +++++++++++++++------ 7 files changed, 137 insertions(+), 34 deletions(-) create mode 100644 src/module/transfer/component/checkbox.vue diff --git a/docs/docs/zh-CN/components/checkbox.md b/docs/docs/zh-CN/components/checkbox.md index 11f3f5f9..8e00d365 100644 --- a/docs/docs/zh-CN/components/checkbox.md +++ b/docs/docs/zh-CN/components/checkbox.md @@ -4,7 +4,7 @@ diff --git a/src/module/button/index.vue b/src/module/button/index.vue index 62ceaf55..3ebfa62c 100644 --- a/src/module/button/index.vue +++ b/src/module/button/index.vue @@ -7,6 +7,7 @@ fluid ? 'layui-btn-fluid' : '', radius ? 'layui-btn-radius' : '', border ? 'layui-border-' + border : '', + disabled ? 'layui-btn-disabled': '' ]" > @@ -22,5 +23,6 @@ const props = defineProps<{ fluid?: boolean radius?: boolean border?: string + disabled?: boolean }>() diff --git a/src/module/checkbox/index.vue b/src/module/checkbox/index.vue index 892f579e..de9c6767 100644 --- a/src/module/checkbox/index.vue +++ b/src/module/checkbox/index.vue @@ -16,7 +16,9 @@ \ No newline at end of file diff --git a/src/module/transfer/index.vue b/src/module/transfer/index.vue index 643abc81..d6ee2bed 100644 --- a/src/module/transfer/index.vue +++ b/src/module/transfer/index.vue @@ -4,59 +4,54 @@
- 列表一 + {{ title[0] }}
- + +
- 列表二 + {{ title[1] }}
  • - {{ dataSource.title }} - +
@@ -65,17 +60,23 @@