<template>
	<div id="app">
		<div class="container">
			<router-view />
		</div>
	</div>
</template>
<script>
export default {
	name: "App",
	data() {
		return {
		}
	}
}
</script>

<style lang="scss">
@import 'assets/css/normalize.css';
@import 'assets/css/public.scss'; //帖子内容样式

#app {
	font-family: Avenir, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.container {
	// padding: 0 0.35rem;
	background-color: rgba(246, 246, 246, 1);
	min-height: 100vh;
}

.flexflex {
	display: flex;
}

.flexcenter {
	display: flex;
	justify-content: center;
	align-items: center;
}

.flexacenter {
	display: flex;
	align-items: center;
}

.flexcolumn {
	display: flex;
	flex-direction: column;
}

.flex1 {
	flex: 1;
}

.el-message {
	min-width: 7rem !important;
}

// 文字一行显示
.one-line {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -moz-box;
	-moz-box-orient: vertical;
}

// 文字两行显示
.two-lines {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

// 文章三行显示
.three-lines {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
}

// 阴影
.shadow {
	-webkit-box-shadow: 0 0 .3rem rgba(0, 0, 0, .1);
	box-shadow: 0 0 .3rem rgba(0, 0, 0, .1);
}

// 弹窗公共类 蒙版
.pop-box {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.64);
	z-index: 100;
	align-items: center;
	justify-content: flex-end;
	overflow: auto;
}

// 清除 input 和 textarea 的默认样式
input,
textarea {
	border: none;
	outline: none;
	background: transparent;
	resize: none;
}
</style>
