初始化代码

This commit is contained in:
yiqiuyang
2025-09-03 18:05:48 +08:00
parent e5712b2e97
commit 4414fe517b
70 changed files with 2404 additions and 9 deletions

37
src/home.vue Normal file
View File

@ -0,0 +1,37 @@
<script setup>
import Header from './views/layout/pc/header/index.vue'
import Footer from './views/layout/pc/footer/index.vue'
</script>
<template>
<div id="app">
<Header id="header" />
<router-view id="main" />
<Footer id="footer" />
</div>
</template>
<style lang="scss" scoped>
#app {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
#header {
width: 100%;
height: 100px;
position: fixed;
z-index: 99;
}
#main {
margin-top: 100px;
width: 100%;
flex: 1;
background-color: $white;
}
#footer {
width: 100%;
height: 681px;
}
}
</style>