From 05f379c68025bb68153156d77eaaedb0fb8b49ed 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: Thu, 18 Nov 2021 13:13:04 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20timeline=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/zh-CN/components/switch.md | 25 +------- docs/docs/zh-CN/guide/changelog.md | 2 +- docs/src/assets/css/markdown.css | 9 --- .../resource/icons.ts => font/iconfont.ts} | 0 src/module/iconPicker/index.vue | 4 +- src/module/input/index.less | 0 src/module/input/index.vue | 42 ++++++------ src/module/switch/index.ts | 2 +- src/module/switch/index.vue | 4 +- src/module/tab/index.vue | 2 - src/module/textarea/index.vue | 64 +++++++++++-------- 11 files changed, 65 insertions(+), 89 deletions(-) rename src/{module/resource/icons.ts => font/iconfont.ts} (100%) create mode 100644 src/module/input/index.less diff --git a/docs/docs/zh-CN/components/switch.md b/docs/docs/zh-CN/components/switch.md index e90d9122..3ee8a871 100644 --- a/docs/docs/zh-CN/components/switch.md +++ b/docs/docs/zh-CN/components/switch.md @@ -3,29 +3,6 @@ ::: demo - - - - -::: - -::: title 基础使用 -::: - -::: demo - @@ -36,7 +13,7 @@ import { ref } from 'vue' export default { setup() { - const active1 = ref(true); + const active1 = ref(false); return { active1 diff --git a/docs/docs/zh-CN/guide/changelog.md b/docs/docs/zh-CN/guide/changelog.md index 88d00a73..32548fc3 100644 --- a/docs/docs/zh-CN/guide/changelog.md +++ b/docs/docs/zh-CN/guide/changelog.md @@ -2,7 +2,7 @@ ::: - + diff --git a/docs/src/assets/css/markdown.css b/docs/src/assets/css/markdown.css index 21d6ee25..72e2403f 100644 --- a/docs/src/assets/css/markdown.css +++ b/docs/src/assets/css/markdown.css @@ -52,15 +52,6 @@ h1 { } } -h3 { - margin-top: 1.5rem; -} - -h3 { - margin-top: 2rem; - font-size: 1.35rem; -} - h4 { font-size: 1.15rem; } diff --git a/src/module/resource/icons.ts b/src/font/iconfont.ts similarity index 100% rename from src/module/resource/icons.ts rename to src/font/iconfont.ts diff --git a/src/module/iconPicker/index.vue b/src/module/iconPicker/index.vue index c7f7aebb..e9e805a5 100644 --- a/src/module/iconPicker/index.vue +++ b/src/module/iconPicker/index.vue @@ -82,8 +82,8 @@ diff --git a/src/module/switch/index.ts b/src/module/switch/index.ts index c9dd3752..3261036c 100644 --- a/src/module/switch/index.ts +++ b/src/module/switch/index.ts @@ -6,4 +6,4 @@ Component.install = (app: App) => { app.component(Component.name || 'LaySwitch', Component) } -export default Component as IDefineComponent +export default Component as IDefineComponent \ No newline at end of file diff --git a/src/module/switch/index.vue b/src/module/switch/index.vue index 00faa687..1b8d966e 100644 --- a/src/module/switch/index.vue +++ b/src/module/switch/index.vue @@ -5,7 +5,7 @@ export default { + + +