fix: chat-page 用 height: 100vh 替代 min-height: 100vh 修复真机滚动
根因:min-height: 100vh 允许容器超出视口增长,破坏 flex 布局, 导致 scroll-view 内部滚动层高度=内容高度(都不滚动)。 参考项目内已工作的 .result-page(height: 100% + min-height: 0)。 H5 实际验证:内容 1779px 滚动到底部后提交按钮 visibleInViewport: true
This commit is contained in:
@@ -3528,10 +3528,12 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chat-page {
|
.chat-page {
|
||||||
min-height: 100vh;
|
height: 100vh;
|
||||||
|
min-height: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: #13091f;
|
background: #13091f;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-top-actions {
|
.chat-top-actions {
|
||||||
|
|||||||
Reference in New Issue
Block a user