<template>
	<uni-popup ref="WinningRef" :maskClick="false">
		<view class="winning-box" :style="{height:showBtn ? '720rpx' : '644rpx'}" v-if="prizeInfo">
			<view class="close-winning-icon" @click.stop="onClose()">
				<image src="@/static/Lottery/close.png" mode="aspectFit"></image>
			</view>
			<view class="winning-title">
				<image src="@/static/Lottery/Winning-title.png" mode="aspectFit"></image>
			</view>
			<view class="winning-level">
				{{prizeInfo.prizeChinese}}
			</view>
			<view class="winning-img">
				<image :src="prizeInfo.prizeImage" mode="aspectFit"></image>
			</view>
			<view class="winning-btn">
				<text @click.stop="onClose()">知道了</text>
				<text v-if="showBtn" @click.stop="setAwardInformation()">填写领奖信息</text>
			</view>

		</view>
	</uni-popup>
</template>

<script>
	export default {
		props: {
			singleExchangePoints: {
				type: Number,
				default: 0
			}
		},
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {


		}
	}
</script>

<style>
</style>