<template>
	<view class="sign">
		<statusBar :item="navBarData"></statusBar>
		<view class="signBox">
			<view class="img">
				<image src="../../static/Vector.png" mode="aspectFill"></image>
			</view>
			<text>报名已提交</text>
			<text>等待管理员审核</text>
			<button @click="gotoIndex">查看课程</button>
			<text @click="gotoIndex">返回首页</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				navBarData: {
					title: '报名结果',
					btn: 1
				},
			};
		},
		methods: {
			gotoIndex(){
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.sign {
		margin-top: 230px;
		.signBox {
			width: 100%;
			height: 100%;
			text-align: center;
			display: flex;
			flex-direction: column;
			justify-content: space-around;

			.img {
				width: 100%;
				height: 100px;

				image {
					width: 160rpx;
					height: 160rpx;
				}
			}

			text {
				&:nth-child(2) {
					font-size: 34rpx;
					margin-bottom: 8px;
					font-weight: 600;
				}

				&:nth-child(3) {
					font-size: 24rpx;
					color: rgb(144, 145, 147);
					margin-bottom: 15px;
				}

				&:nth-child(5) {
					font-size: 24rpx;
				}
			}

			button {
				width: 200rpx;
				height: 64rpx;
				color: white;
				line-height: 33px;
				background-color: #0056A8;
				font-size: 28rpx;
				border-radius: 100px;
				margin-bottom: 10px;
			}
		}
	}
</style>