From 10ec5c4322a53878e41b1a87d1b895e207900a0a Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Fri, 24 Oct 2025 20:13:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=92=E8=A1=8C=E6=A6=9C):=20=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5=E8=B7=B3=E8=BD=ACapp=E9=A1=B5=E9=9D=A2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/appBridge.js | 2 +- src/views/Ranking/Ranking.vue | 17 ++++++++++++++++- src/views/TopList/TopList.vue | 2 ++ src/views/WeeklyStar/WeeklyStar.vue | 10 +++++++++- 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/utils/appBridge.js b/src/utils/appBridge.js index 6baba3f..22c6ec9 100644 --- a/src/utils/appBridge.js +++ b/src/utils/appBridge.js @@ -69,7 +69,7 @@ export function gotoPrivateChat(userId) { /** * 查看个人页面 */ -export function gotoUserInfo(userId) { +export function viewUserInfo(userId) { try { window.FlutterPageControl.postMessage(`view_user_info:${userId}`) } catch (error) { diff --git a/src/views/Ranking/Ranking.vue b/src/views/Ranking/Ranking.vue index d50bbb3..d1acf2a 100644 --- a/src/views/Ranking/Ranking.vue +++ b/src/views/Ranking/Ranking.vue @@ -115,6 +115,7 @@ :name="RankingTop3[0].nickname || ''" :distributionValue="RankingTop3[0].quantityFormat || ''" style="width: 40%" + @click="gotoAppPage(RankingTop3[0].id)" /> @@ -126,6 +127,7 @@ :name="RankingTop3[1].nickname || ''" :distributionValue="RankingTop3[1].quantityFormat || ''" style="width: 30%" + @click="gotoAppPage(RankingTop3[1].id)" /> @@ -153,6 +156,7 @@ align-items: center; " :style="{ background: rankItemBackground, border: '1px ' + rankItemBorder }" + @click="gotoAppPage(userInfo.id)" >
{{ index + 4 }}
@@ -269,7 +273,7 @@