From 7975890b445e17d6a056b393022e7a160353007d Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Mon, 25 Jul 2022 16:48:37 +0800 Subject: [PATCH] refactor: basic components styles Signed-off-by: Ryan Wang --- .../components/src/components/alert/Alert.vue | 69 ++++++++-------- .../src/components/button/Button.vue | 80 ++++++++++--------- .../components/src/components/card/Card.vue | 22 ++--- .../src/components/checkbox/CheckBox.vue | 8 +- .../components/src/components/input/Input.vue | 56 ++++++------- .../src/components/menu/MenuItem.vue | 20 ++--- .../components/src/components/modal/Modal.vue | 67 +++++++++------- .../components/src/components/radio/Radio.vue | 20 ++--- .../src/components/select/Select.vue | 54 ++++++------- .../components/src/components/space/Space.vue | 4 +- .../src/components/switch/Switch.vue | 52 ++++++------ .../components/src/components/tabs/Tabbar.vue | 72 ++++++++--------- .../components/src/components/tag/Tag.vue | 37 +++++---- .../src/components/textarea/Textarea.vue | 35 ++++---- 14 files changed, 306 insertions(+), 290 deletions(-) diff --git a/packages/components/src/components/alert/Alert.vue b/packages/components/src/components/alert/Alert.vue index 2f6d8fd6..317b69d7 100644 --- a/packages/components/src/components/alert/Alert.vue +++ b/packages/components/src/components/alert/Alert.vue @@ -74,57 +74,58 @@ const handleClose = () => { diff --git a/packages/components/src/components/input/Input.vue b/packages/components/src/components/input/Input.vue index 55527fc3..3790435b 100644 --- a/packages/components/src/components/input/Input.vue +++ b/packages/components/src/components/input/Input.vue @@ -52,21 +52,21 @@ function handleInput(e: Event) { diff --git a/packages/components/src/components/select/Select.vue b/packages/components/src/components/select/Select.vue index c229b8c0..106d4755 100644 --- a/packages/components/src/components/select/Select.vue +++ b/packages/components/src/components/select/Select.vue @@ -48,21 +48,21 @@ function handleChange(e: Event) {