You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
875 B
Vue

2 years ago
<template>
2 years ago
<div class="wrapper">
<v-head></v-head>
2 years ago
2 years ago
<div class="content-box">
<div class="content">
<transition name="move" mode="out-in">
2 years ago
<!-- <keep-alive> -->
<router-view></router-view>
<!-- </keep-alive> -->
2 years ago
</transition>
</div>
2 years ago
</div>
2 years ago
</div>
2 years ago
</template>
<script>
2 years ago
import vHead from "./Header.vue";
2 years ago
2 years ago
export default {
2 years ago
data() {
2 years ago
return {};
2 years ago
},
components: {
vHead,
},
2 years ago
created() {},
2 years ago
};
</script>
<style lang="less">
.content-box {
2 years ago
position: absolute;
left: 0px;
right: 0;
top: 70px;
bottom: 0;
//padding-bottom: 30px;
-webkit-transition: left 0.3s ease-in-out;
transition: left 0.3s ease-in-out;
background: @background-color-base;
.content {
width: 100%;
height: 100%;
//padding: 10px;
overflow-y: auto;
box-sizing: border-box;
}
2 years ago
}
</style>