index.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <import src="tabbar.wxml"></import>
  2. <view class="i-flex p30 bg-f">
  3. <image class="avatar-md mx10" src="{{orderdistribution_info.avatar}}"></image>
  4. <view class="i-flex-item">
  5. <view class="fsz-38 weight">{{orderdistribution_info.username}}</view>
  6. <view class="fsz-28 mt5 text-6">{{orderdistribution_info.mobile}}</view>
  7. </view>
  8. <!-- <view class="text-center">
  9. <view>接单</view>
  10. <view class="mt5"><switch class="wx-switch-input" checked="{{orderdistribution_info.state==1}}" bindchange="switchState"/></view>
  11. </view> -->
  12. </view>
  13. <view class="i-flex p30 bg-f text-center">
  14. <view class="i-flex-item" bindtap="goLink" data-link="/lionfish_comshop/moduleB/rider/order?status=2">
  15. <view class="fsz-60 red weight">{{waite_get_count}}</view>
  16. <view class="fsz-28">待取货</view>
  17. </view>
  18. <view class="i-flex-item" bindtap="goLink" data-link="/lionfish_comshop/moduleB/rider/order?status=3">
  19. <view class="fsz-60 red weight">{{sending_count}}</view>
  20. <view class="fsz-28">配送中</view>
  21. </view>
  22. <view class="i-flex-item" bindtap="goLink" data-link="/lionfish_comshop/moduleB/rider/order?status=4">
  23. <view class="fsz-60 red weight">{{sended_count}}</view>
  24. <view class="fsz-28">已送达</view>
  25. </view>
  26. </view>
  27. <view class="py15">
  28. <map id="map"
  29. scale="{{scale}}"
  30. bindcontroltap="controltap"
  31. markers="{{markers}}"
  32. bindmarkertap="markertap"
  33. latitude="{{latitude}}"
  34. longitude ="{{longitude}}"
  35. controls="{{controls}}"
  36. show-location
  37. bindregionchange="regionchange"
  38. style="width: 100%; height: 300px;">
  39. </map>
  40. </view>
  41. <view class="map-tip i-flex px15 py10">
  42. <view class="weight">备注:</view>
  43. <view class="i-flex ml10"><image class="map-tip-img" src="../images/location-red.png"></image> <text>待取货</text></view>
  44. <view class="i-flex ml10"><image class="map-tip-img" src="../images/location-green.png"></image> <text>配送中</text></view>
  45. </view>
  46. <template is="tabbar" data="{{data:0}}"></template>