Skip to content

Commit

Permalink
fix: update bottom shortcuts tips style
Browse files Browse the repository at this point in the history
  • Loading branch information
fengstats committed Mar 29, 2024
1 parent 2746777 commit 31c2475
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/client/components/main/Tips.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="absolute left-0 right-0 bottom-[12vh] flex flex-col items-center">
<div class="w-[210px] mb-4">
<div class="mb-4">
<button
class="tip-btn"
@click="playSound"
Expand All @@ -9,7 +9,7 @@
</button>
<span class="ml-2">播放发音</span>
</div>
<div class="w-[210px] mb-4">
<div class="mb-4">
<button
class="tip-btn"
@click="toggleGameMode"
Expand All @@ -18,7 +18,7 @@
</button>
<span class="ml-2">{{ toggleTipText }}</span>
</div>
<div class="w-[210px] mb-4">
<div class="mb-4">
<button
class="mr-1 tip-btn"
@click="goToPreviousQuestion"
Expand All @@ -27,7 +27,7 @@
</button>
<span class="ml-2">上一题</span>
</div>
<div class="w-[210px] mb-4">
<div class="mb-4">
<button
class="mr-1 tip-btn"
@click="goToNextQuestion"
Expand All @@ -36,7 +36,7 @@
</button>
<span class="ml-2">下一题</span>
</div>
<div class="w-[210px]">
<div>
<button class="tip-btn">Space</button>
<span class="ml-2">{{ spaceTipText }} </span>
</div>
Expand Down Expand Up @@ -73,9 +73,9 @@ const toggleTipText = computed(() => {
text = "再来一次";
} else {
if (isAnswerTip()) {
text = "关闭答案预览面板";
text = "隐藏答案";
} else {
text = "显示答案预览面板";
text = "显示答案";
}
}
return text;
Expand Down

0 comments on commit 31c2475

Please sign in to comment.