细节调整

This commit is contained in:
kron
2025-07-11 00:47:34 +08:00
parent e764160633
commit 566f07080a
17 changed files with 113 additions and 110 deletions

View File

@@ -52,19 +52,19 @@ const props = defineProps({
});
const showRoundTips = ref(false);
const startCount = ref(false);
// const startCount = ref(false);
const prevLength = ref(0);
const timer = ref(null);
watch(
() => props.start,
(newVal) => {
startCount.value = newVal;
},
{
immediate: true,
}
);
// watch(
// () => props.start,
// (newVal) => {
// startCount.value = newVal;
// },
// {
// immediate: true,
// }
// );
watch(
() => props.scores,
@@ -174,7 +174,7 @@ const simulShoot2 = async () => {
? 'green'
: 'red',
}"
>{{ bow.ring }}</view
>{{ index + 1 }}</view
>
</block>
<block v-for="(bow, index) in blueScores" :key="index">
@@ -205,7 +205,7 @@ const simulShoot2 = async () => {
<text :style="{ color: '#fff', wordBreak: 'break-all' }">{{
scores.length ? scores[scores.length - 1] : ""
}}</text>
<StartCountdown :start="startCount" />
<!-- <StartCountdown :start="startCount" /> -->
</view>
</template>