head.js 5.44 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("");
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/common.css\' />");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticLib/jquery/jquery.min.js\'></script>");
document.writeln("</head>");
document.writeln("");
document.writeln("<body>");
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>");
document.writeln("");
document.writeln("            <div class=\'top_logo_search\'>");
document.writeln("                <input type=\'text\' name=\'title\' required lay-verify=\'required\' placeholder=\'请输入关键字搜索\' autocomplete=\'off\'");
document.writeln("                    class=\'layui-input\'>");
document.writeln("                <img class=\'search_img\' src=\'"+localhostPaht+"/staticImages/search.png\'>");
document.writeln("            </div>");
document.writeln("");
document.writeln("            <ul class=\'login\'>");
document.writeln("                <!-- <li>登录</li> -->");
document.writeln("                <li>");
document.writeln("                    <a href=\'"+localhostPaht+"/staticViews/grzx.html\'>个人中心</a>");
document.writeln("                </li>");
document.writeln("                <li>");
document.writeln("                    <a href=\'"+localhostPaht+"/staticViews/register.html\'>注册</a>");
document.writeln("                </li>");
document.writeln("            </ul>");
document.writeln("        </div>");
document.writeln("    </div>");
document.writeln("    <div class=\'navigation\'>");
document.writeln("        <ul class=\'layui-nav layui-bg-blue\' lay-filter=\'\'>");
document.writeln("            <li id='index' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/index.html\' title=\'首页\'>首页</a></li>");
document.writeln("            <li id='news' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/staticViews/xwdt.html\' title=\'新闻动态\'>新闻动态</a></li>");
document.writeln("            <li id='zwgk' class=\'layui-nav-item\'>");
document.writeln("                <a href=\'javascript:;\'>政务公开</a>");
document.writeln("                <dl class=\'layui-nav-child\'>");
document.writeln("                    <!-- 二级菜单 -->");
document.writeln("                    <dd><a href=\'"+localhostPaht+"/staticViews/xyzc.html\'>相应政策</a></dd>");
document.writeln("                    <dd><a href=\'"+localhostPaht+"/staticViews/flfg.html\'>法律法规</a></dd>"); 
document.writeln("                    <dd><a href=\'"+localhostPaht+"/staticViews/gsgg.html\'>公示公告</a></dd>");
document.writeln("                </dl>");
document.writeln("            </li>");
document.writeln("            <li id='bszn' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/staticViews/bszn.html\' title=\'办事指南\'>办事指南</a></li>");
document.writeln("            <li id='wssq' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/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=\'\'>移动模块</a></dd>");
document.writeln("                    <dd><a href=\'\'>后台模版</a></dd>");
document.writeln("                    <dd><a href=\'\'>电商平台</a></dd>");
document.writeln("                </dl>");
document.writeln("            </li>");
document.writeln("            <li id='zxjf' class=\'layui-nav-item\'><a href=\'"+localhostPaht+"/staticViews/zxjf.html\'>在线缴费</a></li>");
document.writeln("            <li class=\'layui-nav-item\' class=\'item_last_child\'><a href=\'\'>好差评</a></li>");
document.writeln("        </ul>");
document.writeln("    </div> ");
document.writeln("</body>");
document.writeln("");
document.writeln("</html>");
document.writeln("<script type='text/javascript' src=\'" + localhostPaht + "/staticLib/layui/layui.js\'></script>");
document.writeln("<script src=\'https://at.alicdn.com/t/font_2174584_1j8kvwarwge.js\'></script>");