fix: modify component name and title (HintPart=>DescriptionPart)

This commit is contained in:
Chen, Tai-Lin committed 2024-07-03 00:53:55 +08:00
1 parent 99871fa299
commit 25888a1465
2 files changed
+3 -3

No files matched your search

@@ -37,7 +37,7 @@ const right = () => {
:icon="['far', 'lightbulb']" :icon="['far', 'lightbulb']"
class="text-yellow-200 p-2 content-center" class="text-yellow-200 p-2 content-center"
/> />
<h1 class="inline text-text w-1/2 font-xl p-2 m-1">提示 {{ length }}</h1> <h1 class="inline text-text w-1/2 font-xl p-2 m-1">說明 {{ length }}</h1>
<div v-if="current !== -1" class="flex w-full justify-end items-end"> <div v-if="current !== -1" class="flex w-full justify-end items-end">
<button <button
class="p-2 m-1 w-1/8" class="p-2 m-1 w-1/8"
+2 -2
View File
@@ -3,7 +3,7 @@ import { computed, onMounted } from 'vue'
import useSession from '../store/session' import useSession from '../store/session'
import HeaderPart from '../components/header/HeaderPart.vue' import HeaderPart from '../components/header/HeaderPart.vue'
import GameHeaderComponents from '../components/header/GameHeaderComponents.vue' import GameHeaderComponents from '../components/header/GameHeaderComponents.vue'
import HintPart from '../components/game/HintPart.vue' import DescriptionPart from '../components/game/DescriptionPart.vue'
import QuestPart from '../components/game/QuestPart.vue' import QuestPart from '../components/game/QuestPart.vue'
import TerminalPart from '../components/game/TerminalPart.vue' import TerminalPart from '../components/game/TerminalPart.vue'
import VisualizationPart from '../components/game/VisualizationPart.vue' import VisualizationPart from '../components/game/VisualizationPart.vue'
@@ -62,7 +62,7 @@ onMounted(async () => {
<div class="bg-bg h-full rounded-lg w-1/2"> <div class="bg-bg h-full rounded-lg w-1/2">
<StartButton :questId="$props.questId" /> <StartButton :questId="$props.questId" />
<section id="hint" class="h-3/5"> <section id="hint" class="h-3/5">
<HintPart /> <DescriptionPart />
</section> </section>
<hr class="border-border border" /> <hr class="border-border border" />
<section id="terminal" class="h-2/5 overflow-hidden"> <section id="terminal" class="h-2/5 overflow-hidden">