From bbfb242b8ba99be1786d9866fe73c9ae5f6b724c Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 15 Jun 2021 17:38:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95=E6=A0=8F=E9=87=87=E7=94=A8?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=8F=AF=E6=8B=96=E6=8B=BD=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/layout/components/AppMain.vue | 12 ++--- .../src/layout/components/Sidebar/index.vue | 25 ++++------ frontend/src/layout/index.vue | 50 ++++++++++++------- frontend/src/styles/sidebar.scss | 8 +-- 4 files changed, 52 insertions(+), 43 deletions(-) diff --git a/frontend/src/layout/components/AppMain.vue b/frontend/src/layout/components/AppMain.vue index 0111801d9d..68235f7d8f 100644 --- a/frontend/src/layout/components/AppMain.vue +++ b/frontend/src/layout/components/AppMain.vue @@ -2,9 +2,7 @@
- -
@@ -26,11 +24,11 @@ export default { .app-main { /* topbar 56 */ - min-height: calc(100vh - 56px); - width: 100%; - height: 100%; - position: relative; - overflow: hidden; + // min-height: calc(100vh - 56px); + // width: 100%; + // height: 100%; + // position: relative; + // overflow: hidden; } .fixed-header + .app-main { diff --git a/frontend/src/layout/components/Sidebar/index.vue b/frontend/src/layout/components/Sidebar/index.vue index d937418561..e2cd53868a 100644 --- a/frontend/src/layout/components/Sidebar/index.vue +++ b/frontend/src/layout/components/Sidebar/index.vue @@ -1,20 +1,18 @@ @@ -23,7 +21,6 @@ import { mapGetters } from 'vuex' import Logo from './Logo' import SidebarItem from './SidebarItem' import variables from '@/styles/variables.scss' - export default { components: { SidebarItem, Logo }, computed: { diff --git a/frontend/src/layout/index.vue b/frontend/src/layout/index.vue index ce02660731..87884310d7 100644 --- a/frontend/src/layout/index.vue +++ b/frontend/src/layout/index.vue @@ -2,35 +2,43 @@
-
- -
-
- -
+ + + + + + + + + + + + + +