mirror of
https://github.com/Kisechan/Mainpage.git
synced 2025-08-30 07:17:17 +00:00
32 lines
537 B
Vue
32 lines
537 B
Vue
|
<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>
|