Commit db540ab7 by wsm

修改

parent 9ada8203
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<div v-if="routerView" class="app-main-container"> <div v-if="routerView" class="app-main-container">
<!-- <vab-github-corner /> <!-- <vab-github-corner />
<transition mode="out-in" name="fade-transform"> <transition mode="out-in" name="fade-transform">
<keep-alive :include="cachedRoutes" :max="keepAliveMaxNum"> <keep-alive :include="cachedRoutes" :max="keepAliveMaxNum"> -->
<router-view :key="key" class="app-main-height" /> <router-view :key="key" class="app-main-height" />
</keep-alive> <!-- </keep-alive>
</transition> </transition>
<footer v-show="footerCopyright" class="footer-copyright"> <footer v-show="footerCopyright" class="footer-copyright">
Copyright Copyright
...@@ -81,9 +81,10 @@ ...@@ -81,9 +81,10 @@
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
.vab-keel { .vab-keel {
margin: $base-padding; // margin: $base-padding;
} }
.app-main-height { .app-main-height {
// height: calc(100vh - #{$base-nav-bar-height} - #{$base-tabs-bar-height} - #{$base-padding});
min-height: $base-app-main-height; min-height: $base-app-main-height;
} }
......
...@@ -100,30 +100,30 @@ export const asyncRoutes = [ ...@@ -100,30 +100,30 @@ export const asyncRoutes = [
icon: 'yen-sign', icon: 'yen-sign',
}, },
}, },
// { {
// path: 'icon', path: 'icon',
// component: EmptyLayout, component: EmptyLayout,
// redirect: 'noRedirect', redirect: 'noRedirect',
// name: 'Icon', name: 'Icon',
// meta: { meta: {
// title: '图标', title: '图标',
// permissions: ['admin'], permissions: ['admin'],
// }, },
// children: [ children: [
// { {
// path: 'awesomeIcon', path: 'awesomeIcon',
// name: 'AwesomeIcon', name: 'AwesomeIcon',
// component: () => import('@/views/vab/icon/index'), component: () => import('@/views/vab/icon/index'),
// meta: { title: '常规图标' }, meta: { title: '常规图标' },
// }, },
// { {
// path: 'colorfulIcon', path: 'colorfulIcon',
// name: 'ColorfulIcon', name: 'ColorfulIcon',
// component: () => import('@/views/vab/icon/colorfulIcon'), component: () => import('@/views/vab/icon/colorfulIcon'),
// meta: { title: '多彩图标' }, meta: { title: '多彩图标' },
// }, },
// ], ],
// }, },
// { // {
// path: 'table', // path: 'table',
// component: () => import('@/views/vab/table/index'), // component: () => import('@/views/vab/table/index'),
......
...@@ -56,8 +56,8 @@ $base-tag-item-height: 34px; ...@@ -56,8 +56,8 @@ $base-tag-item-height: 34px;
$base-menu-item-height: 50px; $base-menu-item-height: 50px;
//app-main的高度 //app-main的高度
$base-app-main-height: calc( $base-app-main-height: calc(
100vh - #{$base-nav-bar-height} - #{$base-tabs-bar-height} - #{$base-padding} - 100vh - #{$base-nav-bar-height} - #{$base-tabs-bar-height} - #{$base-padding}
#{$base-padding} - 55px - 55px
); );
//纵向布局时左侧导航未折叠时的宽度 //纵向布局时左侧导航未折叠时的宽度
$base-left-menu-width: 256px; $base-left-menu-width: 256px;
......
<template> <template>
<div></div> <div>1111111</div>
</template> </template>
<script> <script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment