bhq@iemsoft.cn
2018-11-27 e2b48dac099e43f4b3243cdf19a7522e4b5eccbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{if $full_page eq 1}
<!DOCTYPE HTML>
<html>
<head>
{include file='html_header.htm'}
<script src='http://api.map.baidu.com/api?type=quick&ak=BFf34117b1d204dbf23d6a289b5bfdf5&v=1.0'></script>
<script src='js/znavi.js'></script>
<script>
      var destination = '{$destination}';
      var region = '{$region}';
      var mode = BMAP_MODE_DRIVING;
      function change_mode(_mode)
      {
        mode = _mode;
        $('.navigate_marker').removeClass('on');
        if(mode == BMAP_MODE_DRIVING)
        {
            $('#driving_marker').addClass('on');
        }
        else if(mode == BMAP_MODE_TRANSIT)
        {
            $('#bus_marker').addClass('on');
        }
        else if(mode == BMAP_MODE_WALKING)
        {
            $('#walk_marker').addClass('on');
        }
      }
      function route()
      {
        $.znavi.route(destination,region,mode);
      }
    </script>
</head>
<body>
<div id='container'> {/if}
  {include file='page_header.htm'}
  <section>
    <div class="order_con">
      <div class="order_pd">
        <div class="order">
          <div class="order_list_buyer">
            <div class="check_order_info">
            <table width='100%'>
              <tr>
                  <td onclick='change_mode(BMAP_MODE_DRIVING)' align="center">
                    <div class='navigate_mode_icon' id='driving' ></div>
                    <div>驾车<i id='driving_marker' class='navigate_marker on'></i></div>
                </td>
                <td onclick='change_mode(BMAP_MODE_TRANSIT)' align="center">
                    <div class='navigate_mode_icon' id='bus' ></div>
                    <div>公共交通<i id='bus_marker' class='navigate_marker'></i></div>
                </td>
                <td onclick='change_mode(BMAP_MODE_WALKING)' align="center">
                    <div class='navigate_mode_icon' id='walk' ></div>
                    <div>步行<i id='walk_marker' class='navigate_marker'></i></div>
                </td>
              </tr>
            </table>
            </div>
            <p>
              <input type='button' class='button navigate_route' onclick='javascript:route()' value='确定'/>
              <input type='button' class='button' onclick='javascript:history.back(-1);' value='关闭'/>
            </p>
          </div>
        </div>
      </div>
    </div>
  </section>
  {include file='page_footer.htm'}
  {if $full_page eq 1} </div>
{include file='static_div.htm'}
</body>
</html>
{/if}