如果有用户名密码,进入对应内容,否则返回登陆页
$('div#top').load('header.php', function () {
navText("配置信息");
var uname = sessionStorage['LoginName'];
if (uname) {
$('#welcome').html("欢迎回来" + uname);
} else {
$('.theme-popover-mask').fadeIn(100);
$('.theme-popover').slideDown(200);
setTimeout(function () {
location.href = "login.html";
}, 3000);
}
});