From 25c684d16bc98e99677ebd2059b63776004d42cf Mon Sep 17 00:00:00 2001 From: Seven <1530011482@qq.com> Date: Mon, 14 Sep 2026 21:31:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=81=94=E7=B3=BB=E4=BA=BA?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/ChatPage.vue | 134 ++++++++++++++++++++--------------- src/utils/user.js | 10 ++- 2 files changed, 85 insertions(+), 59 deletions(-) diff --git a/src/pages/index/ChatPage.vue b/src/pages/index/ChatPage.vue index 75223b0..17bdb36 100644 --- a/src/pages/index/ChatPage.vue +++ b/src/pages/index/ChatPage.vue @@ -41,45 +41,15 @@ - -
-
- {{ contact.name.charAt(0) }} -
- -
-
- {{ contact.name }} -
- -
- {{ getLastMessage(contact.id) }} -
-
- -
- {{ contact.unread }} -
-
-
- --> - - -
-
@@ -90,9 +60,18 @@
{{ contact.contactName }}
+ +
+ {{ getLastMessage(contact.contactId) }} +
+
+ +
+ {{ contact.unread }}
+ @@ -108,7 +87,7 @@
- {{ currentContact.name.charAt(0) }} + {{ currentContact.contactName.charAt(0) }}
@@ -135,7 +114,7 @@ >
- {{ currentContact.name.charAt(0) }} + {{ currentContact.contactName.charAt(0) }}
@@ -190,7 +169,7 @@