parking.axml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <view class="box">
  2. <view class="background" a:if="{{show}}" catchtouchmove="true"></view>
  3. <view class="search">
  4. <image src="{{img}}weapp/search.png" style="width:48rpx;height:48rpx;margin-right:44rpx;"></image>
  5. <input placeholder="请输入目的地查看附近还车点" onInput="input" value="{{value}}" placeholder-class="place"></input>
  6. </view>
  7. <view class="list" a:if="{{show && suggestion!=''}}">
  8. <view a:for="{{suggestion}}" class="city_list" onTap="selected" data-index="{{index}}" a:key="key">
  9. <image src="{{img}}weapp/location_city.png"></image>
  10. <view>
  11. <text class="title">{{item.title}}</text>
  12. <text class="title1">{{item.addr}}</text>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="parking" a:if="{{parking}}" animation="{{animationData}}">
  17. <view class="view view1">
  18. <text class="title">{{areaTop.name}}</text>
  19. <view>
  20. <text>{{areaTop.location_distance}}</text>
  21. <text style="padding-left:16rpx;margin-left:16rpx;border-left:2rpx solid #ccc;">{{areaTop.description}}</text>
  22. </view>
  23. </view>
  24. <view onTap="location" data-item="{{item}}" class="view view2">
  25. <image src="../../img/go.png" style="width:100rpx;height:100rpx"></image>
  26. </view>
  27. </view>
  28. <map id="map" longitude='{{longitude}}' latitude='{{latitude}}' scale='16' markers="{{markers}}" onMarkerTap=""="stop"
  29. show-location="true" data-markers="{{markers}}" controls="{{controls}}" polygon="{{polygons}}">
  30. <!-- <map name="map" id="map" show-location="true" longitude='{{longitude}}' latitude='{{latitude}}' scale='16'
  31. markers="{{markers}}" data-markers="{{markers}}" controls="{{controls}}" polygon="{{polygons}}">
  32. </map> -->
  33. </map>
  34. <view class="bottom">
  35. <view class="view">
  36. <view class="bikeBorder"></view>
  37. <text>骑行区</text>
  38. </view>
  39. <view class="view">
  40. <view class="parkBorder">
  41. <image src="http://resource.bike.hanyiyun.com/yunwei/parkShow.png"></image>
  42. </view>
  43. <text>停车区</text>
  44. </view>
  45. <view class="view">
  46. <view class="noPark">
  47. <image src="http://resource.bike.hanyiyun.com/yunwei/forbid.png"></image></view>
  48. <text>禁停区</text>
  49. </view>
  50. </view>
  51. </view>