diff --git a/mobile-uni/src/components/chat/ChatComposer.vue b/mobile-uni/src/components/chat/ChatComposer.vue index 538f0a81..bbda5890 100644 --- a/mobile-uni/src/components/chat/ChatComposer.vue +++ b/mobile-uni/src/components/chat/ChatComposer.vue @@ -223,7 +223,7 @@ defineExpose({ teardown }); .chat-composer-wrap { border-top: 1px solid #ebedf0; background: #f7f8fa; - padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); + padding: 8px 10px 10px; } .chip-scroll { diff --git a/mobile-uni/src/pages/user/sop/index.vue b/mobile-uni/src/pages/user/sop/index.vue index a5e7ba87..7fd0ab39 100644 --- a/mobile-uni/src/pages/user/sop/index.vue +++ b/mobile-uni/src/pages/user/sop/index.vue @@ -1826,9 +1826,16 @@ onUnload(() => { /* ===== chat layout (WeChat-style rebuild) ===== */ .sop-chat-page { + position: fixed; + top: var(--window-top, 0px); + right: 0; + bottom: var(--window-bottom, 0px); + left: 0; display: flex; flex-direction: column; - height: calc(100vh - var(--window-top, 0px) - var(--window-bottom, 0px)); + min-height: 0; + height: auto; + padding: 0; background: #f2f3f5; overflow: hidden; }