From c838a69bd02fa5374afd00702c43009b4bd7777c Mon Sep 17 00:00:00 2001 From: "xie.bx" Date: Fri, 4 Nov 2022 23:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E5=8F=91=E5=8A=9F=E8=83=BD=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-ui/src/components/chat/ChatGroup.vue | 6 + im-ui/src/components/chat/ChatGroupSide.vue | 205 ++++++++++++++++++++ im-ui/src/components/chat/ChatItem.vue | 4 +- im-ui/src/components/common/FullImage.vue | 35 ++++ im-ui/src/components/common/HeadImage.vue | 20 +- im-ui/src/components/common/UserInfo.vue | 139 +++++++++++++ im-ui/src/components/group/GroupMember.vue | 4 +- im-ui/src/store/index.js | 7 +- im-ui/src/store/uiStore.js | 39 ++++ im-ui/src/view/Friend.vue | 9 +- im-ui/src/view/Home.vue | 160 ++++++++------- 11 files changed, 543 insertions(+), 85 deletions(-) create mode 100644 im-ui/src/components/chat/ChatGroupSide.vue create mode 100644 im-ui/src/components/common/FullImage.vue create mode 100644 im-ui/src/components/common/UserInfo.vue create mode 100644 im-ui/src/store/uiStore.js diff --git a/im-ui/src/components/chat/ChatGroup.vue b/im-ui/src/components/chat/ChatGroup.vue index ebbd8e3..8f28ad8 100644 --- a/im-ui/src/components/chat/ChatGroup.vue +++ b/im-ui/src/components/chat/ChatGroup.vue @@ -284,4 +284,10 @@ font-size: 30px; } } + + + .chat-group-side-box{ + border: #dddddd solid 1px; + animation: rtl-drawer-in .3s 1ms; + } diff --git a/im-ui/src/components/chat/ChatGroupSide.vue b/im-ui/src/components/chat/ChatGroupSide.vue new file mode 100644 index 0000000..8859759 --- /dev/null +++ b/im-ui/src/components/chat/ChatGroupSide.vue @@ -0,0 +1,205 @@ + + + + + diff --git a/im-ui/src/components/chat/ChatItem.vue b/im-ui/src/components/chat/ChatItem.vue index 31b8628..867253f 100644 --- a/im-ui/src/components/chat/ChatItem.vue +++ b/im-ui/src/components/chat/ChatItem.vue @@ -2,9 +2,7 @@
- - - +
{{chat.unreadCount}}
diff --git a/im-ui/src/components/common/FullImage.vue b/im-ui/src/components/common/FullImage.vue new file mode 100644 index 0000000..aef32ba --- /dev/null +++ b/im-ui/src/components/common/FullImage.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/im-ui/src/components/common/HeadImage.vue b/im-ui/src/components/common/HeadImage.vue index dcfd1a0..bd9d16a 100644 --- a/im-ui/src/components/common/HeadImage.vue +++ b/im-ui/src/components/common/HeadImage.vue @@ -1,18 +1,21 @@ diff --git a/im-ui/src/components/common/UserInfo.vue b/im-ui/src/components/common/UserInfo.vue new file mode 100644 index 0000000..f6c35a8 --- /dev/null +++ b/im-ui/src/components/common/UserInfo.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/im-ui/src/components/group/GroupMember.vue b/im-ui/src/components/group/GroupMember.vue index 559bb70..3345994 100644 --- a/im-ui/src/components/group/GroupMember.vue +++ b/im-ui/src/components/group/GroupMember.vue @@ -1,15 +1,15 @@