| 1234567891011121314151617181920212223242526272829303132333435 |
- <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>
|