From cb965fadff5d438711da9297950d61fb05fbc27a Mon Sep 17 00:00:00 2001 From: Peanut Date: Sun, 19 Jul 2026 20:46:10 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20Chat=20=E8=A7=86=E5=9B=BE=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E9=81=AE=E6=8C=A1=E6=9E=B6=E6=9E=84=E5=B1=82=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=AE=9E=E6=96=BD=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2026-07-19-chat-view-architecture-fix.md | 225 ++++++++++++++++++ 1 file changed, 225 insertions(+) create mode 100644 docs/superpowers/plans/2026-07-19-chat-view-architecture-fix.md diff --git a/docs/superpowers/plans/2026-07-19-chat-view-architecture-fix.md b/docs/superpowers/plans/2026-07-19-chat-view-architecture-fix.md new file mode 100644 index 0000000..a91d962 --- /dev/null +++ b/docs/superpowers/plans/2026-07-19-chat-view-architecture-fix.md @@ -0,0 +1,225 @@ +# Chat 视图底部遮挡架构层修复实施计划 + +> **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:** 修复 ScriptView chat 视图 outline 输入框 placeholder 和修改/确认大纲按钮被主页 bottom-nav 遮挡的问题。`.chat-page` 从 `height: 100vh` 改为 `height: 100%`,让父级 `.content`(`padding-bottom: 132rpx`)自然生效;同时把 `.chat-scroll-content` 的 `padding-bottom` 从 120rpx 改回 40rpx,避免双重 padding。 + +**Architecture:** 架构层修正而非 CSS 遮罩。让 chat-page 正确填充父级已预留 bottom-nav 空间的内容区,chat 滚动区底部自然避开 bottom-nav。iPhone 安全区用 `env(safe-area-inset-bottom)` 处理。 + +**Tech Stack:** UniApp Vue 3 `