customerVanPopupWay.wxml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!-- 路线详情 -->
  2. <van-popup
  3. custom-class="customer-van-popup customer-van-popup_way"
  4. show="{{ booWay }}"
  5. round
  6. position="bottom"
  7. bind:close="hideWay">
  8. <view style="right:0;top:0;"
  9. class="close-icon"
  10. bind:tap="hideWay">
  11. <image class="image" src="{{tools.imgFilter('/common/Popup_bus_icon_close@2x.png')}}"></image>
  12. </view>
  13. <view class="title">路线详情</view>
  14. <!-- min-height-420 max-height-668 -->
  15. <view
  16. class="way-list {{order_pass_location && order_pass_location.length > 0 ? 'max-height-668' : 'min-height-420'}}">
  17. <scroll-view
  18. class="scroll-wrap"
  19. scroll-y>
  20. <view class="list">
  21. <view class="address">
  22. <text class="label">起</text>
  23. <view class="wrap">
  24. <text class="text">{{start_point.name}}</text>
  25. <text class="text">{{start_point.address_name}}</text>
  26. </view>
  27. </view>
  28. <image class="icon"
  29. src="{{tools.imgFilter('/createOrder/Popup_route_icon_direction@2x.png')}}"></image>
  30. </view>
  31. <block wx:if="{{order_pass_location && order_pass_location.length > 0}}">
  32. <view class="list"
  33. wx:for="{{order_pass_location}}"
  34. wx:key="index">
  35. <view class="address">
  36. <text style="background: #CCCCCC;" class="label">经</text>
  37. <view class="wrap">
  38. <text class="text">{{item.name}}</text>
  39. <text class="text">{{item.address_name}}</text>
  40. </view>
  41. </view>
  42. <image class="icon"
  43. src="{{tools.imgFilter('/createOrder/Popup_route_icon_direction@2x.png')}}"></image>
  44. </view>
  45. </block>
  46. <view class="list">
  47. <view class="address">
  48. <text class="label" style="background: #FD6600;">终</text>
  49. <view class="wrap">
  50. <text class="text">{{end_point.name}}</text>
  51. <text class="text">{{end_point.address_name}}</text>
  52. </view>
  53. </view>
  54. </view>
  55. </scroll-view>
  56. <view class="mask"
  57. hidden="{{order_pass_location.length <= 2}}"></view>
  58. </view>
  59. </van-popup>
  60. <wxs src="../wxs/index.wxs" module="tools"></wxs>