Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c8130bc4
authored
2020-12-25 15:44:45 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登录
1 parent
9865414d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
staticCss/common.css
staticJs/login.js
staticCss/common.css
View file @
c8130bc
...
...
@@ -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
...
...
staticJs/login.js
View file @
c8130bc
...
...
@@ -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
;
...
...
Please
register
or
sign in
to post a comment