Restruct heading

This commit is contained in:
Annie Huang committed 2024-04-06 22:06:29 +08:00
1 parent 29602785cd
commit 9a4f9b958a
7 files changed
+251 -226

No files matched your search

+3 -2
View File
@@ -2,7 +2,8 @@
import { ref, onMounted } from 'vue'
import { useToast } from 'vue-toastification'
import DynamicBackground from '../components/DynamicBackground.vue'
import GameHeaderPart from '../components/GameHeaderPart.vue'
import HeaderPart from '../components/HeaderPart.vue'
import GameHeaderComponents from '../components/GameHeaderComponents.vue'
import api from '../utils/api'
const leaderboard = ref<
@@ -36,7 +37,7 @@ onMounted(async () => {
class="w-screen h-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
>
<div class="h-[6vh] w-full">
<GameHeaderPart title="排行榜" />
<HeaderPart :title="排行榜" :headerComponent="GameHeaderComponents" />
</div>
<div class="w-fit h-[94vh] m-3">
<div