style:登录
Showing
2 changed files
with
9 additions
and
5 deletions
... | @@ -467,7 +467,4 @@ div.footer .system_service ul li a:hover { | ... | @@ -467,7 +467,4 @@ div.footer .system_service ul li a:hover { |
467 | -ms-user-select:none; /*IE10*/ | 467 | -ms-user-select:none; /*IE10*/ |
468 | -khtml-user-select:none; /*早期浏览器*/ | 468 | -khtml-user-select:none; /*早期浏览器*/ |
469 | user-select:none; | 469 | user-select:none; |
470 | } | ||
471 | .loginAfter { | ||
472 | display: none; | ||
473 | } | 470 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -43,8 +43,10 @@ function fetchDataReview() { | ... | @@ -43,8 +43,10 @@ function fetchDataReview() { |
43 | btn: ['是', '否'] //按钮 | 43 | btn: ['是', '否'] //按钮 |
44 | }, function () { | 44 | }, function () { |
45 | delCookie(); | 45 | delCookie(); |
46 | $('.loginButton').addClass('PersonLogin') | 46 | $('.loginButton').addClass('PersonLogin'); |
47 | window.open('' + localhostPaht + '/index.html', '_self') | 47 | window.open('' + localhostPaht + '/index.html', '_self'); |
48 | $('.loginAfter').hide(); | ||
49 | $('.isLogin').show(); | ||
48 | }, function () { | 50 | }, function () { |
49 | layer.msg('已取消'); | 51 | layer.msg('已取消'); |
50 | }); | 52 | }); |
... | @@ -59,6 +61,11 @@ $(function () { | ... | @@ -59,6 +61,11 @@ $(function () { |
59 | $('.loginButton').html(getCookie('myCookie').username); | 61 | $('.loginButton').html(getCookie('myCookie').username); |
60 | $('.loginButton').removeClass('PersonLogin') | 62 | $('.loginButton').removeClass('PersonLogin') |
61 | $('.personalCenter').addClass('show'); | 63 | $('.personalCenter').addClass('show'); |
64 | $('.loginAfter').show(); | ||
65 | $('.isLogin').hide(); | ||
66 | }else { | ||
67 | $('.loginAfter').hide(); | ||
68 | $('.isLogin').show(); | ||
62 | } | 69 | } |
63 | $(window).bind('beforeunload', function (event) { | 70 | $(window).bind('beforeunload', function (event) { |
64 | var n = window.event.screenX - window.screenLeft; | 71 | var n = window.event.screenX - window.screenLeft; | ... | ... |
-
Please register or sign in to post a comment