<template>
	<view>
		<view class="okView">
			<u-icon name="checkbox-mark" color="rgb(55,186,189)" size="260rpx"></u-icon>
			<view style="font-size: 35rpx;font-weight: bold;">下 单 成 功</view>
		</view>
		<view style="height: 350rpx; text-align: center;padding:40rpx 0 ;color: #848484;">
			请前往 我的 → 兑换记录 查看
		</view>
		<view style="width:300rpx; color: #000000; border-radius: 5px; margin:0 auto">
			<u-button icon="reload" color="rgb(55,186,189)" @click="toHomePage()" text="返回主页"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toHomePage() {
				uni.reLaunch({
					url: '../../pages/home/index'
				})
			}
			// uni.requestSubscribeMessage({
			// 	tmplIds: ['ekI5ueMK83FprLjYmRWIy4mfS3kWl6RHh3JT4DtLiN8'],
			// 	success(res) {
			//	}
			// })

		}
	}
</script>

<style>
	.okView {
		background-color: #f0f0f0;
		border-radius: 20px;
		padding: 60rpx;
		height: 300rpx;
		width: 50%;
		margin: 0 auto;
		margin-top: 20%;
		display: flex;
		flex-direction: column;
		align-items: center;

	}
</style>
