From fc6d8f317ddae2a96b05dfde49de0dfb282b90a5 Mon Sep 17 00:00:00 2001 From: huzhushan Date: Fri, 23 Jul 2021 17:25:30 +0800 Subject: [PATCH] add layout setting ui --- src/App.vue | 15 ++- src/components/ErrorLog/index.vue | 11 +- src/components/LayoutSettings/index.vue | 112 +++++++++++++++++++ src/components/ProTable/index.vue | 24 ++-- src/layout/components/Tagsbar/index.vue | 10 +- src/layout/components/Topbar/Breadcrumbs.vue | 40 ++++--- src/layout/components/Topbar/index.vue | 12 +- src/layout/index.vue | 30 +++-- src/main.js | 6 +- src/store/modules/layoutSettings.js | 50 +++++++++ src/views/lock/Unlock.vue | 3 +- src/views/login/index.vue | 3 +- src/views/test/Add.vue | 3 +- 13 files changed, 258 insertions(+), 61 deletions(-) create mode 100644 src/components/LayoutSettings/index.vue create mode 100644 src/store/modules/layoutSettings.js diff --git a/src/App.vue b/src/App.vue index 235f97c..fde4d53 100644 --- a/src/App.vue +++ b/src/App.vue @@ -24,7 +24,7 @@ * @version: * @Date: 2021-04-20 11:06:21 * @LastEditors: huzhushan@126.com - * @LastEditTime: 2021-04-21 12:48:43 + * @LastEditTime: 2021-07-23 15:12:50 * @Author: huzhushan@126.com * @HomePage: https://huzhushan.gitee.io/vue3-element-admin * @Github: https://github.com/huzhushan/vue3-element-admin @@ -33,7 +33,20 @@ + + diff --git a/src/components/ProTable/index.vue b/src/components/ProTable/index.vue index 10c73d4..57acf89 100644 --- a/src/components/ProTable/index.vue +++ b/src/components/ProTable/index.vue @@ -73,8 +73,9 @@ v-for="option of item.options" :key="option.value" :label="option.value" - >{{ option.name }} + {{ option.name }} + {{ option.name }} + {{ option.name }} + {{ option.name }} + {{ option.name }} + {{ option.name }} + {{ option.name }} + - 查询 - 重置 + + 查询 + + + 重置 + diff --git a/src/layout/components/Tagsbar/index.vue b/src/layout/components/Tagsbar/index.vue index 9534546..4dc8720 100644 --- a/src/layout/components/Tagsbar/index.vue +++ b/src/layout/components/Tagsbar/index.vue @@ -13,7 +13,7 @@ * @version: * @Date: 2021-04-20 11:06:21 * @LastEditors: huzhushan@126.com - * @LastEditTime: 2021-07-23 14:39:22 + * @LastEditTime: 2021-07-23 16:48:37 * @Author: huzhushan@126.com * @HomePage: https://huzhushan.gitee.io/vue3-element-admin * @Github: https://github.com/huzhushan/vue3-element-admin @@ -68,15 +68,17 @@