diff --git a/src/components/BubbleTip.vue b/src/components/BubbleTip.vue index 4ecc30f..e357bd4 100644 --- a/src/components/BubbleTip.vue +++ b/src/components/BubbleTip.vue @@ -26,7 +26,7 @@ const props = defineProps({ background-size: contain; background-repeat: no-repeat; background-position: center; - font-size: 13px; + font-size: 24rpx; } .normal { background-image: url("../static/bubble-tip.png"); diff --git a/src/components/ScoreResult.vue b/src/components/ScoreResult.vue index ae191ea..3ed1703 100644 --- a/src/components/ScoreResult.vue +++ b/src/components/ScoreResult.vue @@ -225,11 +225,12 @@ onMounted(() => { text-align: center; line-height: 27px; color: #333333; + font-size: 28rpx; } .container-content > view:nth-child(2) > view > text { - font-size: 12px; + font-size: 20rpx; color: #666666; - margin-left: 3px; + margin-left: 5rpx; } .container-content > view:nth-child(3) { width: 100%; diff --git a/src/components/ShootProgress2.vue b/src/components/ShootProgress2.vue index 0475885..d3b2694 100644 --- a/src/components/ShootProgress2.vue +++ b/src/components/ShootProgress2.vue @@ -113,8 +113,8 @@ onBeforeUnmount(() => { font-size: 18rpx; color: #fff; position: absolute; - top: -0.5rpx; + top: 50%; left: 50%; - transform: translateX(-50%); + transform: translate(-50%, -50%); } diff --git a/src/pages/index.vue b/src/pages/index.vue index 44afb87..7b02db7 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -153,10 +153,7 @@ onShareTimeline(() => { mode="widthFix" @click="() => toPage('/pages/first-try')" /> - + 新人必刷! 快来报到吧~ diff --git a/src/pages/practise-one.vue b/src/pages/practise-one.vue index 07c8e6a..098fbaa 100644 --- a/src/pages/practise-one.vue +++ b/src/pages/practise-one.vue @@ -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); + } } } });