| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- <!DOCTYPE HTML>
- <html lang="zxx">
- <head>
- <title>AQM</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta charset="utf-8">
- <meta name="keywords" content=""/>
- <link rel="SHORTCUT ICON" href="{$Think.HOME_SITE_ROOT}/images/LOGO.png"/>
- <script src="{$Think.PLUGINS_SITE_ROOT}/jquery-2.1.4.min.js"></script>
- <!--引用百度地图API-->
- <style type="text/css">
- html, body {
- margin: 0;
- padding: 0;
- }
- .iw_poi_title {
- color: #CC5522;
- font-size: 14px;
- font-weight: bold;
- overflow: hidden;
- padding-right: 13px;
- white-space: nowrap
- }
- .iw_poi_content {
- font: 12px arial, sans-serif;
- overflow: visible;
- padding-top: 4px;
- white-space: -moz-pre-wrap;
- word-wrap: break-word
- }
- </style>
- <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>
- <script>
- addEventListener("load", function () {
- setTimeout(hideURLbar, 0);
- }, false);
- function hideURLbar() {
- window.scrollTo(0, 1);
- }
- </script>
- <!-- Bootstrap Core CSS -->
- <link href="{$Think.HOME_SITE_ROOT}/css/bootstrap.css" rel='stylesheet' type='text/css'/>
- <!-- gallery css -->
- <link rel="stylesheet" href="{$Think.HOME_SITE_ROOT}/css/swipebox.css">
- <!-- Custom CSS -->
- <link href="{$Think.HOME_SITE_ROOT}/css/style.css" rel='stylesheet' type='text/css'/>
- <!-- font-awesome icons -->
- <link href="{$Think.HOME_SITE_ROOT}/css/fontawesome-all.min.css" rel="stylesheet">
- <!-- //Custom Theme files -->
- <!--webfonts-->
- <link href="http://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i"
- rel="stylesheet">
- <!--//webfonts-->
- </head>
- <body>
- <!-- header -->
- <!--<header style="position: fixed; width: 100%; background: #111; opacity: 0.8;">-->
- <header style="width: 100%; background: #010101;">
- <div class="container" style="height: 30px; line-height: 1;">
- {if $user_info['user_id']}
- <nav class="navbar navbar-expand-lg navbar-light" style="display: flex; justify-content: flex-end;">
- <a href="/user/register/index.html" class="px-2 text-uppercase font-weight-bold"
- style="cursor: pointer; color: #fff; font-size: 12px;">
- 购物车
- </a>
- <a href="/User/login/index.html" class="px-2 text-uppercase font-weight-bold"
- style="cursor: pointer; color: #fff; font-size: 12px;">
- 支持服务
- </a>
- <a href="/User/index/index.html" class="px-2 text-uppercase font-weight-bold"
- style="cursor: pointer; color: #fff; font-size: 12px;">
- {$Think.session.user_email}
- </a>
- <a href="/User/Login/logout.html" class="px-2 text-uppercase font-weight-bold"
- style="cursor: pointer; color: #fff; font-size: 12px; margin-right: 18px;">
- 安全退出
- </a>
- </nav>
- {else}
- <nav class="navbar navbar-expand-lg navbar-light" style="display: flex; justify-content: flex-end;">
- <a href="/user/register/index.html" class="btn-lg-block w3ls-btn px-4 text-uppercase font-weight-bold"
- style="cursor: pointer; color: #fff; font-size: 12px;">
- 注册
- </a>
- <a href="/User/login/index.html" class="btn-lg-block w3ls-btn px-4 text-uppercase font-weight-bold"
- style="cursor: pointer; color: #fff; font-size: 12px;">
- 登陆
- </a>
- </nav>
- {/if}
- </div>
- <div style="border-bottom: 1px solid #505050;"></div>
- <div class="container" style="height: 40px; line-height: 0.8;">
- <nav class="navbar navbar-expand-lg navbar-light">
- <a class="navbar-brand" style="color: #fff; font-weight: 800;" href="index.html">
- ANQUANMAO
- </a>
- <button class="navbar-toggler ml-md-auto" type="button" data-toggle="collapse"
- data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
- aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse" id="navbarSupportedContent">
- <ul class="navbar-nav mx-auto text-center" style="margin-right: 0 !important;">
- <li class="nav-item mr-3">
- <a id="home_index" class="nav-link" href="{:url('home/index/index')}">首页</a>
- </li>
- <li class="nav-item mr-3">
- <a id="home_product" class="nav-link" href="{:url('home/product/product')}">产品与服务</a>
- </li>
- <li id="home_about" class="nav-item mr-3">
- <a class="nav-link" href="{:url('home/about/about')}">关于我们</a>
- </li>
- <li id="home_contact" class="nav-item mr-3">
- <a class="nav-link" href="{:url('home/contact/contact')}">联系我们</a>
- </li>
- </ul>
- </div>
- </nav>
- </div>
- <div style="border-bottom: 1px solid #505050;"></div>
- </header>
- <script type="text/javascript">
- const pathName = window.location.pathname
- if (pathName == '/home/index/index.html') {
- $("#home_index").attr("class","nav-link active")
- }
- if (pathName == '/home/product/product.html') {
- $("#home_product").attr("class","nav-link active")
- }
- if (pathName == '/home/about/about.html') {
- $("#home_about").attr("class","nav-item dropdown mr-3 active")
- }
- if (pathName == '/home/contact/contact.html') {
- $("#home_contact").attr("class","nav-item dropdown mr-3 active")
- }
- </script>
- <!-- //header -->
|