From e8244c44e1e06b68371c7691895e6ebafd379126 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Thu, 22 Oct 2020 16:44:19 +0800 Subject: [PATCH] docs: remove demo-section --- .../templates/src/demo-button/demo/index.vue | 14 +- src/action-bar/demo/index.vue | 122 +++++---- src/action-sheet/demo/index.vue | 96 ++++--- src/address-edit/demo/index.vue | 30 ++- src/address-list/demo/index.vue | 24 +- src/area/demo/index.vue | 38 ++- src/badge/demo/index.vue | 56 ++--- src/button/demo/index.vue | 128 +++++----- src/calendar/demo/index.vue | 234 +++++++++--------- src/card/demo/index.vue | 102 ++++---- src/cell/demo/index.vue | 130 +++++----- src/checkbox/demo/index.vue | 182 +++++++------- src/circle/demo/index.vue | 122 +++++---- src/col/demo/index.vue | 96 ++++--- src/collapse/demo/index.vue | 114 +++++---- src/contact-card/demo/index.vue | 74 +++--- src/count-down/demo/index.vue | 76 +++--- src/coupon-list/demo/index.vue | 40 ++- src/datetime-picker/demo/index.vue | 152 ++++++------ src/dialog/demo/index.vue | 48 ++-- src/divider/demo/index.vue | 56 ++--- src/dropdown-menu/demo/index.vue | 106 ++++---- src/empty/demo/index.vue | 62 +++-- src/field/demo/index.vue | 22 +- src/form/demo/FieldTypeArea.vue | 24 +- src/form/demo/FieldTypeCalendar.vue | 17 +- src/form/demo/FieldTypeDatetimePicker.vue | 20 +- src/form/demo/FieldTypePicker.vue | 24 +- src/form/demo/index.vue | 8 +- src/grid/demo/index.vue | 143 +++++------ src/icon/demo/index.vue | 164 ++++++------ src/image-preview/demo/index.vue | 64 +++-- src/image/demo/index.vue | 104 ++++---- src/index-bar/demo/index.vue | 50 ++-- src/lazyload/demo/index.vue | 32 ++- src/list/demo/index.vue | 68 +++-- src/loading/demo/index.vue | 46 ++-- src/nav-bar/demo/index.vue | 36 ++- src/notice-bar/demo/index.vue | 74 +++--- src/notify/demo/index.vue | 54 ++-- src/number-keyboard/demo/index.vue | 142 ++++++----- src/overlay/demo/index.vue | 48 ++-- src/pagination/demo/index.vue | 90 ++++--- src/password-input/demo/index.vue | 102 ++++---- src/picker/demo/index.vue | 124 +++++----- src/popup/demo/index.vue | 178 +++++++------ src/progress/demo/index.vue | 44 ++-- src/pull-refresh/demo/index.vue | 78 +++--- src/radio/demo/index.vue | 174 +++++++------ src/rate/demo/index.vue | 74 +++--- src/search/demo/index.vue | 92 ++++--- src/share-sheet/demo/index.vue | 82 +++--- src/sidebar/demo/index.vue | 70 +++--- src/skeleton/demo/index.vue | 36 ++- src/slider/demo/index.vue | 84 +++---- src/stepper/demo/index.vue | 72 +++--- src/steps/demo/index.vue | 78 +++--- src/sticky/demo/index.vue | 48 ++-- src/style/demo/index.vue | 40 ++- src/submit-bar/demo/index.vue | 82 +++--- src/swipe-cell/demo/index.vue | 88 ++++--- src/swipe/demo/index.vue | 118 +++++---- src/switch/demo/index.vue | 60 +++-- src/tab/demo/index.vue | 182 +++++++------- src/tabbar/demo/index.vue | 134 +++++----- src/tag/demo/index.vue | 118 +++++---- src/toast/demo/index.vue | 54 ++-- src/tree-select/demo/index.vue | 86 ++++--- src/uploader/demo/index.vue | 82 +++--- 69 files changed, 2732 insertions(+), 2980 deletions(-) diff --git a/packages/create-vant-cli-app/generators/templates/src/demo-button/demo/index.vue b/packages/create-vant-cli-app/generators/templates/src/demo-button/demo/index.vue index c367d40fd..8e4c835c4 100644 --- a/packages/create-vant-cli-app/generators/templates/src/demo-button/demo/index.vue +++ b/packages/create-vant-cli-app/generators/templates/src/demo-button/demo/index.vue @@ -1,11 +1,9 @@ diff --git a/src/action-bar/demo/index.vue b/src/action-bar/demo/index.vue index 96cd4ab28..b09aa0b00 100644 --- a/src/action-bar/demo/index.vue +++ b/src/action-bar/demo/index.vue @@ -1,71 +1,65 @@