You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
834 B
37 lines
834 B
$.material.init();
|
|
$(".navbar.navbar-inverse").animate({
|
|
"backgroundColor": "#009688",
|
|
|
|
});
|
|
$(".header-panel").animate({
|
|
"backgroundColor": "#009688",
|
|
|
|
});
|
|
$(".top-color").animate({
|
|
"backgroundColor": "#4CAF50",
|
|
|
|
});
|
|
$("[data-change='true']").animate({
|
|
"color": "#009688",
|
|
|
|
});
|
|
$(".btn.btn-primary").animate({
|
|
"backgroundColor": "#009688",
|
|
|
|
});
|
|
$(".captcha_img").click(function() {
|
|
$("[alt='captcha']:visible").attr('src', "/captcha");
|
|
})
|
|
$("#loginButton").click(function(){
|
|
$("#loginButton").attr("disabled","true");
|
|
$.post("/Member/TwoStepCheck", $("#loginForm").serialize(), function(data) {
|
|
if(data.code != "200"){
|
|
toastr["error"](data.message, "登录失败");
|
|
$("#loginButton").removeAttr("disabled");
|
|
|
|
}else{
|
|
toastr["success"](data.message, "登录成功");
|
|
window.location.href="/Home";
|
|
}
|
|
})
|
|
}) |