From 861a561e425a0c7f1b53f2dce5ae42a9044c4e52 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 22 Mar 2023 15:38:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90markd=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=92=8Ccode=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 4 +- src/form/checkbox.js | 1 - src/form/radio.js | 1 - src/form/switch.js | 210 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 212 insertions(+), 4 deletions(-) create mode 100644 src/form/switch.js diff --git a/Readme.md b/Readme.md index f9f0609..64c5892 100644 --- a/Readme.md +++ b/Readme.md @@ -35,14 +35,14 @@ - [ ] `wc-switch`表单组件-开关 - [x] `wc-icon`图标组件 - [ ] `wc-layer` 弹层组件 -- [ ] `wc-markd`markdown组件 +- [x] `wc-markd`markdown组件 - [ ] `wc-meditor`md文本编辑器 - [ ] `wc-neditor`富文本编辑器 - [ ] `wc-pager`分页组件 - [ ] `wc-colorpicker`颜色选择器 - [ ] `wc-datepicker`日期选择器 - [ ] `wc-timepicker`时间选择器 -- [ ] `wc-code`代码高亮插件 +- [x] `wc-code`代码高亮插件 - [ ] `wc-scroll`滚动组件 - [ ] `wc-silder`滑块组件 - [ ] `wc-progress`进度条组件 diff --git a/src/form/checkbox.js b/src/form/checkbox.js index 16dfbe5..5cc1012 100644 --- a/src/form/checkbox.js +++ b/src/form/checkbox.js @@ -253,7 +253,6 @@ class CheckboxItem extends Component { render() { return html`