feat(回忆复习):回忆输入改用思维导图 + 布局优化

- 回忆输入区从文本域改为可编辑思维导图(Tab 加子/Enter 加同级)
- 回忆历史点击后自动将内容还原到导图编辑区
- 增加回忆页宽屏模式(wide route meta),适配导图横向展示
- MindMapViewer 增加 height prop 支持自定义高度
- 回忆、对比、标准导图各区域全部使用 60vh 导图展示
This commit is contained in:
2026-07-04 10:17:16 +08:00
parent 3adbeb183c
commit cd68811dfb
4 changed files with 161 additions and 189 deletions
+5 -1
View File
@@ -14,7 +14,7 @@ const route = useRoute();
<el-header class="shell-header">
<MyHead />
</el-header>
<el-main class="shell-main">
<el-main class="shell-main" :class="{ wide: route.meta.wide }">
<RouterView v-slot="{ Component }">
<Transition name="fade-up" mode="out-in">
<component :is="Component" :key="route.fullPath" />
@@ -54,6 +54,10 @@ const route = useRoute();
padding: 18px 20px 24px;
}
.shell-main.wide {
max-width: 1720px;
}
.shell-footer {
height: auto;
padding: 0 20px 18px;