添加部分页面

This commit is contained in:
2025-12-12 21:35:24 +08:00
parent 52bfe51aa4
commit 9d27ed1484
5699 changed files with 289 additions and 408385 deletions

View File

@@ -1,5 +1,22 @@
<script setup>
import { onMounted, defineAsyncComponent } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import getConfig from '@/utils/config'
const route = useRoute()
const router = useRouter()
const config = getConfig()
const Topbar = defineAsyncComponent(() => import('@/components/index/Topbar.vue'))
const Leftbar = defineAsyncComponent(() => import('@/components/index/Leftbar.vue'))
onMounted(() => {
document.title = config.title
document.body.style.background = "url('"+config.backgroundImg+"') no-repeat center center fixed"
document.body.style.backgroundSize = "cover"
})
</script>
<template>
<main>
<h1>Welcome to DataBuddy</h1>
</main>
</template>
<Topbar />
<Leftbar />
</template>