同步提交
This commit is contained in:
parent
34484db465
commit
3941afa58a
@ -30,7 +30,7 @@
|
||||
.message-popup-error .message-popup-inner {
|
||||
border-color: rgb(175, 94, 94);
|
||||
background: #FFF7F7;
|
||||
color: rgb(175, 94, 94);
|
||||
color: rgb(134, 77, 77);
|
||||
}
|
||||
.message-popup-ok {
|
||||
border-color: #DCF1DE;
|
||||
|
@ -43,6 +43,10 @@
|
||||
sessMgr.on("userForcedOut", function() {
|
||||
mp.showMessagePopup("error", "您的登录出现了问题,请重新登录");
|
||||
});
|
||||
$(".search-more-option").click(function() {
|
||||
var div = $("div.options-param");
|
||||
div.is(":visible") ? (div.hide(), $(this).html("显示更多选项")) : (div.show(), $(this).html("隐藏更多选项"));
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
|
@ -107,5 +107,7 @@
|
||||
document.addEventListener("requestSupportError", function () {
|
||||
exports.showMessagePopup("error", "无法执行网络请求,似乎没有安装12306订票助手哦。", { closeAfter: null });
|
||||
});
|
||||
|
||||
document.addEventListener("verifyCodeLoadFailed", function() {
|
||||
exports.showMessagePopup("error", "验证码加载失败,请点击验证码图片刷新哦。");
|
||||
});
|
||||
});
|
||||
|
@ -28,6 +28,7 @@
|
||||
imageEle.css({ "background-image": "url(" + this.url + ")", "background-size": "100% 100%" });
|
||||
}, function () {
|
||||
imageEle.css({ "background-image": "url(../../images/loading.gif", "background-size": "auto" });
|
||||
document.dispatchEvent(new CustomEvent("verifyCodeLoadFailed"));
|
||||
});
|
||||
};
|
||||
exports.refresh = function (target) {
|
||||
|
Loading…
Reference in New Issue
Block a user