Files
Mainpage/src/views/HomeView.vue

32 lines
537 B
Vue
Raw Normal View History

2025-03-03 19:59:03 +08:00
<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>