<template>
	<view class="comfirm-order-success">
		<image class="ok" src="../../static/icon/ok.png"></image>
		<text class="t1">提交成功</text>
		<text class="t2">订单编号：{{ order_num }}</text>
		<text class="t3">应付金额:￥{{ money }}.00</text>
		<view class="btn">
			<navigator open-type="navigateBack" class="big-btn">返回</navigator>
			<navigator :url="'../pay-order/pay-order?fromS=1&order_num=' + order_num + '&money=' + money"  class="big-btn bg">付款</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				order_num: '',
				money: ''
			}
		},
		onLoad({ order_num, money }) {
			this.order_num = order_num
			this.money = money
		}
	}
</script>

<style lang="scss">
	.comfirm-order-success {
		@include flex(column);
		height: 100vh;
		background: $app-base-bg;
		justify-content: flex-start;
		image {
			width: 176rpx;
			height: 176rpx;
			margin-top: 136rpx;
		}
		.t1 {
			font-size: 48rpx;
			margin-top: 63rpx;
		}
		.t2, .t3 {
			color: #858585;
			font-size: 32rpx;
			margin-top: 30rpx;
		}
		.btn {
			@include flex();
			justify-content: space-between;
			margin-top: 177rpx;
			height: 80rpx;
			width: 630rpx;
			navigator, view {
				width: 280rpx;
				font-size: 34rpx;
			}
		}
	}
</style>
