同步6/16
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
<template>
|
||||
<section class="app-main">
|
||||
<router-view v-slot="{ Component, route }" :key="$route.fullPath">
|
||||
<transition :enter-active-class="animate" mode="out-in">
|
||||
<keep-alive :include="tagsViewStore.cachedViews">
|
||||
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
|
||||
</keep-alive>
|
||||
</transition>
|
||||
</router-view>
|
||||
<iframe-toggle />
|
||||
<div style="background-color: #f2f1f6; height: 100%">
|
||||
<router-view v-slot="{ Component, route }" :key="$route.fullPath">
|
||||
<transition :enter-active-class="animate" mode="out-in">
|
||||
<keep-alive :include="tagsViewStore.cachedViews">
|
||||
<component :is="Component" v-if="!route.meta.link" :key="route.path" />
|
||||
</keep-alive>
|
||||
</transition>
|
||||
</router-view>
|
||||
<iframe-toggle />
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
@@ -54,13 +56,14 @@ function addIframe() {
|
||||
<style lang="scss" scoped>
|
||||
.app-main {
|
||||
/* 50= navbar 50 */
|
||||
min-height: calc(100vh - 50px);
|
||||
// min-height: calc(100vh - 50px);
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
background-color: #f2f1f6;
|
||||
background-color: #dfedff;
|
||||
}
|
||||
|
||||
.fixed-header + .app-main {
|
||||
|
||||
Reference in New Issue
Block a user