From e30a98a1e8fa5d15bcac9b801b3c04b02c6dba55 Mon Sep 17 00:00:00 2001 From: meixinbin Date: Sun, 27 Mar 2022 11:01:29 +0800 Subject: [PATCH] fix footer --- src/index.less | 29 +++++++++++++++++ src/router/routers.js | 11 +++++++ src/view/detail.vue | 67 ++++++++++++++++++++++++++++++++++++++++ src/view/km.vue | 6 ++-- src/view/main/main.vue | 22 +------------ src/view/overview.vue | 53 +++++++++++++++++++++---------- src/view/vip-service.vue | 14 ++++----- 7 files changed, 154 insertions(+), 48 deletions(-) create mode 100755 src/view/detail.vue diff --git a/src/index.less b/src/index.less index 60794e2..4e6a3ca 100755 --- a/src/index.less +++ b/src/index.less @@ -207,3 +207,32 @@ body { border-left: 2px solid #427FCE; background: #eee; } + + +html{ + height:100%; +} +body{ + min-height:100%; + margin:0; + padding:0; + position:relative; +} +.el-container{ + display: flex; + flex-direction: column; + height: 100%; +} + +main{ + flex: 1 0 auto; +} +footer{ + flex:0 0 auto; +} +.main-container{ + width: 1200px !important; +} +.item > a,.item > a:active{ + color: #515a6e !important; +} diff --git a/src/router/routers.js b/src/router/routers.js index 6616c83..ebde7a4 100755 --- a/src/router/routers.js +++ b/src/router/routers.js @@ -207,6 +207,17 @@ export default [ showInBreadCrumb: true }, component: () => import('@/view/km') + }, + { + path: '/detail', + name: 'detail', + meta: { + hideInMenu: true, + title: '详情', + notCache: true, + showInBreadCrumb: true + }, + component: () => import('@/view/detail') } ] }, diff --git a/src/view/detail.vue b/src/view/detail.vue new file mode 100755 index 0000000..88b6b8e --- /dev/null +++ b/src/view/detail.vue @@ -0,0 +1,67 @@ + + + + diff --git a/src/view/km.vue b/src/view/km.vue index 1568c67..5a1be70 100755 --- a/src/view/km.vue +++ b/src/view/km.vue @@ -1,5 +1,5 @@