新增 vue-app(生成/收藏/历史/登录/优化/Android/饭菜/诗词/简历等),Flask 增加 user_context 并调整历史、生成、简历等路由;模板 base/generate 可访问性改进;补充部署说明与文档。 Made-with: Cursor
30 lines
498 B
Vue
30 lines
498 B
Vue
<script setup lang="ts">
|
|
import AppHeader from '@/components/layout/AppHeader.vue'
|
|
</script>
|
|
|
|
<template>
|
|
<div class="app-shell">
|
|
<AppHeader />
|
|
<main class="app-main">
|
|
<router-view />
|
|
</main>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--app-bg, #f8fafc);
|
|
}
|
|
|
|
.app-main {
|
|
flex: 1;
|
|
max-width: 1200px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding: 1.25rem 1rem 2.5rem;
|
|
}
|
|
</style>
|