29 lines
630 B
Vue
29 lines
630 B
Vue
<template>
|
|
<div :class="$style.view">
|
|
<router-view v-slot="{ Component }">
|
|
<!-- <transition enter-active-class="animated-fast fadeIn" leave-active-class="animated-fast fadeOut"> -->
|
|
<component :is="Component" class="view-container" />
|
|
<!-- </transition> -->
|
|
</router-view>
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="less" module>
|
|
@import '@renderer/assets/styles/layout.less';
|
|
|
|
.view {
|
|
position: relative;
|
|
z-index: 1;
|
|
> :global(.view-container) {
|
|
position: absolute !important;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
// background: #fff;
|
|
// overflow: hidden;
|
|
}
|
|
|
|
</style>
|