navigation.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. <view class="box">
  2. <view class="background" wx:if="{{show}}" catchtouchmove="true"></view>
  3. <view class="search">
  4. <image src="http://resource.weilaigo.l4j.cn/search.png" style="width:48rpx;height:48rpx;margin-right:44rpx;"></image>
  5. <input placeholder="请输入目的地查看附近还车点" bindinput="input" value="{{value}}" placeholder-class="place"></input>
  6. </view>
  7. <view class="list" wx:if="{{show && suggestion!=''}}">
  8. <view wx:for="{{suggestion}}" class="city_list" bindtap="selected" data-index="{{index}}" wx:key="key">
  9. <image src="http://resource.weilaigo.l4j.cn/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" wx: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 bindtap="location" data-item="{{item}}" class="view view2">
  25. <image src="http://resource.weilaigo.l4j.cn/gohear.png" style="width:140rpx;height:140rpx"></image>
  26. </view>
  27. </view>
  28. <map id="map" longitude='{{longitude}}' latitude='{{latitude}}' scale='16' markers="{{markers}}" bindmarkertap="stop" show-location="true" data-markers="{{markers}}" controls="{{controls}}" polygons="{{polygons}}">
  29. </map>
  30. </view>