<!-- 输入出发地目的地 -->
<view class="itemView">出发地：
    <input style="width: 500rpx; height: 54rpx; display: block; box-sizing: border-box" class="input"  placeholder="请输入出发地"
    bindinput="getSrc_location"/>
  </view>
<view class="itemView">目的地：
    <input style="width: 500rpx; height: 54rpx; display: block; box-sizing: border-box" class="input"  placeholder="请输入目的地"
    bindinput="getDes_location" />
  </view>
<view class="fsbutton"  style="width: 750rpx; height: 211rpx; display: block; box-sizing: border-box">
  <button class="car"  bindtap="getCarRoute" style="color: green; width: 228rpx; height: 78rpx; display: block; box-sizing: border-box; left: -261rpx; top: 0rpx; position: relative">开车</button>
  <button class="bike" bindtap="getRideRoute" style="color: green; width: 256rpx; height: 78rpx; display: block; box-sizing: border-box; left: 0rpx; top: -78rpx; position: relative">自行车</button>
  <button class="walk" bindtap="getWalkRoute" style="color: green; position: relative; left: 262rpx; top: -155rpx; width: 228rpx; height: 78rpx; display: block; box-sizing: border-box">步行</button>
</view>

<!-- 地图及其参数 -->
<map 
    id="map" 
    longitude="{{longitude}}"
    latitude="{{latitude}}"
    style="width: 750rpx; height: 1043rpx; display: block; box-sizing: border-box; left: 0rpx; top: -106rpx; position: relative"
    scale="{{scale}}"
    markers="{{markers}}"
    setting="{{setting}}"
    polyline="{{polyline}}"
></map> 

<!-- 规划路线结果 -->
<view class="text_box" style="position: absolute; left: -3rpx; top: 1354rpx">
  <view class="text">{{distance}}</view>
  <view class="text">{{cost}}</view>
  <view class="detail_button" bindtouchstart="goDetail">详情</view>
</view>

<!-- 地标按钮 -->
<scroll-view scroll-y="true" class='tab-h'show-scrollbar="false">
  <view wx:for="{{pages>100?pages:100}}" bindtap="tabSelect" style=" line-height:60rpx;">
  <navigator class="{{type_door}}" bindtap="cauc_door">{{index==1? '校门':''}}</navigator>
  <navigator class="{{type_mess}}" bindtap="cauc_mess_hall">{{index==2? '食堂':''}}</navigator>
  <navigator class="{{type_bathroom}}" bindtap="cauc_bathroom">{{index==3? '浴室':''}}</navigator>
  <navigator class="{{type_print_shop}}" bindtap="cauc_print_shop">{{index==4? '打印店':''}}</navigator>
  <navigator class="{{type_supermarket}}" bindtap="cauc_supermarket">{{index==5? '超市':''}}</navigator>
  <navigator class="{{type_post_station}}" bindtap="cauc_post_station">{{index==6? '菜鸟驿站':''}}</navigator>
  <navigator class="{{type_library}}" bindtap="cauc_library">{{index==7? '图书馆':''}}</navigator>
  <navigator class="{{type_barber_shop}}" bindtap="cauc_barber_shop">{{index==8? '理发店':''}}</navigator>
  <navigator class="{{type_playground}}" bindtap="cauc_playground">{{index==9? '操场':''}}</navigator>
  <navigator class="{{type_gymnasium}}" bindtap="cauc_gymnasium">{{index==10? '体育馆':''}}</navigator>
  </view>
 </scroll-view> 

<!-- 有没有属性都会显示 -->
<!-- 显示当前位置 -->
<!-- show-location -->
<!-- 显示比例尺 -->
<!-- show-scale -->
<!-- 显示卫星图 -->
<!-- enable-satellite -->
<!-- 是否显示建筑，好像没啥用 -->
<!-- enable-building="true" -->

<!-- 获取天气 -->
<view>
  <!--定义页面结构，使用文本组件或其他组件 -->
  <button class="weather_button" bindtap="getWeather" style="width: 193rpx; height: 90rpx; display: block; box-sizing: border-box; left: 558rpx; top: 823rpx; position: fixed">天气</button>
</view>