Authored by 王水玲

Merge branch 'feature/installment3' into release/5.2

... ... @@ -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);
}
});
});
... ...
... ... @@ -101,18 +101,19 @@ button {
position: fixed;
display: none;
text-align: center;
width: 50%;
padding: 15PX;
top: 50%;
left: 50%;
margin-left: -25%;
margin-top: -45PX;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
font-size: 18PX;
border: none;
z-index: 100;
border-radius: 10PX;
margin: 0 auto;
left: 50%;
transform: translateX(-50%);
z-index: 4;
box-sizing: border-box;
border-radius: 10PX;
}
.order-failure {
... ...