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 ScorePanel2 from "@/components/ScorePanel2.vue";
|
2025-05-16 15:56:54 +08:00
|
|
|
import ScoreResult from "@/components/ScoreResult.vue";
|
2025-05-10 16:57:36 +08:00
|
|
|
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">
|
|
|
|
|
<AppBackground type="1" />
|
2025-05-08 22:05:53 +08:00
|
|
|
<Header title="个人单组练习" />
|
2025-05-16 15:56:54 +08:00
|
|
|
<ShootProgress tips="请开始射箭第一轮" total="120" />
|
2025-05-10 16:57:36 +08:00
|
|
|
<BowTarget
|
|
|
|
|
totalRound="10"
|
|
|
|
|
currentRound="4"
|
|
|
|
|
avatar="../static/avatar.png"
|
|
|
|
|
power="45"
|
|
|
|
|
/>
|
|
|
|
|
<ScorePanel2 :scores="[1, 2, 3, 4, 5, 6]" />
|
2025-05-16 15:56:54 +08:00
|
|
|
<ScoreResult
|
|
|
|
|
:total="12"
|
|
|
|
|
:rowCount="6"
|
|
|
|
|
: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>
|