@@ -149,6 +149,7 @@ $offsetRight: 5px;
flex: 1;
position: relative;
background: $chatContBg;
+ margin-bottom: 66px;
.msg-unread{
position: absolute;
width: 120px;
@@ -198,9 +199,12 @@ $offsetRight: 5px;
}
.box-ft{
- position: relative;
+ position: absolute;
border-top: 1px solid #d6d6d6;
+ bottom: 0;
+ left: 0;
+ right: 0;
.input-con{
display: flex;
@@ -25,6 +25,7 @@
<chat-pin v-bind="pinMsg" @pinMsgClose="pinMsgClose" @scrollToView="scrollToView"></chat-pin>
+ <!-- 【注意】:此处不要使用webkit-box等自适应的模型,“必须”使用Js动态控制高度 !-->
<div class="box-bd">
<div ref="scrollWrap" @scroll.prevent="handleScroll" class="scroller">
<div ref="msgWrap" class="msg-wrap">