This commit is contained in:
2025-03-03 19:59:03 +08:00
parent 42cbc98394
commit 20f211ce23
7 changed files with 182 additions and 67 deletions

32
src/views/HomeView.vue Normal file
View File

@ -0,0 +1,32 @@
<template>
<div class="home-container">
<NavBar />
<el-main>
<div class="content">
<h1>test</h1>
<p>你说得对</p>
</div>
</el-main>
<AppFooter />
</div>
</template>
<script setup>
import NavBar from '@/components/NavBar.vue'
import AppFooter from '@/components/AppFooter.vue'
</script>
<style scoped>
.home-container {
min-height: 100vh;
display: flex;
flex-direction: column;
}
.content {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
</style>