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 @@