
<view class="box">
  <view class="background" a:if="{{show}}" catchtouchmove="true"></view>
  <view class="search">
    <image src="{{img}}weapp/search.png" style="width:48rpx;height:48rpx;margin-right:44rpx;"></image>
    <input placeholder="请输入目的地查看附近还车点" onInput="input" value="{{value}}" placeholder-class="place"></input>
  </view>
  <view class="list" a:if="{{show && suggestion!=''}}">
    <view a:for="{{suggestion}}" class="city_list" onTap="selected" data-index="{{index}}" a:key="key">
      <image src="{{img}}weapp/location_city.png"></image>
      <view>
        <text class="title">{{item.title}}</text>
        <text class="title1">{{item.addr}}</text>
      </view>
    </view>
  </view>
  <view class="parking" a:if="{{parking}}" animation="{{animationData}}">
    <view class="view view1">
      <text class="title">{{areaTop.name}}</text>
      <view>
        <text>{{areaTop.location_distance}}</text>
        <text style="padding-left:16rpx;margin-left:16rpx;border-left:2rpx solid #ccc;">{{areaTop.description}}</text>
      </view>
    </view>
    <view onTap="location" data-item="{{item}}" class="view view2">
      <image src="../../img/go.png" style="width:100rpx;height:100rpx"></image>
    </view>
  </view>
  <map id="map" longitude='{{longitude}}' latitude='{{latitude}}' scale='16' markers="{{markers}}" onMarkerTap=""="stop"
    show-location="true" data-markers="{{markers}}" controls="{{controls}}"  polygon="{{polygons}}">
    <!-- <map name="map" id="map" show-location="true" longitude='{{longitude}}' latitude='{{latitude}}' scale='16'
    markers="{{markers}}" data-markers="{{markers}}" controls="{{controls}}" polygon="{{polygons}}">
  </map> -->
  </map>
  <view class="bottom">
    <view class="view">
      <view class="bikeBorder"></view>
      <text>骑行区</text>
    </view>
    <view class="view">
      <view class="parkBorder">
        <image src="http://resource.bike.hanyiyun.com/yunwei/parkShow.png"></image>
      </view>
      <text>停车区</text>
    </view>
    <view class="view">
      <view class="noPark">
      <image src="http://resource.bike.hanyiyun.com/yunwei/forbid.png"></image></view>
      <text>禁停区</text>
    </view>
  </view>
</view>