From 3dcc5b672d4ee6430d848f75659a8e1ca5fecc04 Mon Sep 17 00:00:00 2001 From: dute7liang <383200134@qq.com> Date: Tue, 9 Jan 2024 23:33:52 +0800 Subject: [PATCH] init --- src/constant/statusMap.js | 11 ++ src/views/cai/userChatRecord/index.vue | 245 +++---------------------- 2 files changed, 40 insertions(+), 216 deletions(-) diff --git a/src/constant/statusMap.js b/src/constant/statusMap.js index 60f9b8a..e749e9b 100644 --- a/src/constant/statusMap.js +++ b/src/constant/statusMap.js @@ -195,4 +195,15 @@ export const accountTypeList = [ { value: 1, label: '余额',listClass: listClass.info}, { value: 2, label: '收益',listClass: listClass.primary}, ] +// 0=文本消息,1=图片消息,2=语音消息,3=视频消息,4=发送地理位置消息,6=发送文件消息,10=发送提示消息,100=发送第三方自定义消息 +export const imTypeList = [ + { value: 0, label: '文本消息'}, + { value: 1, label: '图片消息'}, + { value: 2, label: '语音消息'}, + { value: 3, label: '视频消息'}, + { value: 4, label: '发送地理位置消息'}, + { value: 6, label: '发送文件消息'}, + { value: 10, label: '发送提示消息'}, + { value: 100, label: '发送第三方自定义消息'}, +] diff --git a/src/views/cai/userChatRecord/index.vue b/src/views/cai/userChatRecord/index.vue index 3faa14a..27db9db 100644 --- a/src/views/cai/userChatRecord/index.vue +++ b/src/views/cai/userChatRecord/index.vue @@ -1,20 +1,28 @@