2025-05-08 22:05:53 +08:00
|
|
|
<script setup>
|
2025-05-10 16:57:36 +08:00
|
|
|
import { ref } from "vue";
|
2025-05-08 22:05:53 +08:00
|
|
|
import AppBackground from "@/components/AppBackground.vue";
|
|
|
|
|
import Header from "@/components/Header.vue";
|
2025-05-10 16:57:36 +08:00
|
|
|
import ShootProgress from "@/components/ShootProgress.vue";
|
|
|
|
|
import BowTarget from "@/components/BowTarget.vue";
|
|
|
|
|
import ScorePanel from "@/components/ScorePanel.vue";
|
|
|
|
|
import ScoreResult from "@/components/ScoreResult.vue";
|
|
|
|
|
const scores = ref(new Array(32).fill(9));
|
|
|
|
|
const showScore = ref(false);
|
|
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
showScore.value = true;
|
|
|
|
|
}, 2000);
|
2025-05-08 22:05:53 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2025-05-10 16:57:36 +08:00
|
|
|
<view class="container">
|
2025-05-10 22:16:59 +08:00
|
|
|
<AppBackground type="1" />
|
2025-05-08 22:05:53 +08:00
|
|
|
<Header title="个人耐力挑战" />
|
2025-05-10 16:57:36 +08:00
|
|
|
<ShootProgress tips="请连续射箭36支" total="120" />
|
|
|
|
|
<BowTarget
|
|
|
|
|
totalRound="10"
|
|
|
|
|
currentRound="4"
|
|
|
|
|
avatar="../static/avatar.png"
|
|
|
|
|
power="45"
|
|
|
|
|
/>
|
|
|
|
|
<ScorePanel :scores="scores" :total="36" :rowCount="9" />
|
|
|
|
|
<ScoreResult
|
|
|
|
|
:total="36"
|
|
|
|
|
:rowCount="9"
|
|
|
|
|
:show="showScore"
|
|
|
|
|
:onClose="() => (showScore = false)"
|
|
|
|
|
/>
|
2025-05-08 22:05:53 +08:00
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
2025-05-10 16:57:36 +08:00
|
|
|
<style scoped>
|
|
|
|
|
.container {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
</style>
|