0804 eve
This commit is contained in:
parent
a99b5bd894
commit
69c64501cf
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.9 KiB |
@ -110,7 +110,7 @@ function confirmChoices() {
|
|||||||
|
|
||||||
if (wrongCount > 0) {
|
if (wrongCount > 0) {
|
||||||
playConfirmSound(false);
|
playConfirmSound(false);
|
||||||
time.value += wrongCount * 10; // 每个错误选项罚时10秒
|
time.value += wrongCount * 20; // 每个错误选项罚时20秒
|
||||||
} else {
|
} else {
|
||||||
playConfirmSound(true);
|
playConfirmSound(true);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,8 +16,6 @@ defineProps<{
|
|||||||
<img src="../../assets/game/烟花.webp" alt="" class="decoration bg-fireworks"
|
<img src="../../assets/game/烟花.webp" alt="" class="decoration bg-fireworks"
|
||||||
style="position: absolute;width: 60%;left: 20%;top: -8%;z-index: 1;">
|
style="position: absolute;width: 60%;left: 20%;top: -8%;z-index: 1;">
|
||||||
<div class="bar-container">
|
<div class="bar-container">
|
||||||
<img src="../../assets/game/排行榜太阳.webp" class="decoration bg-sun" style="right: 8%;top: 33%;" alt="">
|
|
||||||
<img src="../../assets/game/排行榜太阳.webp" class="decoration bg-sun" style="left: 17%;top: 9%;" alt="">
|
|
||||||
<div class="bar" v-for="(item, index) in [leaderBoard[1], leaderBoard[0], leaderBoard[2]]" :key="index"
|
<div class="bar" v-for="(item, index) in [leaderBoard[1], leaderBoard[0], leaderBoard[2]]" :key="index"
|
||||||
:class="{
|
:class="{
|
||||||
'first': index === 1, 'second': index === 0, 'third': index === 2
|
'first': index === 1, 'second': index === 0, 'third': index === 2
|
||||||
@ -29,7 +27,6 @@ defineProps<{
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lines">
|
<div class="lines">
|
||||||
<img src="../../assets/game/排行榜太阳.webp" class="decoration bg-sun" style="left: 37%;top: -32%; z-index: 1;" alt="">
|
|
||||||
<div class="line" v-for="(item, index) in leaderBoard.slice(3, 9)" :key="index"
|
<div class="line" v-for="(item, index) in leaderBoard.slice(3, 9)" :key="index"
|
||||||
:style="{ animationDelay: index * 100 + 400 + 'ms' }">
|
:style="{ animationDelay: index * 100 + 400 + 'ms' }">
|
||||||
<div class="rank">{{ index + 4 }}</div>
|
<div class="rank">{{ index + 4 }}</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user