From 40bf60e1dc6e00deb4fc1242b1fe2ab312dd169d Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sun, 12 Nov 2023 15:32:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E8=81=8A@=E5=8A=9F=E8=83=BD(=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E4=B8=AD)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/GroupMessageServiceImpl.java | 6 +-- im-ui/src/components/chat/ChatAtBox.vue | 9 ++--- im-ui/src/components/chat/ChatBox.vue | 15 ++++--- im-ui/src/components/chat/ChatGroupSide.vue | 10 ++--- im-ui/src/components/chat/ChatHistory.vue | 8 ++-- im-ui/src/components/chat/ChatItem.vue | 12 +++--- im-ui/src/components/chat/ChatMessageItem.vue | 22 +++++----- im-ui/src/components/chat/ChatVoice.vue | 40 +++++++++---------- im-ui/src/components/common/Emotion.vue | 4 +- im-ui/src/components/common/FileUpload.vue | 6 +-- im-ui/src/components/common/FullImage.vue | 6 +-- im-ui/src/components/common/RightMenu.vue | 4 +- im-ui/src/components/common/UserInfo.vue | 8 ++-- im-ui/src/components/friend/AddFriend.vue | 14 +++---- im-ui/src/components/friend/FriendItem.vue | 14 +++---- im-ui/src/components/group/AddGroupMember.vue | 22 +++++----- im-ui/src/components/group/GroupItem.vue | 12 +++--- im-ui/src/components/group/GroupMember.vue | 4 +- im-ui/src/components/setting/Setting.vue | 14 +++---- im-ui/src/store/friendStore.js | 5 +-- im-ui/src/store/groupStore.js | 4 +- im-ui/src/view/Group.vue | 9 +++-- 22 files changed, 122 insertions(+), 126 deletions(-) diff --git a/im-platform/src/main/java/com/bx/implatform/service/impl/GroupMessageServiceImpl.java b/im-platform/src/main/java/com/bx/implatform/service/impl/GroupMessageServiceImpl.java index 3bab80d..9493133 100644 --- a/im-platform/src/main/java/com/bx/implatform/service/impl/GroupMessageServiceImpl.java +++ b/im-platform/src/main/java/com/bx/implatform/service/impl/GroupMessageServiceImpl.java @@ -67,8 +67,8 @@ public class GroupMessageServiceImpl extends ServiceImpl userIds = groupMemberService.findUserIdsByGroupId(group.getId()); @@ -116,7 +116,7 @@ public class GroupMessageServiceImpl extends ServiceImpl
- +
{{member.aliasName}}
@@ -140,9 +140,8 @@ height: 35px; margin-bottom: 1px; position: relative; - padding-left: 10px; + padding: 0 5px; align-items: center; - padding-right: 5px; background-color: #fafafa; white-space: nowrap; box-sizing: border-box; @@ -157,8 +156,8 @@ .member-avatar { - width: 30px; - height: 30px; + width: 25px; + height: 25px; } .member-name { diff --git a/im-ui/src/components/chat/ChatBox.vue b/im-ui/src/components/chat/ChatBox.vue index 01849c8..346d039 100644 --- a/im-ui/src/components/chat/ChatBox.vue +++ b/im-ui/src/components/chat/ChatBox.vue @@ -691,9 +691,8 @@ .chat-box { position: relative; width: 100%; - background: white; + background: #f8f8f8; border: #dddddd solid 1px; - .el-header { padding: 5px; background-color: white; @@ -764,9 +763,9 @@ display: flex; flex-direction: column; height: 100%; - background-color: #f8f8f8 !important; - outline-color: rgba(83, 160, 231, 0.61); - + background-color: white !important; + + .send-text-area { box-sizing: border-box; padding: 5px; @@ -775,8 +774,8 @@ resize: none; font-size: 16px; color: black; - background-color: #f8f8f8 !important; outline-color: rgba(83, 160, 231, 0.61); + text-align: left; line-height: 30 px; @@ -794,13 +793,13 @@ .send-image-area { text-align: left; - + border: #53a0e7 solid 1px; .send-image-box { position: relative; display: inline-block; .send-image { - max-height: 190px; + max-height: 180px; border: 1px solid #ccc; border-radius: 2%; margin: 2px; diff --git a/im-ui/src/components/chat/ChatGroupSide.vue b/im-ui/src/components/chat/ChatGroupSide.vue index 8350617..0904663 100644 --- a/im-ui/src/components/chat/ChatGroupSide.vue +++ b/im-ui/src/components/chat/ChatGroupSide.vue @@ -39,9 +39,9 @@
- 提交 + 提交 编辑 - 退出群聊 + 退出群聊
@@ -75,7 +75,7 @@ } }, methods: { - handleClose() { + onClose() { this.$emit('close'); }, loadGroupMembers() { @@ -86,7 +86,7 @@ this.groupMembers = members; }) }, - handleSaveGroup() { + onSaveGroup() { let vo = this.group; this.$http({ url: "/group/modify", @@ -98,7 +98,7 @@ this.$message.success("修改成功"); }) }, - handleQuit() { + onQuit() { this.$confirm('退出群聊后将不再接受群里的消息,确认退出吗?', '确认退出?', { confirmButtonText: '确定', cancelButtonText: '取消', diff --git a/im-ui/src/components/chat/ChatHistory.vue b/im-ui/src/components/chat/ChatHistory.vue index ba5e3d3..3dde34c 100644 --- a/im-ui/src/components/chat/ChatHistory.vue +++ b/im-ui/src/components/chat/ChatHistory.vue @@ -1,5 +1,5 @@