This commit is contained in:
xiaoaojiao
2025-09-23 16:12:34 +08:00
parent c402cbc74c
commit b0d2c9ed1a
3 changed files with 6 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ const adGoto = () => {
display: block !important; display: block !important;
} }
.close { .ad .close {
position: absolute; position: absolute;
width: 8.148148vw; width: 8.148148vw;
height: 8.148148vw; height: 8.148148vw;

View File

@@ -334,13 +334,14 @@ watch(() => mergeId, async (newVal) => {
} }
}, { immediate: true }) }, { immediate: true })
globalToastEvent.on(ToastType.SHOW_LOTTERY, () => { globalToastEvent.on(ToastType.SHOW_LOTTERY, async() => {
await initUserGameInfos(false, false);
lotteryShow.value = true lotteryShow.value = true
}) })
watch(() => lotteryShow.value, async (newVal) => { // watch(() => lotteryShow.value, async (newVal) => {
initUserGameInfos(true, true); // initUserGameInfos(true, true);
}, { immediate: true }) // }, { immediate: true })
</script> </script>

View File

@@ -108,7 +108,6 @@ watch(() => props.show, async (newVal) => {
const loading = weui.loading() const loading = weui.loading()
let lottteryResult = null let lottteryResult = null
if (props.type === 'draw') { if (props.type === 'draw') {
lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' }) lottteryResult = await Request("lottery/draw", { pool: 'game', consume_type: 'points' })
} }