添加兼容性处理
This commit is contained in:
@@ -153,10 +153,7 @@ onShareTimeline(() => {
|
||||
mode="widthFix"
|
||||
@click="() => toPage('/pages/first-try')"
|
||||
/>
|
||||
<BubbleTip
|
||||
v-if="showGuide"
|
||||
:location="{ top: '60%', left: '40%', fontSize: '14px' }"
|
||||
>
|
||||
<BubbleTip v-if="showGuide" :location="{ top: '60%', left: '40%' }">
|
||||
<text>新人必刷!</text>
|
||||
<text>快来报到吧~</text>
|
||||
</BubbleTip>
|
||||
|
||||
@@ -80,14 +80,16 @@ async function onReceiveMessage(messages = []) {
|
||||
wait.value = msg.wait;
|
||||
uni.$emit("update-ramain", count);
|
||||
if (scores.value.length === 6) audioManager.play("第三轮", false);
|
||||
setInterval(() => {
|
||||
count -= 1;
|
||||
if (count === 30) {
|
||||
audioManager.play("最后30秒");
|
||||
clearInterval(timer.value);
|
||||
timer.value = null;
|
||||
}
|
||||
}, 1000);
|
||||
if (!timer.value) {
|
||||
timer.value = setInterval(() => {
|
||||
count -= 1;
|
||||
if (count === 30) {
|
||||
audioManager.play("最后30秒");
|
||||
clearInterval(timer.value);
|
||||
timer.value = null;
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user