From 9908adbed9a277c3b3de22cdfc8f998e58dbd02e Mon Sep 17 00:00:00 2001 From: wuKong Date: Sat, 9 Aug 2025 00:45:13 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix(mp):=20=E4=BF=AE=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=A4=B4=E5=83=8F=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将用户头像获取逻辑从 avatar 字段改为 headImageUrl 字段 -确保在获取到的用户信息中,如果有头像图片链接,则使用该链接 - 如果没有头像图片链接,则保留原有的头像 --- src/views/mp/components/wx-msg/main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/mp/components/wx-msg/main.vue b/src/views/mp/components/wx-msg/main.vue index 8b7cc3a2b..333541076 100644 --- a/src/views/mp/components/wx-msg/main.vue +++ b/src/views/mp/components/wx-msg/main.vue @@ -82,7 +82,7 @@ const msgDivRef = ref(null) // 消息显示窗口ref, onMounted(async () => { const data = await getUser(props.userId) user.nickname = data.nickname?.length > 0 ? data.nickname : user.nickname - user.avatar = user.avatar?.length > 0 ? data.avatar : user.avatar + user.avatar = data.headImageUrl?.length > 0 ? data.headImageUrl : user.avatar accountId.value = data.accountId reply.value.accountId = data.accountId -- Gitee From 72d6fb587606fc838582f8c6e3a0d45677c63fc5 Mon Sep 17 00:00:00 2001 From: wuKong Date: Sat, 9 Aug 2025 00:47:59 +0800 Subject: [PATCH 2/5] =?UTF-8?q?feat(mp):=20=E6=B7=BB=E5=8A=A0=E6=89=AB?= =?UTF-8?q?=E7=A0=81=E4=BA=8B=E4=BB=B6=E5=A4=84=E7=90=86-=20=E5=9C=A8=20Me?= =?UTF-8?q?ssageTable=20=E7=BB=84=E4=BB=B6=E4=B8=AD=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BA=86=E5=AF=B9=E6=89=AB=E7=A0=81=E4=BA=8B=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E5=A4=84=E7=90=86=20-=20=E5=BD=93=E6=B6=88=E6=81=AF=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=B8=BA=20Event=20=E4=B8=94=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=BA=20SCAN=20=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=BB=BF=E8=89=B2=E7=9A=84"=E6=89=AB?= =?UTF-8?q?=E7=A0=81"=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mp/message/MessageTable.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/mp/message/MessageTable.vue b/src/views/mp/message/MessageTable.vue index ebc3d749e..185bdec58 100644 --- a/src/views/mp/message/MessageTable.vue +++ b/src/views/mp/message/MessageTable.vue @@ -59,6 +59,9 @@ > 选择地理位置 +
+ 扫码 +
未知事件类型
-- Gitee From 5745cb6f331cd9699cc39c1e8fac1f8bb69c7259 Mon Sep 17 00:00:00 2001 From: wuKong Date: Sat, 9 Aug 2025 00:48:50 +0800 Subject: [PATCH 3/5] =?UTF-8?q?feat(mp/user):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=A4=B4=E5=83=8F=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在用户列表中增加用户头像列 - 使用 el-avatar 组件显示用户头像- 调整表格列的宽度以适应新内容 --- src/views/mp/user/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/mp/user/index.vue b/src/views/mp/user/index.vue index 6147351aa..c70761f2c 100644 --- a/src/views/mp/user/index.vue +++ b/src/views/mp/user/index.vue @@ -52,6 +52,11 @@ + + + -- Gitee From 544fc8127d86e9b56891da6a15b023907408a2c0 Mon Sep 17 00:00:00 2001 From: wuKong Date: Sat, 9 Aug 2025 00:49:37 +0800 Subject: [PATCH 4/5] =?UTF-8?q?feat(mp):=20=E6=B7=BB=E5=8A=A0=20SCAN=20?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 MsgEvent 组件中增加了对 SCAN 事件的处理- 添加了显示"扫码"标签的功能 --- src/views/mp/components/wx-msg/components/MsgEvent.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/mp/components/wx-msg/components/MsgEvent.vue b/src/views/mp/components/wx-msg/components/MsgEvent.vue index 77beda48a..32eaa09f3 100644 --- a/src/views/mp/components/wx-msg/components/MsgEvent.vue +++ b/src/views/mp/components/wx-msg/components/MsgEvent.vue @@ -34,6 +34,9 @@
选择地理位置
+
+ 扫码 +
未知事件类型
-- Gitee From 8deb5b417f4ce33e7efd4e9cf8267f5820678f8c Mon Sep 17 00:00:00 2001 From: wuKong Date: Sat, 9 Aug 2025 00:50:47 +0800 Subject: [PATCH 5/5] =?UTF-8?q?fix(mp):=20=E4=BF=AE=E5=A4=8D=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=9B=BE=E6=96=87=E6=B6=88=E6=81=AF=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 wx-news 组件中,为 el-image 和 img 标签添加了备用图片属性 - 使用 article.thumbUrl作为 article.picUrl 的备用值,确保在 picUrl 为空时仍能显示图片 --- src/views/mp/components/wx-news/main.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/mp/components/wx-news/main.vue b/src/views/mp/components/wx-news/main.vue index 154291b3d..53b99bb18 100644 --- a/src/views/mp/components/wx-news/main.vue +++ b/src/views/mp/components/wx-news/main.vue @@ -13,7 +13,7 @@
@@ -29,7 +29,7 @@
{{ article.title }}
- +
-- Gitee