From 736c81a61da854b83d4a5fa33cca0ab9885d5da9 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 19 May 2020 14:01:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=BB=BC=E5=90=88=E6=BC=94=E7=BB=83=20=20?= =?UTF-8?q?=E5=89=A7=E6=9C=AC=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newMap/displayNew/chatView/chatBox.vue | 1 + .../displayNew/chatView/chatContent.vue | 36 +++++++++----- .../chatView/chatCoversitionList.vue | 5 +- src/views/newMap/jointTrainingNew/chatBox.vue | 12 ++++- .../newMap/jointTrainingNew/chatContent.vue | 48 +++++++++++++------ .../jointTrainingNew/chatCoversitionList.vue | 26 ++++++++++ src/views/newMap/jointTrainingNew/index.vue | 8 ++-- .../scriptManage/display/tipScriptRecord.vue | 1 + src/views/trainRoom/e-roles.vue | 4 +- 9 files changed, 106 insertions(+), 35 deletions(-) diff --git a/src/views/newMap/displayNew/chatView/chatBox.vue b/src/views/newMap/displayNew/chatView/chatBox.vue index a9b079620..6ea2f84da 100644 --- a/src/views/newMap/displayNew/chatView/chatBox.vue +++ b/src/views/newMap/displayNew/chatView/chatBox.vue @@ -140,6 +140,7 @@ export default { if (this.recordSending) { this.cancleRecording(); } + this.$refs.chatContent.scrollTop(); }, setHeadTitle(headerTitle) { this.headerTitle = headerTitle; diff --git a/src/views/newMap/displayNew/chatView/chatContent.vue b/src/views/newMap/displayNew/chatView/chatContent.vue index fc55c986d..3a94a2e08 100644 --- a/src/views/newMap/displayNew/chatView/chatContent.vue +++ b/src/views/newMap/displayNew/chatView/chatContent.vue @@ -1,18 +1,20 @@