|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="app-main">
|
|
|
+ <div class="app-main">
|
|
|
<transition name="fade-transform" mode="out-in">
|
|
|
<keep-alive :include="cachedViews">
|
|
|
<router-view :key="key" />
|
|
@@ -32,48 +32,34 @@ export default {
|
|
|
@import "~@/styles/sidebar.scss";
|
|
|
@import "~@/styles/btn.scss";
|
|
|
.app-main {
|
|
|
- // min-height: calc(100vh - 50px);
|
|
|
min-height: 100%;
|
|
|
- //calc(100vh - 50px);
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- position: fixed;
|
|
|
- // overflow: scroll;
|
|
|
+ position: relative;
|
|
|
padding: 50px 0 0 0;
|
|
|
+ overflow-y: scroll;
|
|
|
+ min-width: 1200px;
|
|
|
+ @include scrollBar();
|
|
|
box-sizing: border-box;
|
|
|
- // @include scrollBar();
|
|
|
}
|
|
|
|
|
|
.fixed-header + .app-main {
|
|
|
- // min-height: calc(100vh - 50px);
|
|
|
min-height: 100%;
|
|
|
- //calc(100vh - 50px);
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- position: fixed;
|
|
|
- // overflow: scroll;
|
|
|
padding: 50px 0 0 0;
|
|
|
box-sizing: border-box;
|
|
|
- // @include scrollBar();
|
|
|
}
|
|
|
|
|
|
.hasTagsView {
|
|
|
.app-main {
|
|
|
// min-height: calc(100vh - 50px);
|
|
|
min-height: 100%;
|
|
|
- //calc(100vh - 50px);
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- position: fixed;
|
|
|
- // overflow: scroll;
|
|
|
padding: 50px 0 0 0;
|
|
|
box-sizing: border-box;
|
|
|
- // @include scrollBar();
|
|
|
}
|
|
|
-
|
|
|
- // .fixed-header+.app-main {
|
|
|
- // padding-top: 84px;
|
|
|
- // }
|
|
|
}
|
|
|
</style>
|
|
|
|