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({