diff --git a/src/index.less b/src/index.less index c34b32c..da38b0b 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 d0bc0d7..5290a1c 100755 --- a/src/view/km.vue +++ b/src/view/km.vue @@ -1,5 +1,5 @@