From 81c27a5a258ff56a440c6d31b087e3c9f9c1e56c Mon Sep 17 00:00:00 2001 From: yangzhe Date: Wed, 21 Jan 2026 11:41:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=81=8A=E5=A4=A9=E9=A1=B5=E9=9D=A2):=20?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E7=94=A8=E6=88=B7=E7=B1=BB=E5=9E=8B=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E5=90=8C=E7=9A=84=E4=BF=A1=E6=81=AF=E5=8D=A1?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加条件渲染逻辑,当用户类型为0时显示教师信息卡片,为1时显示学生信息卡片(学生信息卡片内容暂注释) --- pages/chat/index.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pages/chat/index.vue b/pages/chat/index.vue index 64053b2..567b36b 100644 --- a/pages/chat/index.vue +++ b/pages/chat/index.vue @@ -20,8 +20,8 @@ @scrolltoupper="handleScrollToUpper" > - -
+ +
+ +
+ +
+