This commit is contained in:
yixu
2025-12-19 12:44:17 +08:00
parent a3af6a7d89
commit ce179df652
3 changed files with 9 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@@ -93,7 +93,7 @@ const handleItemBtn = (id, event) => {
flex-direction: row;
justify-content: space-between;
align-items: center;
background-image: url("../assets/images/prizelist-item-bg.webp");
background-image: url("../assets/images/new/prizelist-item-bg.webp");
background-repeat: no-repeat;
background-size: 100% 100%;
}

View File

@@ -1,7 +1,7 @@
<script setup>
import { Storage, generateQR } from "../libs/utils.js"
import ModalTransition from "./ModalTransition.vue"
import { ref, onMounted } from "vue"
import { ref, watch } from "vue"
import Haibao from "../libs/haibao.js"
import ruleBg from "../assets/images/new/rule-share.png"
import globalToastEvent, { ToastType } from '../globalToastEvent';
@@ -10,6 +10,13 @@ const props = defineProps({
show: false,
})
watch(() => props.show, async (newVal) => {
if (!newVal) {
return
}
openHaibao();
}, { immediate: true })
const emit = defineEmits(['close'])
const gotoLottery = () => {
globalToastEvent.emit(ToastType.SHOW_LOTTERY);
@@ -20,14 +27,10 @@ const cancelBtn = () => {
}
// 海报
const haibaoShow = ref(false);
const haibaoUrl = ref('');
const openHaibao = (e) => {
haibaoShow.value = true
handleHaibao()
}
onMounted(openHaibao)
const handleHaibao = async () => {
const loading = weui.loading()