From 727562f49557306eb99b2c7fef7d731c2a65fc53 Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Mon, 13 Feb 2023 14:13:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/business/Chat/index.vue | 6 +- .../business/Chat/layout/Layout.vue | 39 +----------- .../business/Chat/layout/sider/Footer.vue | 15 +++++ .../business/Chat/layout/sider/List.vue | 12 ++++ .../business/Chat/layout/sider/ListItem.vue | 52 ++++++++++++++++ .../business/Chat/layout/sider/index.vue | 59 +++++++++++++++++++ src/components/common/UserAvatar/index.vue | 23 ++++++++ src/components/common/index.ts | 3 +- 8 files changed, 170 insertions(+), 39 deletions(-) create mode 100644 src/components/business/Chat/layout/sider/Footer.vue create mode 100644 src/components/business/Chat/layout/sider/List.vue create mode 100644 src/components/business/Chat/layout/sider/ListItem.vue create mode 100644 src/components/business/Chat/layout/sider/index.vue create mode 100644 src/components/common/UserAvatar/index.vue diff --git a/src/components/business/Chat/index.vue b/src/components/business/Chat/index.vue index a8ceaf3..f6860d0 100644 --- a/src/components/business/Chat/index.vue +++ b/src/components/business/Chat/index.vue @@ -90,8 +90,10 @@ function addMessage(message: string, reversal = false) {