918a5e1e by 任超

style:添加吸顶效果

1 parent a6a8c9ff
.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 */
......
......@@ -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>");
......