<template>
	<view class="cmain">
		<view class="icon">&#xe602;</view>
		<view class="desc">购买成功。</view>
		<button class="btn" @click="goBuy()" type="warn">继续购买</button>
		<button class="btn" @click="go()" style="margin-top: 20px;">订单列表</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {
			go() {
				uni.redirectTo({
					url: '/pages/market/two/purchaser/order/list'
				});
			},
			goBuy() {
				uni.redirectTo({
					url: '/pages/market/two/list'
				});
			}
		}
	};
</script>

<style lang="scss">
	.cmain {
		text-align: center;
		padding: 40px;
		color: $font-c;

		.icon {
			font-size: 150px;
			color: $main-color;
		}

		.desc {
			margin-top: 7px;
		}

		.btn {
			margin-top: 50px;
		}
	}
</style>