update
This commit is contained in:
@@ -353,9 +353,9 @@ const gameSwiperShow = ref(false);
|
|||||||
const navigateGamePage = async () => {
|
const navigateGamePage = async () => {
|
||||||
const result = await Request('game/info', { refresh_official: false, refresh_cap_scan: false }, "GET")
|
const result = await Request('game/info', { refresh_official: false, refresh_cap_scan: false }, "GET")
|
||||||
if (result?.res?.status === 200) {
|
if (result?.res?.status === 200) {
|
||||||
globalStore.draw_chances = result.json.draw_chances
|
globalStore.game_chances = result.json.game_chances
|
||||||
globalStore.completed_games_today = result.json.completed_games_today || [];
|
globalStore.completed_games_today = result.json.completed_games_today || [];
|
||||||
if (globalStore.draw_chances <= 0) {
|
if (globalStore.game_chances <= 0) {
|
||||||
return weui.alert("还没有探索机会,快去参加活动吧")
|
return weui.alert("还没有探索机会,快去参加活动吧")
|
||||||
} else {
|
} else {
|
||||||
gameSwiperShow.value = true;
|
gameSwiperShow.value = true;
|
||||||
@@ -468,7 +468,7 @@ const handleAddress = (id) => {
|
|||||||
<img src="../assets/images/new/task.webp" alt="任务">
|
<img src="../assets/images/new/task.webp" alt="任务">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div @click="toggleMusicState" :class="{ 'show-music-btn': gameSwiperShow || gamePageShow }">
|
<div @click="toggleMusicState" :class="{ 'show-music-btn': gameSwiperShow || gamePageShow || gameDemoShow }">
|
||||||
<div v-if="isMusicOn" key="on" class="scene-item item-4">
|
<div v-if="isMusicOn" key="on" class="scene-item item-4">
|
||||||
<img src="../assets/images/new/music.webp" alt="音乐开">
|
<img src="../assets/images/new/music.webp" alt="音乐开">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user