<style lang='scss' scoped>
	.registerLoading{
		width: 100%;
		height: 100%;
		padding: 40rpx $paddingLR;
		&-content{
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			padding-top: 50rpx;
		}
		&-text{
			color: #666;
		}
		.bottom-btn{
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			padding: 40rpx ;
		}
	}
</style>
<template>
	<view class="registerLoading">
		<view class="registerLoading-content">
			<u-icon name="checkbox-mark" size="140" color="#60C13D"></u-icon>
			<view class="registerLoading-text pt20">
				<text>恭喜您注册成功，您的账号(</text>
				<text class="">{{phonenumber}}</text>
				<text>)</text>
				<text v-if="userType!='userType'">系统正在审核中，请耐心等待。</text>
				
			</view>
			
		</view>
		<view class="bottom-btn">
			<u-button type="primary" @click="goLoginFn">去登入</u-button>
		</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				phonenumber:"",
				userType:"user"
			}
		},
		onLoad(e) {
			this.userType = e.userType;
			this.phonenumber = e.phonenumber;
		},
		methods: {
			goLoginFn(){
				uni.reLaunch({
					url:"./login"
				})
			}
		}
	}
</script>
