<template>
	<uni-popup ref="dlRef" :animation="true" :is-mask-click="false" mask-background-color="rgba(255, 255, 255, 0.6);">
		<view>兑换成功</view>
		<view @click="handleConfirm">确认</view>
	</uni-popup>
</template>

<script setup>
import {ref} from "vue"

const dlRef = ref(null);

const emits =defineEmits(['confirm'])

function handleConfirm() {
	emits('confirm')
}

function handleShow() {
	dlRef.value.open('center')
}

function handleClose() {
	dlRef.value.close();
}

defineExpose({
	handleShow
})

</script>

<style scoped>

</style>