<template>
	<div id="app">
		<keep-alive>
			<router-view v-if="$route.meta.keepAlive"></router-view>
		</keep-alive>
		<router-view v-if="!$route.meta.keepAlive"></router-view>
	</div>
</template>

<script>
	export default {
		name: 'App',
		mounted() {
			
		}
	}
</script>

<style>
	div {
		box-sizing: border-box;
	}
	
	.flex-between {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.flex-around {
		display: flex;
		justify-content: space-around;
		align-items: center;
	}
	
	.flex-center {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	/*单行隐藏*/
	.text-overflow {
		overflow-x: hidden;
		overflow-y: inherit;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	
	/* 两行隐藏 */
	.text-overflowRows {
		overflow: hidden;
		text-overflow: ellipsis;
		-webkit-line-clamp: 2;
		word-break: break-all;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}
</style>
