<template>
	<view class="app-body">
		
		<view class="buy-body fx-h fx-bc fx-ac">
			<u-icon name="checkmark-circle" color="#ef4034" size="90"></u-icon>
			<view class="title">抢购成功</view>
			<view class="nvbody">
				<view class="sbtn ihover" @tap="tapToOrder">查看订单</view>
				<view class="no-sbtn ihover" @tap="utils.navigateBack()">返回抢货列表</view>
			</view>
			
			
		</view>
		
		
	</view>

</template>


<script>
	import { mapState, mapMutations } from 'vuex';
	export default {
		data() {
			return {}
		},
		onLoad() {
			this.initView();
		},
		methods: {
			initView: function() {
				
			},
			tapToOrder:function(){
				uni.navigateTo({
					url:"/pages/guild/order/order"
				})
			}
		}
	}
</script>

<style lang="scss">
	.buy-body{
		padding: 40px;
		.title{
			font-size: 21px;
			color: #303133;
			margin-top: 20rpx;
		}
		.nvbody{
			padding-top: 57px;
			width: 100%;
			.sbtn{
				margin-top: 17px;
				display: flex;
				align-items: center;
				justify-content: center;
				height: 45px;
				font-size: 18px;
				color: #fff;
				background-color: #dc262b;
				border-radius: 5px;
				width: 100%;
			}
			.no-sbtn{
				background: #fff;
				color: #303133;
				border: 1px solid #ccc;
				height: 45px;
				font-size: 18px;
				display: flex;
				align-items: center;
				justify-content: center;
				border-radius: 5px;
				margin-top: 20px;
			}
		}
		
	}
</style>