<template>
	<el-container>
		<el-header class="pageHeader" style="height:55px;">
			<div class="common-header-left">
				<div class="common-header-logo">
					<img class="logo" :alt="$CONFIG.APP_NAME" src="https://dm-auto.oss-cn-shanghai.aliyuncs.com/xw_cloud/image/login_logo.png">
<!--					<label>{{$CONFIG.APP_NAME}}</label>-->
				</div>
<!--				<div class="common-header-title">{{title}}</div>-->
			</div>
			<div class="common-header-right">
				<router-link to="/login">返回登录</router-link>
			</div>
		</el-header>
		<el-main class="registerView">
			<div class="common-container">
				<h2 class="common-title">{{title}}</h2>
				<div class="common-main el-card">
					<slot></slot>
				</div>
			</div>
		</el-main>
	</el-container>
</template>

<script>
	export default {
		props: {
			title: { type: String, default: "" }
		}
	}
</script>

<style lang="scss" scoped>
	.registerView{
		background: #F6F8F9;
	}
</style>
