Authored by 李奇

有货有赚申请成功支持微信内h5

... ... @@ -48,12 +48,6 @@ class HaveGainApplyPage extends Page {
// app内审核通过跳转区分处理
if (yoho.isApp && jumpUrl.indexOf('go.minealliance') > -1) {
// 若指定跳转
if (this.query.passJump === 'Y') {
jumpUrl = `//m.yohobuy.com/?openby:yohobuy={"action":"go.h5","params":{"title":"${this.query.title}","url":"${this.query.jumpUrl}"}}`; // eslint-disable-line
}
$('body').append('<a id="jump-url" href="javascript:;" style="display: none;"></a>');
$('#jump-url').attr('href', jumpUrl);
... ... @@ -74,7 +68,11 @@ class HaveGainApplyPage extends Page {
yoho.ready(jumpFn);
}
} else {
window.location.href = jumpUrl;
if (jumpUrl.indexOf('go.minealliance') > -1 && this.query.jumpUrl) {
window.location.href = this.query.jumpUrl;
} else {
window.location.href = jumpUrl;
}
}
}
}
... ...