diff --git a/src/components/Container.vue b/src/components/Container.vue index 7096157..94fa4ef 100644 --- a/src/components/Container.vue +++ b/src/components/Container.vue @@ -5,7 +5,7 @@ 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 { getCurrentGameAPI, laserAimAPI } from "@/apis"; import { debounce } from "@/util"; const props = defineProps({ title: { @@ -108,7 +108,8 @@ const goBack = () => { uni.navigateBack(); }; -const goCalibration = () => { +const goCalibration = async () => { + await laserAimAPI(); uni.navigateTo({ url: "/pages/calibration", }); diff --git a/src/components/Header.vue b/src/components/Header.vue index 055c48b..2b19086 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -267,6 +267,7 @@ onBeforeUnmount(() => { } .user-header > image:last-child { width: 36rpx; + height: 36rpx; } .user-header > text:nth-child(2) { font-weight: 500; diff --git a/src/components/RingBarChart.vue b/src/components/RingBarChart.vue index b4d4e0d..401af63 100644 --- a/src/components/RingBarChart.vue +++ b/src/components/RingBarChart.vue @@ -49,7 +49,8 @@ const ringText = (ring) => { diff --git a/src/pages/calibration.vue b/src/pages/calibration.vue index 71d230d..5395d1b 100644 --- a/src/pages/calibration.vue +++ b/src/pages/calibration.vue @@ -9,7 +9,7 @@ import audioManager from "@/audioManager"; const guides = [ { - title: "箭头对准靶子,直至语音提示激光坐标已校准", + title: "箭头面向墙面,直至语音提示激光坐标已校准", src: "https://static.shelingxingqiu.com/attachment/2025-10-30/ddv9p5fk5wscg7hrfo.png", }, { diff --git a/src/pages/my-device.vue b/src/pages/my-device.vue index 3560e63..41c07ed 100644 --- a/src/pages/my-device.vue +++ b/src/pages/my-device.vue @@ -4,7 +4,12 @@ import { onShow } from "@dcloudio/uni-app"; import Container from "@/components/Container.vue"; import ScreenHint from "@/components/ScreenHint.vue"; import SButton from "@/components/SButton.vue"; -import { bindDeviceAPI, getMyDevicesAPI, unbindDeviceAPI } from "@/apis"; +import { + bindDeviceAPI, + getMyDevicesAPI, + unbindDeviceAPI, + laserAimAPI, +} from "@/apis"; import useStore from "@/store"; import { storeToRefs } from "pinia"; const showTip = ref(false); @@ -108,7 +113,8 @@ const copyEmail = () => { }); }; -const goCalibration = () => { +const goCalibration = async () => { + await laserAimAPI(); uni.navigateTo({ url: "/pages/calibration", }); @@ -225,7 +231,7 @@ onShow(() => { 已赠送6个月射灵世界会员 - 校准智能弓 + 开启智能弓进行校准 校准时弓箭激光将开启,请勿直视激光