diff --git a/im-web/src/components/chat/ChatBox.vue b/im-web/src/components/chat/ChatBox.vue index 6981db5..749f622 100644 --- a/im-web/src/components/chat/ChatBox.vue +++ b/im-web/src/components/chat/ChatBox.vue @@ -1,992 +1,924 @@ \ No newline at end of file diff --git a/im-web/src/components/chat/ChatInput.vue b/im-web/src/components/chat/ChatInput.vue new file mode 100644 index 0000000..6849df8 --- /dev/null +++ b/im-web/src/components/chat/ChatInput.vue @@ -0,0 +1,665 @@ + + + + + \ No newline at end of file diff --git a/im-web/src/components/chat/ChatMessageItem.vue b/im-web/src/components/chat/ChatMessageItem.vue index 2c999ef..09bcdd9 100644 --- a/im-web/src/components/chat/ChatMessageItem.vue +++ b/im-web/src/components/chat/ChatMessageItem.vue @@ -280,6 +280,7 @@ position: absolute; left: -10px; top: 13px; + z-index: -1; width: 0; height: 0; border-style: solid dashed dashed; @@ -407,6 +408,14 @@ color: #329432; } } + + .chat-at-user { + background-color: #4cd964; + padding: 2px 5px; + color: white; + //border: 1px solid #c3c3c3; + border-radius: 3px; + } } } @@ -442,7 +451,7 @@ background-color: rgb(88, 127, 240); color: #fff; vertical-align: top; - + &:after { left: auto; right: -10px;