<template>
	<view class="container">
		<view class="re-succ-box">
			<image class="re-succ-img" src="../../static/usdt/success.png"></image>
			<view class="re-succ-tit">提交成功</view>
			<view class="re-tip" v-if="type == 1">
				请耐心等待审核
			</view>
			<view class="re-succ-btn" @click="goBack()">返回首页</view>
		</view>
	</view>
</template>

<script>
export default {
	data(){
		return{
			type:'',
		}
	},
	onLoad(option) {
		if(option.type){
			this.type = option.type 
		}
	},
	methods: {
		goBack() {
			uni.switchTab({
				url: '/pages/index/index'
			})
		}
	}
}
</script>

<style lang="scss">
page {
	height: 100%;
}
.container {
	height: 100%;
	background: #FFFFFF;
	.line-top {
		width: 750rpx;
		height: 20rpx;
		background: #F5F5F5;
	}
	.re-succ-box {
		padding-top: 170rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		.re-succ-img {
			position: relative;
			left: 16rpx;
			width: 362rpx;
			height: 267rpx;
			display: block;
		}
		.re-succ-tit {
			margin-top: -26rpx;
			font-size: 40rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #333333;
		}
		.re-tip {
			font-size: 28rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #B3B3B3;
		}
		.re-succ-btn {
			margin-top: 80rpx;
			width: 300rpx;
			height: 78rpx;
			border: 2rpx solid #44BFEC;
			border-radius: 10rpx;
			font-size: 30rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #44BFEC;
			text-align: center;
			line-height: 78rpx;
		}
	}
}
</style>
