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
918a5e1e
authored
2021-01-18 17:36:00 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:添加吸顶效果
1 parent
a6a8c9ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
staticCss/header.css
staticJs/head.js
staticCss/header.css
View file @
918a5e1
.home-sticky
{
position
:
sticky
;
top
:
0
;
width
:
100%
;
background-color
:
#ffffff
;
z-index
:
10000
;
}
.layui-nav
.layui-nav-item
a
:hover
,
.layui-nav
.layui-this
a
{
font-weight
:
600
;
background-color
:
#0091FF
;
...
...
@@ -35,6 +42,7 @@ div.top-logo {
height
:
70px
!important
;
padding-top
:
20px
;
margin
:
0
auto
;
background-color
:
#ffffff
;
}
div
.top-logo
::-webkit-input-placeholder
{
/* WebKit browsers */
...
...
staticJs/head.js
View file @
918a5e1
...
...
@@ -24,6 +24,7 @@ document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/sta
document
.
writeln
(
"</head>"
);
document
.
writeln
(
""
);
document
.
writeln
(
"<body>"
);
document
.
writeln
(
"<div class='home-sticky'>"
);
document
.
writeln
(
" <div class=\'top-logo\'>"
);
document
.
writeln
(
" <div class=\'top_logo_content\'>"
);
document
.
writeln
(
" <h1><a href=\'"
+
localhostPaht
+
"/index.html\'><img src=\'"
+
localhostPaht
+
"/staticImages/logo.png\' alt=\'西安市不动产登记平台\' /></a></h1>"
);
...
...
@@ -90,6 +91,7 @@ document.writeln(" <li id='zxjf' class=\'layui-nav-item\'><a href=\'"
document
.
writeln
(
" <li id='evaluate' class=\'layui-nav-item\'><a href=\'"
+
localhostPaht
+
"/staticViews/evaluate.html\'>好差评</a></li>"
);
document
.
writeln
(
" </ul>"
);
document
.
writeln
(
" </div> "
);
document
.
writeln
(
" </div> "
);
document
.
writeln
(
"</body>"
);
document
.
writeln
(
""
);
document
.
writeln
(
"</html>"
);
...
...
Please
register
or
sign in
to post a comment