diff --git a/src/components/BackToGame.vue b/src/components/BackToGame.vue new file mode 100644 index 0000000..f8158d1 --- /dev/null +++ b/src/components/BackToGame.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/src/components/BowTarget.vue b/src/components/BowTarget.vue index 3d009cf..2fe597a 100644 --- a/src/components/BowTarget.vue +++ b/src/components/BowTarget.vue @@ -214,7 +214,7 @@ const simulShoot2 = async () => { top: calcRealY(bow.y), backgroundColor: 'blue', }" - >{{ bow.ring }}{{ index + 1 }} diff --git a/src/components/Container.vue b/src/components/Container.vue index 3b9c14f..b434554 100644 --- a/src/components/Container.vue +++ b/src/components/Container.vue @@ -4,6 +4,7 @@ import { onShow } from "@dcloudio/uni-app"; import AppBackground from "@/components/AppBackground.vue"; import Header from "@/components/Header.vue"; import ScreenHint from "@/components/ScreenHint.vue"; +import BackToGame from "@/components/BackToGame.vue"; import { getCurrentGameAPI } from "@/apis"; import { debounce } from "@/util"; defineProps({ @@ -27,6 +28,10 @@ defineProps({ type: Boolean, default: false, }, + showBackToGame: { + type: Boolean, + default: true, + }, }); const isIos = ref(true); const showHint = ref(false); @@ -55,6 +60,7 @@ const goBack = () => {
+ - 完成进行中的对局才能开启新的。您有正在进行中的对局,是否进入? + 完成进行中的对局才能开启新的。您有正在进行中的对局,是否进入?