{{atText}}
@@ -162,19 +164,26 @@
line-height: 25px;
height: 25px;
- .chat-tag {
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 1px;
- }
-
.chat-name-text {
flex: 1;
+ display: flex;
+ align-items: center;
font-size: 15px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
+
+ .el-tag {
+ background-color: #2830d3;
+ border-radius: 10px;
+ border: 0;
+ height: 16px;
+ line-height: 16px;
+ font-size: 10px;
+ margin-left: 2px;
+ opacity: 0.8;
+
+ }
}
diff --git a/im-web/src/components/common/HeadImage.vue b/im-web/src/components/common/HeadImage.vue
index 91eec68..521e5ac 100644
--- a/im-web/src/components/common/HeadImage.vue
+++ b/im-web/src/components/common/HeadImage.vue
@@ -3,7 +3,7 @@
- {{name.substring(0,1).toUpperCase()}}
+ {{name.substring(0,2).toUpperCase()}}