footer问题,求大神解答
使用ajax处理数据,然后跳转到另一个页面,此页面的footer变成空白的,怎么解? function loginCheck(){ var loginName=$(".loginName input").val(); var loginPwd=$(".loginPwd input").val(); if(loginName!=""&&loginPwd!=""){ $.ui.showMask("正在加载...");//打开mask $.jsonP({ url:'http://www.bufanr.cn/index.php/Index/loginCheck?loginName='+loginName+'&loginPwd='+loginPwd, success:function(data){ switch(data["argu"]){ case "ok": localStorage.setItem("uid",data["uid"]); localStorage.setItem("role_id",data["role_id"]); // localStorage.setItem("icon",data["icon"]); localStorage.setItem("xm",data["xm"]); $.ui.loadContent("#sspai", false, true, "slide"); break; default: break; } toast(data["arguErr"]); $.ui.hideMask();//关闭mask } }); } function loginCheck(){var loginName=$(".loginName input").val();
var loginPwd=$(".loginPwd input").val();
if(loginName!=""&&loginPwd!=""){
$.ui.showMask("正在加载...");//打开mask
$.jsonP({
url:'http://www.bufanr.cn/index.php/Index/loginCheck?loginName='+loginName+'&loginPwd='+loginPwd,
success:function(data){
switch(data["argu"]){
case "ok":
localStorage.setItem("uid",data["uid"]);
localStorage.setItem("role_id",data["role_id"]);
// localStorage.setItem("icon",data["icon"]);
localStorage.setItem("xm",data["xm"]);
$.ui.loadContent("#sspai", false, true, "slide");
break;
default:
break;
}
toast(data["arguErr"]);
$.ui.hideMask();//关闭mask
}
});
}
页:
[1]