...
|
...
|
@@ -27,12 +27,13 @@ var cardDetail = { |
|
|
errorText: '解除失败',
|
|
|
successAction: function() {
|
|
|
tip.show('解除成功!');
|
|
|
|
|
|
if (asyncMode) {
|
|
|
yohoApp.invokeMethod('go.relieveCardSuccess');
|
|
|
} else {
|
|
|
window.location.href = location.href + '&openby:yohobuy={"action":"go.relieveCardSuccess"}';
|
|
|
}
|
|
|
setTimeout(function() {
|
|
|
if (asyncMode) {
|
|
|
yohoApp.invokeMethod('go.relieveCardSuccess');
|
|
|
} else {
|
|
|
window.location.href = location.href + '&openby:yohobuy={"action":"go.relieveCardSuccess"}';
|
|
|
}
|
|
|
}, 1000);
|
|
|
}
|
|
|
});
|
|
|
});
|
...
|
...
|
@@ -44,11 +45,13 @@ var cardDetail = { |
|
|
errorText: '切换失败',
|
|
|
successAction: function() {
|
|
|
tip.show('切换成功!');
|
|
|
if (asyncMode) {
|
|
|
yohoApp.invokeMethod('go.instalmentMyCardList');
|
|
|
} else {
|
|
|
window.location.href = location.href + '&openby:yohobuy={"action":"go.instalmentMyCardList"}';
|
|
|
}
|
|
|
setTimeout(function() {
|
|
|
if (asyncMode) {
|
|
|
yohoApp.invokeMethod('go.instalmentMyCardList');
|
|
|
} else {
|
|
|
window.location.href = location.href + '&openby:yohobuy={"action":"go.instalmentMyCardList"}';
|
|
|
}
|
|
|
}, 1000);
|
|
|
}
|
|
|
});
|
|
|
});
|
...
|
...
|
|