From fb85c2575cdb93bfe2cf7cd681caf78826896845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B6=E5=A3=AB=E6=B6=B5?= <630892807@qq.com> Date: Wed, 3 Mar 2021 21:20:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=9C=8D=E7=AB=AF?= =?UTF-8?q?=E7=9A=84=E9=AB=98=E5=BA=A6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/common.css | 5 ++++- static/html/chat_main.html | 2 +- static/html/main.html | 3 +-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/static/css/common.css b/static/css/common.css index 141fecf..1aeb6e9 100644 --- a/static/css/common.css +++ b/static/css/common.css @@ -411,7 +411,10 @@ } .kefuFuncBox{ position: absolute; - bottom: 64px; + bottom: 0px; + z-index: 99; + padding-bottom:10px; + background: #fff; width: 100%; } .clear{clear:both;} \ No newline at end of file diff --git a/static/html/chat_main.html b/static/html/chat_main.html index fd43956..e644013 100644 --- a/static/html/chat_main.html +++ b/static/html/chat_main.html @@ -27,7 +27,7 @@ } .chatBoxMe .el-col-3{float: right;text-align: right;} .chatBoxMe .chatUser{text-align: right} - .chatBox{width: 100%;height:380px;overflow-y: auto;overflow-x: hidden;} + .chatBox{width: 100%;height:calc(100% - 175px);overflow-y: auto;overflow-x: hidden;} .chatTime{text-align: center;color: #bbb;margin: 5px 0;font-size: 12px;} .funcBtns{margin: 2px 0px;color: #7f7f7f;border-bottom: 1px solid #e6e6e6;font-size: 12px;padding: 5px 0px;} diff --git a/static/html/main.html b/static/html/main.html index ed55739..ca308b3 100644 --- a/static/html/main.html +++ b/static/html/main.html @@ -37,11 +37,10 @@ .mainMain{ background: #fff; margin-left: 10px; - margin-bottom: 60px; } .mainIframe{ width: 100%; - height: 100%; + height: calc(100% - 60px); } .el-card__body{ cursor: pointer;