From 9204fc5934de0e1cd90a798c7bbfadf010be9d48 Mon Sep 17 00:00:00 2001 From: zengBin Date: Fri, 25 Oct 2024 14:37:43 +0800 Subject: [PATCH] update --- src/pages/tabBar/news.wpy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/tabBar/news.wpy b/src/pages/tabBar/news.wpy index 70aef2b..3897308 100644 --- a/src/pages/tabBar/news.wpy +++ b/src/pages/tabBar/news.wpy @@ -434,10 +434,10 @@ wepy.page({ return } let url = `` - if (type === 'user') { - url = `/pages/home/information?id=${e.join_to_id}` - } else if (e.chat_type === 'group_chat') { + if (e.chat_type === 'group_chat') { url = `/pages/news/groupChitchat?id=${e.join_to_id}&name=${encodeURIComponent(e.other_nickname)}&pic=${e.other_photo}` + } else if (type === 'user') { + url = `/pages/home/information?id=${e.join_to_id}` } else { url = `/pages/news/chitchat?id=${e.join_to_id}&name=${encodeURIComponent(e.other_nickname)}&type=${e.other_type}&pic=${e.other_photo}&real=${e.is_real_approved}` }