添加校准声音
This commit is contained in:
@@ -78,6 +78,7 @@ const toFristTryPage = () => {
|
||||
|
||||
const unbindDevice = async () => {
|
||||
await unbindDeviceAPI(device.value.deviceId);
|
||||
uni.setStorageSync("calibration", false);
|
||||
uni.showToast({
|
||||
title: "解绑成功",
|
||||
icon: "success",
|
||||
@@ -203,10 +204,6 @@ onShow(() => {
|
||||
<text>{{ user.nickName }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="!calibration">
|
||||
<text>恭喜,你的弓箭和账号已成功绑定!</text>
|
||||
<text :style="{ color: '#fed847' }">已赠送6个月射灵世界会员</text>
|
||||
</view>
|
||||
<block v-if="calibration">
|
||||
<SButton :onClick="toFristTryPage" width="60vw" :rounded="40"
|
||||
>进入新手试炼</SButton
|
||||
@@ -223,6 +220,10 @@ onShow(() => {
|
||||
</view>
|
||||
</block>
|
||||
<block v-else>
|
||||
<view>
|
||||
<text>恭喜,你的弓箭和账号已成功绑定!</text>
|
||||
<text :style="{ color: '#fed847' }">已赠送6个月射灵世界会员</text>
|
||||
</view>
|
||||
<SButton :onClick="goCalibration" width="60vw" :rounded="40">
|
||||
校准智能弓
|
||||
</SButton>
|
||||
@@ -236,7 +237,7 @@ onShow(() => {
|
||||
<view @click="toDeviceIntroPage">
|
||||
<image src="../static/device-icon.png" mode="widthFix" />
|
||||
<text>{{ device.deviceName }}</text>
|
||||
<view class="calibration" v-if="calibration">
|
||||
<view class="calibration">
|
||||
<button hover-class="none" @click="goCalibration">
|
||||
<text>去校准</text>
|
||||
<image src="../static/enter-arrow-blue.png" mode="widthFix" />
|
||||
|
||||
Reference in New Issue
Block a user