<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="initial-scale=1, width=device-width, user-scalable=no" />
  <meta name="format-detection" content="telephone=no,email=no" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <title>经销商查询</title>
  <script src='javascript/components/flexible.js'></script>
  <link rel="stylesheet" href="style/share/reset.css">
  <link rel="stylesheet" href="style/share/weui.min.css">
  <link rel="stylesheet" href="style/share/jquery-weui.css">
  <link rel="stylesheet" href="style/pageCss/dealer.css">
  <style>
    .weui-dialog__bd {


      height: 9.0rem;
      text-align: left;
      font-size: 16px;
      color: #000;
      /* display: block; */
      /* -webkit-box-align: center; */
      /* -webkit-box-pack: center; */
      /* letter-spacing: 0.0083rem; */
    }

  </style>
</head>

<body>
  <div class="container">
    <div class="content dealer">

      <header class="bg-white box-center-center"><img src="image/logo.png" alt=""></header>

      <div class="search">
          <form action=""  onsubmit="return false;" >
            <input id="compnay" type="search" class="f14" placeholder="搜索经销商网点名称">
          </form>
      </div>
      <div style="background: #fff;width: 1.0667rem;height: 1.0667rem;border-radius: 100%;position: fixed;z-index: 500;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);;
    bottom: 4.5rem;right: 0.4rem" class="mark">
        <img src="image/icom1.png" style=" width: 0.16rem;height: 0.66rem;position: absolute;top:50%; left:50%;transform: translate(-50%,-50%)">
      </div>
      <ul class="tab f14 align-center">
        <li class="box-center-center" id="typeImg" style="border-right: 1px solid #00893D; display: none;">
          <input type="text" class="" id="type" style="font-size: 13px" placeholder="经销商类别" >
          <input type="text" id="typeId" style="display: none">
          <img src="image/down.png" alt="" >
        </li>
        <li class="box-center-center" id="areaImg">
          <input type="text" class="" id="address" style="font-size: 13px" placeholder="所在地区">
          <input type="text" id="areaId" style="display: none">
          <img src="image/down.png" alt="">
        </li>

      </ul>

      <script id="template" type="text/x-handlebars-template">
        {{#each data}}
        <li>
          <div class="top">
            <p id="id"  style="display: none">{{id}}</p>
            <p class="f16 color3" style="margin-bottom:0.1875rem">{{company}}</p>
            <p class="f14 " style="color:#999">{{type_name}}</p>

          </div>
          <div class="button f12 box">
            <a href="tel:{{phone}}" class="box-center-center"><img src="image/dealer1.png" style="width:0.5625rem;margin-right:0.3125rem"><span>一键联系</span></a>
            <a class="box-center-center" href = "http://api.map.baidu.com/marker?location={{latitude}},{{longitude}}&title={{company}}&content={{address}}&output=html&src=myapp">
              <img src="image/dealer2.png" style="width:0.5rem;margin-right:0.3125rem"><span>GPS导航</span></a>
          </div>
        </li>
        {{/each}}
      </script>
      <ul class="dealer-list">

      </ul>

    </div>

    
  </div>
</body>
<script src='javascript/components/jquery-2.2.4.min.js'></script>
<script src="javascript/crypto-js-master/crypto-js.js"></script>
<script src="javascript/components/cryptomain.js"></script>
<script src='javascript/components/g.js'></script>
<script src='javascript/components/jquery-weui.js'></script>
<script src='javascript/components/niceClick.js'></script>
<script src='javascript/components/fastclick.js'></script>
<script src='javascript/components/dateUtils.js'></script>
<script src='javascript/components/handlebars.min-latest.js'></script>
<script src='javascript/components/mcfApp.js'></script>
<script src="javascript/pages/dealerList.js"></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ibYaSbgwuoYtKBpbui6vUvPb&s=asdfsdf"></script>
<script type="text/javascript" src="https://api.map.baidu.com/getscript?v=2.0&ak=ibYaSbgwuoYtKBpbui6vUvPb&services=&t=20190123111209"></script>
<script>
 var devMode = G.devMode();
 var bindNextEvent = function (app) {
     var dealerList1 = new dealerList({
         devMode: devMode,
         cfApp: app
     });
     dealerList1.init();
 };
  var cfapp = new cfApp({
    devMode: devMode,
    initWxApi: false,
    nextAction: bindNextEvent,
    vt: new Date().getTime()
  });
  cfapp.init();
</script>

</html>