index.vue
<template>
<div class="indexmain">
<div class="container">
<div class="containerbox">
<div class="left">
<navmenu :active="active"></navmenu>
</div>
<div class="right">
<router-view class="item1"></router-view>
</div>
</div>
</div>
</div>
</template>
<script>
import navmenu from './navMenu';
export default {
name: 'Index',
data() {
return {
}
},
components: {
navmenu,
},
created() {
},
mounted() {
},
methods: {
}
}
</script>
<style lang="less">
.indexmain {
.container {
width: 100%;
background: #F0F0F0;
.containerbox {
width: 100%;
min-height: e("calc(100vh - 94px)");
margin: 0 auto;
overflow: hidden;
display: flex;
display