fix: chat 视图 scroll-view 删除固定 height,改用 flex: 1 自适应真机高度

真机上状态栏/tab 栏/安全区域高度各不相同,
硬编码 calc(100vh - 220rpx) 导致 scroll-view 超出可视区域无法滚动。
This commit is contained in:
2026-07-19 18:07:00 +08:00
parent f6ef0222b3
commit 30ecf9f4a3
+2 -1
View File
@@ -3543,7 +3543,8 @@ onUnmounted(() => {
.chat-scroll {
flex: 1;
height: calc(100vh - 220rpx);
/* 删除固定 height,让 flex: 1 自适应剩余空间 */
/* 真机上设备高度、状态栏、tab 栏各不相同,硬编码 220rpx 会导致滚动失效 */
}
.chat-scroll-content {