<template>
	<view class="page-box">
		<view class="submit-argument">
			<image class="argument-img" src="/pages/my/static/electronicInvoice/enterIcon.png"></image>
			<view class="argument-message">提交成功</view>
			<view class="argument-text">由索道分公司为你开具电子发票, 预计在24小时内完成, 请耐心等待</view>
			<view class="argument-btn" @click="toBillingRecord()">查看发票进度</view>
		</view>
	</view>
</template>

<script>
export default {
  data() {
    return {
      merchantId:'',
      companyId:'',
      search:'',
    }
  },
  onLoad(option) {
    this.merchantId = option.merchantId
    this.companyId = option.companyId
    this.search = option.search
  },
  methods: {
    toBillingRecord(){//跳转开票记录
      uni.navigateTo({
			  url: '/pages/my/electronicInvoice/billingRecord/billingRecord?merchantId='+this.merchantId+'&companyId='+this.companyId+'&search='+this.search
      })
    },
  },
}
</script>

<style scoped="scoped" lang="scss">
.page-box{
	background-color: #F7F8FA;
	height: 100vh;
}
.submit-argument{
	width: 640rpx;
	margin: auto;
	position: fixed;
	top: 230rpx;
	left: 0;
	right: 0;
	.argument-img{
		display: block;
		width: 298rpx;
		height: 248rpx;
		margin: 0 auto 40rpx auto;
	}
	.argument-message{
		font-weight: 600;
		font-size: 36rpx;
		color: #333333;
		line-height: 50rpx;
		text-align: center;
		margin-bottom: 26rpx;
	}
	.argument-text{
		font-weight: 400;
		font-size: 28rpx;
		color: #999999;
		line-height: 40rpx;
		margin-bottom: 88rpx;
	}
	.argument-btn{
		width: 296rpx;
		height: 96rpx;
		background: #FE6600;
		border-radius: 48rpx;
		margin: 0 auto;
		font-weight: 400;
		font-size: 32rpx;
		color: #FFFFFF;
		line-height: 96rpx;
		text-align: center;
	}
}
</style>
