update
This commit is contained in:
@@ -360,6 +360,11 @@ watch(() => lotteryShow.value, async (newVal) => {
|
||||
initUserGameInfos(true, true);
|
||||
}, { immediate: true })
|
||||
|
||||
import Popup from './Popup.vue'
|
||||
const isPopupVisible = ref(false);
|
||||
const navigatePopupPage = () => {
|
||||
isPopupVisible.value = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -393,8 +398,7 @@ watch(() => lotteryShow.value, async (newVal) => {
|
||||
<p class="lottery-value">{{ globalStore.draw_chances }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="scene-item item-2" @click="navigateSelectTemplatePage"
|
||||
:class="{ 'disabled': globalStore.game_chances <= 0 }">
|
||||
<div class="scene-item item-2" @click="navigatePopupPage">
|
||||
<img src="../assets/images/join.webp" alt="立即参与">
|
||||
<div class="join-main">
|
||||
<p class="join-value">{{ globalStore.game_chances }}</p>
|
||||
@@ -431,6 +435,7 @@ watch(() => lotteryShow.value, async (newVal) => {
|
||||
<PhotoSquare @go-my-photo="showMyPhoto" v-model:show="isPhotoSquareVisible" />
|
||||
<Login :show="loginShow" @login-success="handleLoginSuccess" />
|
||||
<Lottery :show="lotteryShow" @close="lotteryShow = false" :type="lotteryType" :data="lotteryNoticeData"></Lottery>
|
||||
<Popup v-model:show="isPopupVisible" />
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user