diff --git a/im-ui/src/components/chat/ChatBox.vue b/im-ui/src/components/chat/ChatBox.vue
index 97b3678..175b507 100644
--- a/im-ui/src/components/chat/ChatBox.vue
+++ b/im-ui/src/components/chat/ChatBox.vue
@@ -320,6 +320,7 @@
msgInfo.loadStatus = 'ok';
msgInfo.id = m.id;
this.isReceipt = false;
+ this.refreshPlaceHolder();
this.$store.commit("insertMessage", msgInfo);
})
},
@@ -375,6 +376,7 @@
msgInfo.loadStatus = 'ok';
msgInfo.id = m.id;
this.isReceipt = false;
+ this.refreshPlaceHolder();
this.$store.commit("insertMessage", msgInfo);
})
},
@@ -540,6 +542,7 @@
// 关闭录音窗口
this.showRecord = false;
this.isReceipt = false;
+ this.refreshPlaceHolder();
})
},
@@ -611,6 +614,7 @@
this.scrollToBottom();
this.resetEditor();
this.isReceipt = false;
+ this.refreshPlaceHolder();
});
},
diff --git a/im-ui/src/components/chat/ChatItem.vue b/im-ui/src/components/chat/ChatItem.vue
index b1c3fc6..5320e7a 100644
--- a/im-ui/src/components/chat/ChatItem.vue
+++ b/im-ui/src/components/chat/ChatItem.vue
@@ -7,6 +7,9 @@
+
+ 群
+
{{chat.showName}}
{{showTime}}
@@ -109,8 +112,7 @@
display: flex;
margin-bottom: 1px;
position: relative;
- padding: 5px;
- padding-left: 10px;
+ padding: 5px 10px;
align-items: center;
background-color: white;
white-space: nowrap;
@@ -160,6 +162,13 @@
line-height: 25px;
height: 25px;
+ .chat-tag {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-right: 1px;
+ }
+
.chat-name-text {
flex: 1;
font-size: 15px;
diff --git a/im-ui/src/components/friend/FriendItem.vue b/im-ui/src/components/friend/FriendItem.vue
index 5be5222..aa65316 100644
--- a/im-ui/src/components/friend/FriendItem.vue
+++ b/im-ui/src/components/friend/FriendItem.vue
@@ -88,8 +88,7 @@
display: flex;
margin-bottom: 1px;
position: relative;
- padding: 5px;
- padding-left: 10px;
+ padding: 5px 10px;
align-items: center;
background-color: #fafafa;
white-space: nowrap;
diff --git a/im-ui/src/components/group/GroupItem.vue b/im-ui/src/components/group/GroupItem.vue
index e2c051a..fd2b811 100644
--- a/im-ui/src/components/group/GroupItem.vue
+++ b/im-ui/src/components/group/GroupItem.vue
@@ -38,8 +38,7 @@
display: flex;
margin-bottom: 1px;
position: relative;
- padding: 5px;
- padding-left: 10px;
+ padding: 5px 10px;
align-items: center;
background-color: white;
white-space: nowrap;
diff --git a/im-ui/src/view/Chat.vue b/im-ui/src/view/Chat.vue
index def027f..cd56432 100644
--- a/im-ui/src/view/Chat.vue
+++ b/im-ui/src/view/Chat.vue
@@ -1,6 +1,6 @@
-
+