chore: 前端首次基线提交

运行必须源码:src/、public/、index.html、package.json 及构建配置。
已忽略运行非必须:node_modules/、dist/、.env*。
This commit is contained in:
WorkBuddy
2026-08-17 12:25:42 +08:00
commit e8f0195b61
52 changed files with 16866 additions and 0 deletions

39
src/App.vue Normal file
View File

@@ -0,0 +1,39 @@
<template>
<!-- 应用根组件:使用 router-view 作为布局容器 -->
<div id="app-container">
<router-view />
</div>
</template>
<script setup>
// App.vue - 根组件
// 所有页面组件通过 <router-view> 在此处渲染
// 具体的布局(导航栏、侧边栏等)由各页面自行决定
</script>
<style>
/* 全局基础样式 */
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
font-family:
'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei',
'微软雅黑', Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #2c3e50;
}
#app-container {
width: 100%;
min-height: 100vh;
}
</style>