<template>
	<view class="container">
		<view class="re-succ-box">
			<image class="re-succ-img" src="../../static/img/success.png"></image>
			<view class="re-succ-tit">提交成功</view>
			<view class="re-succ-btn" @click="goBack()">返回首页</view>
		</view>
	</view>
</template>

<script>
export default {
	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 {
			width: 362rpx;
			height: 267rpx;
			display: block;
		}
		.re-succ-tit {
			font-size: 36rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #333333;
			margin-left: 22rpx;
			
		}
		.re-succ-btn {
			margin-top: 80rpx;
			width: 350rpx;
			height: 80rpx;
			background: #1CC7C7;
			border-radius: 40rpx;
			font-size: 34rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #FFFFFF;
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
}
</style>
