<template>
	<view class="container">
		<view class="result-box">
			<view class="icon-box">
				<view class="iconfont icon-success-filling"></view>
			</view>
			<view class="message-box">
				已提交开票申请，请耐心等待
			</view>
		</view>
		<view class="button-box">
			<u-button type="primary" shape="circle" @click="onClick()">查看开票记录</u-button>
		</view>
	</view>
</template>

<script setup>
	import { ref } from 'vue'
	import { onLoad } from '@dcloudio/uni-app'
	
	function onClick() {
		uni.redirectTo({
			url: '/pages/InvoiceApplication/InvoiceApplication?menuCurrent=1'
		})
	}
	
	onLoad(() => {
	})
</script>

<style lang="scss" scoped>
	.container {
		height: 100vh;
		width: 100vw;
		background-color: $uni-bg-color;
		padding: 0 20rpx;
		.result-box {
			width: 100%;
			padding: 120rpx 0;
			.icon-box {
				width: 100%;
				text-align: center;
				margin-bottom: 30rpx;
				.iconfont {
					font-size:150rpx;
					color: $uni-color-primary;
				}
			}
			.message-box {
				width: 100%;
				font-size: $uni-title-font-size-2;
				text-align: center;
			}
		}
		.button-box {
			width: 50%;
			margin: 0 auto;
		}
	}
</style>