<template>
	<div class="layout">
		<div class="layout-T">
			<Topmenu></Topmenu>
		</div>
		<div class="layout-B">
			<div class="layout-B-menu">
				<Menus></Menus>
			</div>
			<div class="layout-B-mai">
				<div class="layout-B-mai1">
					<tabs></tabs>
				</div>
				<div class="layout-B-mai2">
					<keep-alive :include="$store.state.includeTabs">
						<router-view class="rouView"></router-view>
					</keep-alive>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
	import Topmenu from '@/views/layout/Topmenu'
	import Menus from '@/views/layout/Menus'
	import tabs from '@/views/layout/tabs'
	export default {
		components: {
			tabs,Topmenu,Menus
		},
		data() {
			return {
			}
		},
		mounted() {
		},
	}
</script>

<style lang="scss" scoped>
	.layout{
		height: 100vh;
		display: flex;
		flex-direction: column;
		.layout-T{
		}
		.layout-B{
			flex: 1;
			display: flex;
			overflow: hidden;
			.layout-B-menu{
				height: 100%;
				width: 80px;
				background-color: #3a394e;
			}
			.layout-B-mai{
				flex: 1;
				margin: 10px;
				border-radius: 4px;
				display: flex;
				flex-direction: column;
				min-width: 0;
				.layout-B-mai1{
					background: #fff;
					padding:10px 20px;
				}
				.layout-B-mai2{
					flex: 1;
					margin-top: 10px;
					background: #fff;
					padding:20px;
					overflow-y: auto;
				}
			}
		}
	}
</style>
