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}` }