diff --git a/view/peko/activity/2024-invitationFission/js/share.js b/view/peko/activity/2024-invitationFission/js/share.js index a7f78e3..56819ff 100644 --- a/view/peko/activity/2024-invitationFission/js/share.js +++ b/view/peko/activity/2024-invitationFission/js/share.js @@ -59,6 +59,14 @@ $(function () { } ]); } + if (browser.ios) { + MobLink([{ + el: '#downloads', + path: '', + params: { mobLinkType: 1, inviteCode, } + } + ]); + } $.copy({ text: "复制成功", //分享提示文案 copyUrl: inviteCode, //自定义复制 @@ -87,12 +95,11 @@ function get () { } }) } -$('.box .xz').click(function () { - if (browser.ios) { - // window.location.href = `pikoApp://register?inviteCode=${inviteCode}&type=8` - isAppInstalled(`pikoApp://register?inviteCode=${inviteCode}&type=8`); - } -}) +// $('.box .xz').click(function () { +// if (browser.ios) { +// window.location.href = `https://cebg.t4m.cn/` +// } +// }) function isAppInstalled(scheme) { try { // 尝试打开应用 diff --git a/view/peko/activity/2024-invitationFission/share.html b/view/peko/activity/2024-invitationFission/share.html index 8a7b87f..49560c9 100644 --- a/view/peko/activity/2024-invitationFission/share.html +++ b/view/peko/activity/2024-invitationFission/share.html @@ -58,4 +58,4 @@ - \ No newline at end of file + \ No newline at end of file