提交 ce325279 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 删除过期的代码

上级 881fc5aa
...@@ -151,8 +151,6 @@ ...@@ -151,8 +151,6 @@
leave:false, leave:false,
title: '' title: ''
}, },
//聊天输入框高度
textareaHeight: 26,
navTitle:"",//导航栏标题 navTitle:"",//导航栏标题
keyboardHeight: 0, keyboardHeight: 0,
keyboardMaxHeight: 0, keyboardMaxHeight: 0,
...@@ -849,7 +847,6 @@ ...@@ -849,7 +847,6 @@
}, },
resetChatInput() { resetChatInput() {
this.chatInputContent = '' this.chatInputContent = ''
this.textareaHeight = 26
// 关闭引用的消息 // 关闭引用的消息
this.answerMsg = false this.answerMsg = false
}, },
...@@ -966,19 +963,6 @@ ...@@ -966,19 +963,6 @@
nickname: this.group_member[user_id].users.nickname nickname: this.group_member[user_id].users.nickname
},needDeleteLeftART,this.aboutUserKeyword.length) },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({ async showControl({
msgId, msgId,
msgContentDomInfo msgContentDomInfo
...@@ -1041,34 +1025,9 @@ ...@@ -1041,34 +1025,9 @@
}); });
this.chooseMoreMsg = false 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() { tapUnreadCount() {
//点击未读消息文字按钮事件 //点击未读消息文字按钮事件
if (this.isWidescreen) { uni.navigateBack();
// this.$emit('tapUnreadCount') //点击后会话列表自动滚动 置顶 待读项
// console.log('tapUnreadCount');
} else {
uni.navigateBack();
}
}, },
updateNavTitle(){ updateNavTitle(){
this.navTitle = this.conversation.title this.navTitle = this.conversation.title
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册