<template>
	<view class="pages-content">
		<view>
			<u-icon name="checkmark-circle-fill" size="150" color="#00aaff"></u-icon>
		</view>
		<view class="pc-a">核销成功</view>
		<view>{{changeNum}}个乐豆</view>
		<view>
			<u-button type="primary" @click="toPage">返回核销记录</u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				changeNum: 0
			}
		},
		onLoad(opts) {
			this.changeNum = opts.changeNum
		},
		methods: {
			toPage(){
				uni.reLaunch({
					url:'/pages/hexiao/index'
				})
			}
		}
	}
</script>

<style lang="less">
	.pages-content{
		display: flex;
		justify-content: center;
		flex-direction: column;
		width: 100%;
		padding: 100rpx;
		text-align: center;
		height: 60vh;

		.pc-a{
			font-size: 40rpx;
		}
		>view{
			padding: 20rpx 0;
		}
	}
</style>
