From 3898c637b46f6a662d44ee3771f0cd4ba4eef9f8 Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Fri, 18 Apr 2025 17:17:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=AC=AC=E4=B8=80=E7=89=88?= =?UTF-8?q?=E5=B7=B2=E8=AF=BB=E6=9C=AA=E8=AF=BB=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/chat/index.js | 9 + src/pages/dialog/index.vue | 323 +++++++++++++++++++---- src/uni_modules/tmui/locale/zh-Hans.json | 1 + 3 files changed, 288 insertions(+), 45 deletions(-) diff --git a/src/api/chat/index.js b/src/api/chat/index.js index a63029e..a405445 100644 --- a/src/api/chat/index.js +++ b/src/api/chat/index.js @@ -221,3 +221,12 @@ export const ServeReadConditionList = (data) => { data, }) } + +// 获取消息已读未读详情 +export const ServeMessageReadDetail = (data) => { + return request({ + url: '/api/v1/talk/my-records/read/condition', + method: 'POST', + data, + }) +} \ No newline at end of file diff --git a/src/pages/dialog/index.vue b/src/pages/dialog/index.vue index e198d45..89272f1 100644 --- a/src/pages/dialog/index.vue +++ b/src/pages/dialog/index.vue @@ -215,6 +215,17 @@ --> +
+ 未读 + + 已读 (0/{{ talkParams.num }}) + +
+
+ +
+
+ + {{ $t('cancel') }} + +
+
+ {{ $t('chat.msgRead.list') }} +
+
+
+
+ + +
+ +
+
+ +
+
+ {{ item.nickName }} + + {{ item.jobNum }} + +
+
+
+
+
+
+
diff --git a/src/uni_modules/tmui/locale/zh-Hans.json b/src/uni_modules/tmui/locale/zh-Hans.json index 50b4e51..092a5e2 100644 --- a/src/uni_modules/tmui/locale/zh-Hans.json +++ b/src/uni_modules/tmui/locale/zh-Hans.json @@ -156,6 +156,7 @@ "popup.title.phone": "电话", "pageTitle.view.deps": "查看部门", "group.dismiss.confirm": "确定解散本群", + "chat.msgRead.list": "消息接收人列表", "chat.settings.report": "投诉", "complaint": { "title": "投诉举报",