c8130bc4 by 任超

style:登录

1 parent 9865414d
......@@ -467,7 +467,4 @@ div.footer .system_service ul li a:hover {
-ms-user-select:none; /*IE10*/
-khtml-user-select:none; /*早期浏览器*/
user-select:none;
}
.loginAfter {
display: none;
}
\ No newline at end of file
......
......@@ -43,8 +43,10 @@ function fetchDataReview() {
btn: ['是', '否'] //按钮
}, function () {
delCookie();
$('.loginButton').addClass('PersonLogin')
window.open('' + localhostPaht + '/index.html', '_self')
$('.loginButton').addClass('PersonLogin');
window.open('' + localhostPaht + '/index.html', '_self');
$('.loginAfter').hide();
$('.isLogin').show();
}, function () {
layer.msg('已取消');
});
......@@ -59,6 +61,11 @@ $(function () {
$('.loginButton').html(getCookie('myCookie').username);
$('.loginButton').removeClass('PersonLogin')
$('.personalCenter').addClass('show');
$('.loginAfter').show();
$('.isLogin').hide();
}else {
$('.loginAfter').hide();
$('.isLogin').show();
}
$(window).bind('beforeunload', function (event) {
var n = window.event.screenX - window.screenLeft;
......