细节调整

This commit is contained in:
kron
2025-11-12 15:54:03 +08:00
parent 6b96087b68
commit caadb5ea99
3 changed files with 34 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ export const audioFils = {
距离合格:
"https://static.shelingxingqiu.com/attachment/2025-09-17/dcutwrda0amn5kqr4j.mp3",
距离不足:
"https://static.shelingxingqiu.com/attachment/2025-09-17/dcutya57qurnsj6pg4.mp3",
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6hr2faw28t0ianh0.mp3",
轮到你了:
"https://static.shelingxingqiu.com/attachment/2025-09-17/dcutzdrn4lxcpv8aqr.mp3",
第一轮:
@@ -59,6 +59,22 @@ export const audioFils = {
"https://static.shelingxingqiu.com/attachment/2025-09-17/dcutxin69nj1xh7yfz.mp3",
"10环":
"https://static.shelingxingqiu.com/attachment/2025-09-17/dcutxinnvsx0tt7ksa.mp3",
向上调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6ellf5pfvu3l8dhr.mp3",
向右上调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6ellf45v88pirarr.mp3",
向右调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6elleqnhrenggxsb.mp3",
向右下调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6elleo6q16qctf6a.mp3",
向下调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6ellek2mu2cri2n9.mp3",
向左下调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6ellf25yu1pt2k5r.mp3",
向左调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6ellen3zoalxcb06.mp3",
向左上调整:
"https://static.shelingxingqiu.com/attachment/2025-11-12/de6ellf37a2iw6w4pu.mp3",
};
// 版本控制日志函数
@@ -275,7 +291,11 @@ class AudioManager {
// 离线:缓存播放意图(可为字符串或数组),待网络恢复后自动播放
if (!this.networkOnline) {
this.pendingPlayKey = input;
debugLog(`网络不可用,记录播放意图: ${Array.isArray(input) ? input.join(',') : input}`);
debugLog(
`网络不可用,记录播放意图: ${
Array.isArray(input) ? input.join(",") : input
}`
);
return;
}

View File

@@ -40,9 +40,12 @@ const toPage = (path) => {
icon: "none",
});
}
// if (!calibration.value) {
// return uni.$showHint(4);
// }
if (
!calibration.value &&
uni.getAccountInfoSync().miniProgram.envVersion === "release"
) {
return uni.$showHint(4);
}
if ("/pages/first-try".indexOf(path) === -1 && !user.value.trio) {
return uni.showToast({
title: "请先完成新手试炼",

View File

@@ -48,9 +48,12 @@ const toMatchPage = async (gameType, teamSize) => {
icon: "none",
});
}
// if (!calibration.value) {
// return uni.$showHint(4);
// }
if (
!calibration.value &&
uni.getAccountInfoSync().miniProgram.envVersion === "release"
) {
return uni.$showHint(4);
}
if (!user.value.trio) {
return uni.showToast({
title: "请先完成新手试炼",