This commit is contained in:
guo
2025-06-02 18:50:12 +08:00
commit 09195f8c18
32 changed files with 6053 additions and 0 deletions
+59
View File
@@ -0,0 +1,59 @@
<script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue'
import TheWelcome from './components/Welcome.vue'
import MyHead from "@/components/MyHead.vue";
import MyFooter from "@/components/MyFooter.vue";
</script>
<template>
<div class="login">
<el-container class="common-layout">
<el-header class="header">
<MyHead />
</el-header>
<el-main class="main-content">
<RouterView />
</el-main>
<el-footer class="footer">
<MyFooter/>
</el-footer>
</el-container>
</div>
</template>
<style scoped>
#app {
margin: 0px 0px;
}
*{
padding:0px
}
.login {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background-size: cover;
}
template {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.common-layout {
min-width: 100vw; /* 设置最大宽度 */
min-height: 100vh;
}
.main-content {
margin: 0 auto;
display: flex;
flex-direction: column;
}
</style>