From ce325279b07f318293350d209873a44809653e3b Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Fri, 21 Jun 2024 12:03:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E8=BF=87=E6=9C=9F=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/chat.vue | 43 +------------------------------------------ 1 file changed, 1 insertion(+), 42 deletions(-) diff --git a/pages/chat/chat.vue b/pages/chat/chat.vue index fa655a0..4d4dea3 100644 --- a/pages/chat/chat.vue +++ b/pages/chat/chat.vue @@ -151,8 +151,6 @@ leave:false, title: '' }, - //聊天输入框高度 - textareaHeight: 26, navTitle:"",//导航栏标题 keyboardHeight: 0, keyboardMaxHeight: 0, @@ -849,7 +847,6 @@ }, resetChatInput() { this.chatInputContent = '' - this.textareaHeight = 26 // 关闭引用的消息 this.answerMsg = false }, @@ -966,19 +963,6 @@ nickname: this.group_member[user_id].users.nickname },needDeleteLeftART,this.aboutUserKeyword.length) }, - linechange(e) { - //console.log(e.detail); - let { - height, - lineCount - } = e.detail; - // console.log(height,lineCount); - if (lineCount === 1) { - this.textareaHeight = 26; - } else if (height <= 100) { - this.textareaHeight = height - 2; - } - }, async showControl({ msgId, msgContentDomInfo @@ -1041,34 +1025,9 @@ }); this.chooseMoreMsg = false }, - clickMenu(index, e) { - // console.log('clickMenu-',index); - if (index < 2) { - this.chooseFileSendMsg(index === 0 ? 'image' : 'video') - } - if (index === 2) { - // #ifdef APP-PLUS - return uni.showToast({ - title: '暂不支持,发送文件', - icon: 'none' - }); - // #endif - this.chooseFileSendMsg('all') - } - e.stopPropagation() - }, - clickEmojiItem(emojiUniCode, e) { - this.chatInputContent += emojiUniCode - e.stopPropagation() - }, tapUnreadCount() { //点击未读消息文字按钮事件 - if (this.isWidescreen) { - // this.$emit('tapUnreadCount') //点击后会话列表自动滚动 置顶 待读项 - // console.log('tapUnreadCount'); - } else { - uni.navigateBack(); - } + uni.navigateBack(); }, updateNavTitle(){ this.navTitle = this.conversation.title -- GitLab