feat: first commit
This commit is contained in:
commit
872aa6127e
63 files changed
+6870
No files matched your search
+54
@@ -0,0 +1,54 @@
|
||||
<script setup lang="ts">
|
||||
import { RouterView } from 'vue-router'
|
||||
import NavBar from './components/NavBar.vue'
|
||||
import FooterBar from './components/FooterBar.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="app">
|
||||
<NavBar />
|
||||
|
||||
<main class="app__main">
|
||||
<div class="container">
|
||||
<RouterView />
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<FooterBar />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
|
||||
.app__main {
|
||||
flex: 1;
|
||||
min-height: 70vh;
|
||||
padding: var(--spacing-lg) 0;
|
||||
}
|
||||
|
||||
/* 响应式调整 */
|
||||
@media (max-width: 992px) {
|
||||
.app__main {
|
||||
padding: var(--spacing-md) 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.app__main {
|
||||
min-height: 60vh;
|
||||
padding: var(--spacing-sm) 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.app__main {
|
||||
min-height: 50vh;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user