body,
p,
div,
button {
	margin: 0;
	padding: 0;
}

html {
	touch-action: manipulation;
	/* 禁止移动端双手指放大显示 */
}

body {
	max-width: 450px;
	height: 100vh;
	margin: 0 auto !important;
	position: relative;
}

.container {
	width: 100%;
	height: 100%;
}

/* 提示信息 */
.loginWarn {
	padding: 12px 20px;
	box-sizing: border-box;
	background-color: #FEF0F0;
	color: #F56C6C;
	box-shadow: 0 0 2px #F56C6C;
	font-size: 15px;
	border-radius: 6px;
	text-align: center;
	position: fixed;
	top: 16%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	letter-spacing: 1px;
	white-space: nowrap;
	z-index: 3000;
	display: none;
}

.waringBox {
	display: flex;
	align-items: center;
}

.warnIcon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}

/* 转繁体 */
@font-face {
	font-family: 'myFont';
	src: url('../font/font.ttf') format('truetype');
}

body {
	font-family: 'myFont' !important;
}

input::-webkit-input-placeholder {
	font-family: 'myFont' !important;
}

/* 弹出层 */
.orderPopup {
	position: fixed;
	/* 根据视图定位fixed */
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 40%;
	background: #fff;
	border-radius: 12px 12px 0 0;
	z-index: 9999;
	display: none;
}

/* 遮罩层 */
.mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .5);
	z-index: 1000;
	display: none;
}

/* 弹出层动画 */
.bottom-card-in {
	animation: popup ease .6s;
}

.bottom-card-out {
	animation: popout ease-out .6s;
	height: 0;
}

@keyframes popup {
	from {
		height: 0;
	}

	to {
		height: 40vh;
	}
}

@keyframes popout {
	from {
		height: 40vh;
	}

	to {
		height: 0vh;
		opacity: 0;
	}
}