diff --git a/docs/superpowers/plans/2026-06-09-mini-program-life-event-detail-actions.md b/docs/superpowers/plans/2026-06-09-mini-program-life-event-detail-actions.md new file mode 100644 index 0000000..fc63f9c --- /dev/null +++ b/docs/superpowers/plans/2026-06-09-mini-program-life-event-detail-actions.md @@ -0,0 +1,892 @@ +# Mini Program Life Event Detail Actions Implementation Plan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** 调整小程序人生轨迹详情页,把事件标题卡与事件描述卡合并,移除顶部悬浮操作 icon,并将收藏、分享、分析、编辑、收起和“聊聊”入口按新布局展示。 + +**Architecture:** 只修改 `mini-program/src/pages/life-event/detail.vue`。模板层用新的 `event-content-card` 替换 `floating-nav`、`hero-card`、`description-card` 组合;脚本层增加 `scrollTop`、`currentScrollTop`、`onContentScroll` 与 `scrollToAnalysis` 来支持分析按钮定位;样式层复用当前宇宙玻璃风格并新增局部按钮和 Markdown 折叠样式。 + +**Tech Stack:** UniApp, Vue 3 `