From 28041ddb09b4552771a75baadc02da98edffc399 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Fri, 5 Dec 2025 19:19:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8A=E5=A4=A9=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pageChat/chat.vue | 323 +++++++++++--- pageChat/components/chat-item.vue | 18 +- pageChat/index.vue | 154 +++++-- pages/user/coupon.vue | 2 +- stores/chat.js | 705 +++++++++++++++++++++++++----- utils/util.js | 502 ++++++++++++++------- 6 files changed, 1322 insertions(+), 382 deletions(-) diff --git a/pageChat/chat.vue b/pageChat/chat.vue index b7016d4..5aeea12 100644 --- a/pageChat/chat.vue +++ b/pageChat/chat.vue @@ -40,12 +40,14 @@ > - {{ item.nick_name }} + {{ + item.nick_name + }} - + - 商家 - {{ shopInfo.shopName }} + + - + @@ -92,7 +99,11 @@ - + + + diff --git a/pageChat/index.vue b/pageChat/index.vue index df346dc..e19467f 100644 --- a/pageChat/index.vue +++ b/pageChat/index.vue @@ -2,7 +2,7 @@ - + - - - - - {{ - item.unread_count >= 99 ? "99" : item.unread_count - }} - - - - {{ item.name }} - {{ item.msg }} + @@ -56,8 +57,64 @@