From 41c6bbf3f0594dde9c1cd234c07cbc021d44195b Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Fri, 11 Feb 2022 09:51:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E7=94=A8script=E3=80=81template?= =?UTF-8?q?=E3=80=81style=E7=9A=84=E9=A1=BA=E5=BA=8F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=89=80=E6=9C=89sfc=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plop-templates/component/index.hbs | 8 +- plop-templates/page/index.hbs | 12 +- src/App.vue | 22 +-- src/components/Auth/index.vue | 16 +- src/components/AuthAll/index.vue | 16 +- src/components/BatchActionBar/index.vue | 22 +-- src/components/CascaderArea/index.vue | 14 +- src/components/Copyright/index.vue | 10 +- src/components/Editor/index.vue | 14 +- src/components/FileUpload/index.vue | 54 +++--- src/components/FixedActionBar/index.vue | 14 +- src/components/ImagePreview/index.vue | 22 +-- src/components/ImageUpload/index.vue | 96 +++++----- src/components/ImagesUpload/index.vue | 104 +++++------ src/components/PageHeader/index.vue | 26 +-- src/components/PageMain/index.vue | 36 ++-- src/components/Result/index.vue | 36 ++-- src/components/SearchBar/index.vue | 20 +- src/components/SvgIcon/index.vue | 22 +-- src/components/TableHeightAdaption/index.vue | 12 +- src/components/Trend/index.vue | 20 +- src/layout/components/AppSetting/index.vue | 84 ++++----- src/layout/components/BuyIt/index.vue | 52 +++--- src/layout/components/Header/index.vue | 24 +-- src/layout/components/Logo/index.vue | 16 +- src/layout/components/MainSidebar/index.vue | 22 +-- src/layout/components/Search/index.vue | 108 +++++------ src/layout/components/SidebarItem/index.vue | 56 +++--- src/layout/components/SubSidebar/index.vue | 32 ++-- src/layout/components/Tools/index.vue | 76 ++++---- src/layout/components/Topbar/index.vue | 58 +++--- src/layout/index.vue | 68 +++---- src/views/404.vue | 22 +-- src/views/component_basic_example/button.vue | 10 +- .../component_basic_example/checkbox.vue | 50 ++--- .../component_basic_example/datepicker.vue | 58 +++--- .../datetimepicker.vue | 34 ++-- src/views/component_basic_example/icon.vue | 18 +- src/views/component_basic_example/input.vue | 40 ++-- .../component_basic_example/inputnumber.vue | 38 ++-- src/views/component_basic_example/link.vue | 10 +- src/views/component_basic_example/radio.vue | 38 ++-- src/views/component_basic_example/rate.vue | 32 ++-- src/views/component_basic_example/select.vue | 62 +++---- src/views/component_basic_example/slider.vue | 56 +++--- src/views/component_basic_example/switch.vue | 34 ++-- .../component_basic_example/timepicker.vue | 34 ++-- .../actionbar.demo.vue | 38 ++-- .../component_extend_example/area.demo.vue | 40 ++-- .../batchactionbar.demo.vue | 68 ++++--- .../component_extend_example/editor.demo.vue | 26 +-- .../image.preview.demo.vue | 34 ++-- .../searchbar.demo.vue | 38 ++-- .../component_extend_example/svg.demo.vue | 22 +-- .../table.autoheight.demo.vue | 44 ++--- .../component_extend_example/upload.demo.vue | 30 +-- src/views/index.vue | 92 +++++----- .../keep_alive_example/nested/nested.vue | 10 +- .../nested/nested/nested.vue | 10 +- .../nested/nested/nested/index.vue | 18 +- .../nested/nested/nested/index2.vue | 18 +- src/views/keep_alive_example/page.vue | 36 ++-- src/views/login.vue | 172 +++++++++--------- src/views/mock_example/index.vue | 22 +-- src/views/permission_example/index.vue | 78 ++++---- src/views/personal/edit.password.vue | 52 +++--- src/views/personal/setting.vue | 52 +++--- src/views/reload.vue | 16 +- 68 files changed, 1316 insertions(+), 1328 deletions(-) diff --git a/plop-templates/component/index.hbs b/plop-templates/component/index.hbs index fdd0c54b..e5eb12a2 100644 --- a/plop-templates/component/index.hbs +++ b/plop-templates/component/index.hbs @@ -1,13 +1,13 @@ + + - - diff --git a/plop-templates/page/index.hbs b/plop-templates/page/index.hbs index 8425fe94..e24a994a 100644 --- a/plop-templates/page/index.hbs +++ b/plop-templates/page/index.hbs @@ -1,3 +1,9 @@ + + @@ -7,12 +13,6 @@ - - diff --git a/src/App.vue b/src/App.vue index 43089ca0..aa4e247f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,14 +1,3 @@ - - - - - - + + + + + + diff --git a/src/components/Auth/index.vue b/src/components/Auth/index.vue index f7fd110d..9ea36ad9 100644 --- a/src/components/Auth/index.vue +++ b/src/components/Auth/index.vue @@ -1,11 +1,4 @@ - - - - - - - - + + + + + + + diff --git a/src/components/AuthAll/index.vue b/src/components/AuthAll/index.vue index 832bc2cc..382bac7d 100644 --- a/src/components/AuthAll/index.vue +++ b/src/components/AuthAll/index.vue @@ -1,11 +1,4 @@ - - - - - - - - + + + + + + + diff --git a/src/components/BatchActionBar/index.vue b/src/components/BatchActionBar/index.vue index aefeed78..803ffdc1 100644 --- a/src/components/BatchActionBar/index.vue +++ b/src/components/BatchActionBar/index.vue @@ -1,14 +1,4 @@ - - - 当页全选 - 已选 {{ selectionData.length }} 项 - - - - - - - + + + 当页全选 + 已选 {{ selectionData.length }} 项 + + + + + + diff --git a/src/components/TableHeightAdaption/index.vue b/src/components/TableHeightAdaption/index.vue index bdaf6326..51bdc360 100644 --- a/src/components/TableHeightAdaption/index.vue +++ b/src/components/TableHeightAdaption/index.vue @@ -1,9 +1,3 @@ - - - - - - + + + + + + + + + + + + + + + + + + + 提交 + + + + + diff --git a/src/views/component_extend_example/batchactionbar.demo.vue b/src/views/component_extend_example/batchactionbar.demo.vue index c8109b76..26de6368 100644 --- a/src/views/component_extend_example/batchactionbar.demo.vue +++ b/src/views/component_extend_example/batchactionbar.demo.vue @@ -1,36 +1,3 @@ - - - - - BatchActionBar - 该组件需要和 ElTable 搭配使用 - - - - - 单个批量操作按钮 - - 批量操作按钮组1 - 批量操作按钮组2 - - - - - - - - - - 单个批量操作按钮 - - 批量操作按钮组1 - 批量操作按钮组2 - - - - - - - + + + + + BatchActionBar + 该组件需要和 ElTable 搭配使用 + + + + + 单个批量操作按钮 + + 批量操作按钮组1 + 批量操作按钮组2 + + + + + + + + + + 单个批量操作按钮 + + 批量操作按钮组1 + 批量操作按钮组2 + + + + + diff --git a/src/views/component_extend_example/editor.demo.vue b/src/views/component_extend_example/editor.demo.vue index 6f3a8034..7284cfed 100644 --- a/src/views/component_extend_example/editor.demo.vue +++ b/src/views/component_extend_example/editor.demo.vue @@ -1,16 +1,3 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/component_extend_example/searchbar.demo.vue b/src/views/component_extend_example/searchbar.demo.vue index c7cb587d..db5f42a7 100644 --- a/src/views/component_extend_example/searchbar.demo.vue +++ b/src/views/component_extend_example/searchbar.demo.vue @@ -1,3 +1,22 @@ + + @@ -111,22 +130,3 @@ - - diff --git a/src/views/component_extend_example/svg.demo.vue b/src/views/component_extend_example/svg.demo.vue index d84d2056..cc134624 100644 --- a/src/views/component_extend_example/svg.demo.vue +++ b/src/views/component_extend_example/svg.demo.vue @@ -1,3 +1,14 @@ + + @@ -29,17 +40,6 @@ - -
BatchActionBar
该组件需要和 ElTable 搭配使用