细节完善

This commit is contained in:
kron
2025-10-31 10:22:02 +08:00
parent a8ee1f0be3
commit d9d1efa316
5 changed files with 16 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ import audioManager from "@/audioManager";
const guides = [
{
title: "箭头对准靶子,直至语音提示激光坐标已校准",
title: "箭头面向墙面,直至语音提示激光坐标已校准",
src: "https://static.shelingxingqiu.com/attachment/2025-10-30/ddv9p5fk5wscg7hrfo.png",
},
{

View File

@@ -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(() => {
<text :style="{ color: '#fed847' }">已赠送6个月射灵世界会员</text>
</view>
<SButton :onClick="goCalibration" width="60vw" :rounded="40">
校准智能弓
开启智能弓进行校准
</SButton>
<text :style="{ marginTop: '20rpx', fontSize: '20rpx', color: '#fff9' }"
>校准时弓箭激光将开启请勿直视激光</text