head.js 6.47 KB
var curWwwPath = window.document.location.href;
var pathName = window.document.location.pathname;
var pos = curWwwPath.indexOf(pathName);
var localhostPaht = curWwwPath.substring(0, pos);
document.writeln("<!DOCTYPE html>");
document.writeln("<html lang=\'en\'>");
document.writeln("<head>");
document.writeln("    <meta charset=\'UTF-8\'>");
document.writeln("    <meta name=\'copyright\' content=\' &reg 技术支持 All Rights Reserved\' />");
document.writeln("    <meta name=\'robots\' content=\'index,follow\' />");
document.writeln("    <meta name=\'googlebot\' content=\'index,follow,archive\' />");
document.writeln("    <link rel=\'alternate icon\' type=\'image/png\' href=\'" + localhostPaht + "/staticImages/logo-realestate.png\'>");
document.writeln("    <link rel=\'icon\' href=\'favicon.ico\' type=\'image/x-ico\' />");
document.writeln("    <meta name=\'description\' content=\'\' />");
document.writeln("    <meta name=\'Keywords\' content=\'\' />");
document.writeln("    <link rel=\'stylesheet\' type=\'text/css\' href=\'" + localhostPaht + "/staticLib/layui/css/layui.css\' />");
document.writeln("    <link type=\'text/css\' rel=\'stylesheet\' href=\'" + localhostPaht + "/staticCss/header.css\' />");
document.writeln("    <link type=\'text/css\' rel=\'stylesheet\' href=\'" + localhostPaht + "/staticCss/common.css\' />");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticLib/jquery/jquery.min.js\'></script>");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticJs/common.js\'></script>");
document.writeln("</head>");
document.writeln("<div class=\'home-sticky\'>");
document.writeln("        <div class=\'top-logo\'>");
document.writeln("            <div class=\'top_logo_content\'>");
document.writeln("                <div class=\'head-time\'>今天是2021年1月19日 星期二</div>");
document.writeln("                <ul class=\'login layui-nav login-con\'>");
document.writeln("                    <span class=\'loginButton\' id=\'login\'>登录</span>");
document.writeln("                    <p class=\'loginButton register\' id=\'register\'><a href=\'/staticViews/register.html\'>注册</a></p>");
document.writeln("                </ul>");
document.writeln("            </div>");
document.writeln("        </div>");
document.writeln("    </div>");
document.writeln("    <div class=\'head-search\'>");
document.writeln("        <div class=\'head-contentBox\'>");
document.writeln("            <img class=\'logo-img\' src=\'/staticImages/logo.png\' alt=\'不动产\'>");
document.writeln("            <div class=\'content-search\'>");
document.writeln("                <input type=\'text\' placeholder=\'请输入关键字搜索\' class=\'layui-input head-search-input\'>");
document.writeln("                <p class=\'search-button\'>");
document.writeln("                    <img src=\'/staticImages/search.png\' />");
document.writeln("                    一键查询");
document.writeln("                </p>");
document.writeln("                <ul class=\'search-hint\'>");
document.writeln("                    <li class=\'hot-search\'>");
document.writeln("                        <img src=\'/staticImages/remen.png\' />");
document.writeln("                        热门搜索");
document.writeln("                    </li>");
document.writeln("                    <li>");
document.writeln("                        在线预约");
document.writeln("                    </li>");
document.writeln("                    <li>");
document.writeln("                        网上申请");
document.writeln("                    </li>");
document.writeln("                    <li>");
document.writeln("                        办事指南");
document.writeln("                    </li>");
document.writeln("                    <li>");
document.writeln("                        档案查询");
document.writeln("                    </li>");
document.writeln("                </ul>");
document.writeln("            </div>");
document.writeln("        </div>");
document.writeln("    </div>");
document.writeln("    <div class=\'layui-nav navigation layui-bg-blue\'>");
document.writeln("        <ul class=\'navigation-content\'>");
document.writeln("            <li id=\'index\' class=\'layui-nav-item\'><a href=\'/index.html\' title=\'首页\'>首页</a></li>");
document.writeln("            <li id=\'news\' class=\'layui-nav-item\'><a href=\'/staticViews/newsList/1.html\' title=\'新闻动态\'>新闻动态</a></li>");
document.writeln("            <li id=\'zwgk\' class=\'layui-nav-item\'><a href=\'/staticViews/apen-government-affairs.html\'>政务公开</a></li>");
document.writeln("            <li id=\'bszn\' class=\'layui-nav-item\'><a href=\'/staticViews/bszn.html\' title=\'办事指南\'>办事指南</a></li>");
document.writeln("            <li id=\'wssq\' class=\'layui-nav-item\'><a href=\'/staticViews/wssq.html\' title=\'网上申请\'>网上申请</a></li>");
document.writeln("            <li class=\'layui-nav-item\'>");
document.writeln("                <a href=\'javascript:;\'>查验中心</a>");
document.writeln("                <dl class=\'layui-nav-child\'>");
document.writeln("                    <!-- 二级菜单 -->");
document.writeln("                    <dd><a href=\'/staticViews/convenienceService/fileQuery.html\'>档案查询</a></dd>");
document.writeln("                    <dd><a href=\'/staticViews/convenienceService/recordInquiry.html\'>合同备案查询</a>");
document.writeln("                    </dd>");
document.writeln("                    <dd><a href=\'/staticViews/convenienceService/certificateVerification.html\'>证书核验</a>");
document.writeln("                    </dd>");
document.writeln("                </dl>");
document.writeln("            </li>");
document.writeln("            <li id=\'zxjf\' class=\'layui-nav-item\'><a href=\'/staticViews/zxjf.html\'>在线缴费</a></li>");
document.writeln("            <li id=\'evaluate\' class=\'layui-nav-item\'><a href=\'/staticViews/evaluate.html\'>好差评</a></li>");
document.writeln("        </ul>");
document.writeln("    </div>");
document.writeln("</html>");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticLib/layui/layui.js\'></script>");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticJs/login.js\'></script>");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticJs/header.js\'></script>");
document.writeln("<script src=\'https://at.alicdn.com/t/font_2174584_1j8kvwarwge.js\'></script>");