From def0211e95f68ceee209c02bfb5c354c3a1d98d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Thu, 8 Apr 2021 19:53:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0dropdown=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/dropdown.wc | 219 +++++++++++++++++++ src/form/index.js | 1 + src/form/input.wc | 2 +- src/form/select.wc | 101 +++------ src/form/textarea.wc | 503 +++++++++---------------------------------- src/meditor/index.wc | 2 +- 6 files changed, 358 insertions(+), 470 deletions(-) create mode 100644 src/form/dropdown.wc diff --git a/src/form/dropdown.wc b/src/form/dropdown.wc new file mode 100644 index 0000000..a7c5e40 --- /dev/null +++ b/src/form/dropdown.wc @@ -0,0 +1,219 @@ + + + + + diff --git a/src/form/index.js b/src/form/index.js index 6a10729..2598330 100644 --- a/src/form/index.js +++ b/src/form/index.js @@ -8,4 +8,5 @@ import './radio' import './checkbox' import './switch' import './select' +import './dropdown' import './star' diff --git a/src/form/input.wc b/src/form/input.wc index 737b1dd..f964da4 100644 --- a/src/form/input.wc +++ b/src/form/input.wc @@ -51,8 +51,8 @@ li { padding: 0 8px; border: 0; border-radius: inherit; - color: inherit; font: inherit; + color: inherit; background: none; outline: none; box-shadow: none; diff --git a/src/form/select.wc b/src/form/select.wc index 9754253..d4af4a4 100644 --- a/src/form/select.wc +++ b/src/form/select.wc @@ -1,9 +1,7 @@