From 1d9178b592fd450d03bc645c1c2e56125c10e44a Mon Sep 17 00:00:00 2001 From: fangxin Date: Tue, 6 Aug 2024 19:33:10 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E8=BE=93=E5=85=A5=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-web/src/components/chat/ChatBox.vue | 1900 ++++++++--------- im-web/src/components/chat/ChatInput.vue | 604 ++++++ .../src/components/chat/ChatMessageItem.vue | 11 +- 3 files changed, 1530 insertions(+), 985 deletions(-) create mode 100644 im-web/src/components/chat/ChatInput.vue 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..6c254d0 --- /dev/null +++ b/im-web/src/components/chat/ChatInput.vue @@ -0,0 +1,604 @@ + + + + + \ 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; From 1b00213bba3f55a322318acfe696996338560768 Mon Sep 17 00:00:00 2001 From: fangxin Date: Wed, 7 Aug 2024 15:28:23 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9Bbug?= =?UTF-8?q?=EF=BC=8C@=E6=8A=A5=E9=94=99=EF=BC=8C@=E5=90=8E=E5=85=89?= =?UTF-8?q?=E6=A0=87=E5=BC=82=E5=B8=B8=EF=BC=8C=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=BC=82=E5=B8=B8=EF=BC=8C@=E6=97=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=BE=93=E5=85=A5=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-web/src/components/chat/ChatInput.vue | 258 ++++++++++++++--------- 1 file changed, 160 insertions(+), 98 deletions(-) diff --git a/im-web/src/components/chat/ChatInput.vue b/im-web/src/components/chat/ChatInput.vue index 6c254d0..e51876a 100644 --- a/im-web/src/components/chat/ChatInput.vue +++ b/im-web/src/components/chat/ChatInput.vue @@ -1,22 +1,22 @@