feat: init

This commit is contained in:
yanghao05
2025-04-16 21:07:57 +08:00
parent 85301c8994
commit 85ece3e899
7 changed files with 31 additions and 70 deletions

View File

@@ -1,35 +1,3 @@
<script setup>
// 不需要导入任何组件,路由会自动处理组件的加载
</script>
<template>
<router-view />
</template>
<style>
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #f5f5f5;
}
/* Mobile-first responsive design */
html {
font-size: 16px;
}
@media screen and (max-width: 768px) {
html {
font-size: 14px;
}
}
</style>
</template>