修复大乱斗返回游戏bug

This commit is contained in:
kron
2025-07-19 16:16:53 +08:00
parent b9aff0082b
commit 31e89144ec
3 changed files with 31 additions and 42 deletions

View File

@@ -7,6 +7,10 @@ import { storeToRefs } from "pinia";
const store = useStore();
const { user } = storeToRefs(store);
const props = defineProps({
show: {
type: Boolean,
default: true,
},
start: {
type: Boolean,
default: false,
@@ -182,7 +186,7 @@ onUnmounted(() => {
</script>
<template>
<view class="container">
<view class="container" :style="{ display: show ? 'block' : 'none' }">
<view>
<image src="../static/shooter.png" mode="widthFix" />
<text>{{ start && remain === 0 ? "时间到!" : tips }}</text>