Commit 5648ee6c by xinla

--no commit message

1 parent cddeb96e
...@@ -268,6 +268,10 @@ li { ...@@ -268,6 +268,10 @@ li {
font-weight: bold !important; font-weight: bold !important;
} }
.height100 {
height: 100% !important;
}
/* bfc模型 / 闭合清楚浮动 */ /* bfc模型 / 闭合清楚浮动 */
.bfc-o { .bfc-o {
overflow: hidden; overflow: hidden;
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<!-- <el-scrollbar class="page-scrollbar"> --> <!-- <el-scrollbar class="page-scrollbar"> -->
<div class="app-main"> <div class="app-main">
<transition name="fade-transform" mode="out-in" v-if="!isActiveMicroApp"> <transition name="fade-transform" mode="out-in" v-if="!isActiveMicroApp">
<router-view class="page" :key="key" /> <router-view class="page container" :key="key" />
<!-- <keep-alive :include="cachedViews"> <!-- <keep-alive :include="cachedViews">
</keep-alive> --> </keep-alive> -->
</transition> </transition>
<div v-loading="loading"> <div v-loading="loading" class="height100">
<div id="micro-app" v-show="isActiveMicroApp"> <div id="micro-app" class="container" v-show="isActiveMicroApp">
<!-- <div id="app" class="mask" style="position: absolute"> <!-- <div id="app" class="mask" style="position: absolute">
<i class="el-icon-loading cc"></i> <i class="el-icon-loading cc"></i>
</div> --> </div> -->
...@@ -79,18 +79,19 @@ export default { ...@@ -79,18 +79,19 @@ export default {
// } // }
.app-main { .app-main {
position: relative; position: relative;
overflow-y: hidden; overflow: hidden;
flex: auto; flex: auto;
} }
.container {
max-height: calc(100% - 20px);
margin: 20px 0 0;
padding: 0 20px;
}
.page { .page {
// background: #fff; // background: #fff;
// border-radius: var(--border-radius-big); // border-radius: var(--border-radius-big);
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
max-height: calc(100% - 20px);
margin: 20px 0 0;
padding: 0 20px;
&::-webkit-scrollbar-thumb { &::-webkit-scrollbar-thumb {
visibility: hidden; visibility: hidden;
} }
...@@ -114,8 +115,10 @@ export default { ...@@ -114,8 +115,10 @@ export default {
} }
#micro-app { #micro-app {
height: calc(100vh - 130px); height: calc(100% - 20px);
position: relative; position: relative;
margin: 20px 0 0;
padding: 0 20px;
} }
</style> </style>
......
...@@ -268,6 +268,7 @@ export default { ...@@ -268,6 +268,7 @@ export default {
border-radius: var(--border-radius); border-radius: var(--border-radius);
box-shadow: inset 4px 8px 16px 0px rgba(134, 144, 156, 0.18); box-shadow: inset 4px 8px 16px 0px rgba(134, 144, 156, 0.18);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
cursor: pointer;
.right-icon { .right-icon {
font-size: 20px; font-size: 20px;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!