Commit db540ab7 by wsm

修改

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