From b73744ecbe56f96a7e5c015bc73be3f20ca75155 Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Tue, 2 Mar 2021 17:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E7=AB=AF=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD10=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/html/chat_main.html | 11 ++--------- static/js/chat-main.js | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/static/html/chat_main.html b/static/html/chat_main.html index 1226a31..fd43956 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:63%;position: absolute;top: 75px;overflow-y: auto;overflow-x: hidden;} + .chatBox{width: 100%;height:380px;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;} @@ -82,7 +82,7 @@ :closable="false" :type="chatTitleType" show-icon - :title="chatTitle" + :title="chatTitle+chatInputing" >
@@ -101,13 +101,6 @@
- -
    diff --git a/static/js/chat-main.js b/static/js/chat-main.js index 270d76f..62c0ca8 100644 --- a/static/js/chat-main.js +++ b/static/js/chat-main.js @@ -269,7 +269,7 @@ var app=new Vue({ //处理正在输入 handleInputing:function (retData) { if(retData.from==this.visitor.visitor_id){ - this.chatInputing="正在输入:"+retData.content+"..."; + this.chatInputing="|正在输入:"+retData.content+"..."; if(retData.content==""){ this.chatInputing=""; }