Authored by 徐炜

APP优化交互

... ... @@ -248,7 +248,7 @@ $('#apply-button').click(function() {
};
if (result.code === 200 && result.data) {
if (yohoApp.isiOS) {
if (asyncMode) {
yohoApp.invokeMethod('go.instalmentActivated', params.params);
} else {
that.attr('href', location.pathname + '?openby:yohobuy=' + encodeURIComponent(JSON.stringify(params)));
... ... @@ -258,7 +258,7 @@ $('#apply-button').click(function() {
} else if (result.code === 500) {
// 接口可能超时返回审核中 by 孟令阶
params.params.status = '1';
if (yohoApp.isiOS) {
if (asyncMode) {
yohoApp.invokeMethod('go.instalmentActivated', params.params);
} else {
that.attr('href', location.pathname + '?openby:yohobuy=' + encodeURIComponent(JSON.stringify(params)));
... ...