添加兼容性处理
This commit is contained in:
@@ -26,7 +26,7 @@ const props = defineProps({
|
|||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
font-size: 13px;
|
font-size: 24rpx;
|
||||||
}
|
}
|
||||||
.normal {
|
.normal {
|
||||||
background-image: url("../static/bubble-tip.png");
|
background-image: url("../static/bubble-tip.png");
|
||||||
|
|||||||
@@ -225,11 +225,12 @@ onMounted(() => {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 27px;
|
line-height: 27px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
|
font-size: 28rpx;
|
||||||
}
|
}
|
||||||
.container-content > view:nth-child(2) > view > text {
|
.container-content > view:nth-child(2) > view > text {
|
||||||
font-size: 12px;
|
font-size: 20rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
margin-left: 3px;
|
margin-left: 5rpx;
|
||||||
}
|
}
|
||||||
.container-content > view:nth-child(3) {
|
.container-content > view:nth-child(3) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ onBeforeUnmount(() => {
|
|||||||
font-size: 18rpx;
|
font-size: 18rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -0.5rpx;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -153,10 +153,7 @@ onShareTimeline(() => {
|
|||||||
mode="widthFix"
|
mode="widthFix"
|
||||||
@click="() => toPage('/pages/first-try')"
|
@click="() => toPage('/pages/first-try')"
|
||||||
/>
|
/>
|
||||||
<BubbleTip
|
<BubbleTip v-if="showGuide" :location="{ top: '60%', left: '40%' }">
|
||||||
v-if="showGuide"
|
|
||||||
:location="{ top: '60%', left: '40%', fontSize: '14px' }"
|
|
||||||
>
|
|
||||||
<text>新人必刷!</text>
|
<text>新人必刷!</text>
|
||||||
<text>快来报到吧~</text>
|
<text>快来报到吧~</text>
|
||||||
</BubbleTip>
|
</BubbleTip>
|
||||||
|
|||||||
@@ -80,14 +80,16 @@ async function onReceiveMessage(messages = []) {
|
|||||||
wait.value = msg.wait;
|
wait.value = msg.wait;
|
||||||
uni.$emit("update-ramain", count);
|
uni.$emit("update-ramain", count);
|
||||||
if (scores.value.length === 6) audioManager.play("第三轮", false);
|
if (scores.value.length === 6) audioManager.play("第三轮", false);
|
||||||
setInterval(() => {
|
if (!timer.value) {
|
||||||
count -= 1;
|
timer.value = setInterval(() => {
|
||||||
if (count === 30) {
|
count -= 1;
|
||||||
audioManager.play("最后30秒");
|
if (count === 30) {
|
||||||
clearInterval(timer.value);
|
audioManager.play("最后30秒");
|
||||||
timer.value = null;
|
clearInterval(timer.value);
|
||||||
}
|
timer.value = null;
|
||||||
}, 1000);
|
}
|
||||||
|
}, 1000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user