feat(vue-app,flask): Vue 试验田全量对接与 Session 用户上下文统一

新增 vue-app(生成/收藏/历史/登录/优化/Android/饭菜/诗词/简历等),Flask 增加 user_context 并调整历史、生成、简历等路由;模板 base/generate 可访问性改进;补充部署说明与文档。

Made-with: Cursor
This commit is contained in:
renjianbo
2026-04-05 21:10:41 +08:00
parent 9a3f15f3e2
commit daa34582e9
77 changed files with 8999 additions and 528 deletions

View File

@@ -0,0 +1,16 @@
<template>
<div class="auth-shell">
<router-view />
</div>
</template>
<style scoped lang="scss">
.auth-shell {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem 1rem;
background: linear-gradient(160deg, #f1f5f9 0%, #e0e7ff 45%, #f8fafc 100%);
}
</style>

View File

@@ -0,0 +1,29 @@
<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>