功能完善

This commit is contained in:
kron
2025-06-15 15:53:57 +08:00
parent 7ac84a6129
commit 448f88a77e
21 changed files with 424 additions and 178 deletions

View File

@@ -4,6 +4,7 @@ import IconButton from "@/components/IconButton.vue";
import SButton from "@/components/SButton.vue";
import ImageShare from "@/components/ImageShare.vue";
import CoachComment from "@/components/CoachComment.vue";
import BowData from "@/components/BowData.vue";
const props = defineProps({
show: {
type: Boolean,
@@ -29,6 +30,7 @@ const props = defineProps({
const showPanel = ref(true);
const showComment = ref(false);
const showShare = ref(false);
const showBowData = ref(false);
const closePanel = () => {
showPanel.value = false;
setTimeout(() => {
@@ -71,7 +73,7 @@ setTimeout(() => {
.reduce((last, next) => last + next, 0)
}}</text
>
<button>
<button @click="() => (showBowData = true)">
<text>查看靶纸</text>
<image
src="../static/enter-arrow-blue.png"
@@ -103,6 +105,11 @@ setTimeout(() => {
<CoachComment :show="showComment" :onClose="() => (showComment = false)">
{{ result.adjustmentHint }}
</CoachComment>
<BowData
:arrows="result.arrows"
:show="showBowData"
:onClose="() => (showBowData = false)"
/>
</view>
</template>