From a4d0286f1e5b3c375f387c45376bdba78cd34acc Mon Sep 17 00:00:00 2001 From: zoujing Date: Tue, 12 Aug 2025 20:16:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=B9=E8=AF=9D=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E8=B0=83=E6=95=B4=E4=B8=8E=E5=A2=9E=E5=8A=A0=E5=8A=A0?= =?UTF-8?q?=E8=BD=BDloading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/chat/ChatCardAI.vue | 104 ++++++++++++++++------------ pages/chat/ChatMainList.vue | 126 +++++++++++++++++++--------------- pages/chat/ChatTopWelcome.vue | 118 ++++++++++++++++--------------- static/msg_loading.svg | 49 +++++++++++++ 4 files changed, 243 insertions(+), 154 deletions(-) create mode 100644 static/msg_loading.svg diff --git a/pages/chat/ChatCardAI.vue b/pages/chat/ChatCardAI.vue index bb4a7e3..d86bcba 100644 --- a/pages/chat/ChatCardAI.vue +++ b/pages/chat/ChatCardAI.vue @@ -1,11 +1,14 @@ \ No newline at end of file + +.loading-container { + display: flex; + align-items: center; + padding: 4px 0; +} + +.loading-img { + margin-left: -4px; + width: 32px; + height: 32px; +} + + diff --git a/pages/chat/ChatMainList.vue b/pages/chat/ChatMainList.vue index 43e4708..ad3c640 100644 --- a/pages/chat/ChatMainList.vue +++ b/pages/chat/ChatMainList.vue @@ -42,6 +42,8 @@ item.msg ? item.msg.length : 0 }`" :text="item.msg || ''" + , + :isLoading="item.isLoading" >