From f77801f9a1968d457277b83b0da29976bbf1bee2 Mon Sep 17 00:00:00 2001 From: yziiy <15979918+mayday-yziiy@user.noreply.gitee.com> Date: Fri, 15 Aug 2025 11:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- pages/union/setGroup.vue | 23 ++++++++++++++--------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 40b878db..c0b65b53 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules/ \ No newline at end of file +node_modules/ +unpackage/ \ No newline at end of file diff --git a/pages/union/setGroup.vue b/pages/union/setGroup.vue index c0d47b63..33a6baf2 100644 --- a/pages/union/setGroup.vue +++ b/pages/union/setGroup.vue @@ -26,7 +26,7 @@ - + @@ -54,14 +54,6 @@ - @@ -148,6 +140,19 @@ url: `/pages/union/memberList?guildId=${this.guildId}` }); }, + jumpHomePage(data) { + const platform = uni.getSystemInfoSync().platform; + if (platform === 'ios') { + window.webkit.messageHandlers.nativeHandler.postMessage({ + 'action': 'jumpWebPage', + 'data': { + userId: data.user_id + } + }); + } else if (platform === 'android') { + window.Android.jumpWebPage(data.user_id); + } + }, async confirmInfo(){ if (this.guildName === '') { uni.showToast({