scheduling.wxml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <cu-custom bgColor="bg-lw-header" isCustom="{{true}}">
  2. <view slot="content">今日班次</view>
  3. </cu-custom>
  4. <view class="refresh" bind:tap="getList">
  5. <text class="cuIcon-refresh"></text>
  6. </view>
  7. <view class="flex-sub text-center" wx:if="{{list.length == 0}}">
  8. <view class="solid-bottom text-xsl padding">
  9. <text class="cuIcon-roundcheckfill text-green"></text>
  10. </view>
  11. <view class="padding">目前暂无今日班次</view>
  12. </view>
  13. <view class="VerticalBox" wx:if="{{list.length > 0}}">
  14. <scroll-view class="VerticalNav nav" scroll-y scroll-with-animation scroll-top="{{verticalNavTop}}" style="height:calc(100vh - 100rpx - {{CustomBar}}px - (env(safe-area-inset-bottom) / 2))">
  15. <view class="cu-item {{index==tabCur?'text-green cur':''}}" wx:for="{{list}}" wx:key="index" bind:tap="TabSelect" data-id="{{index}}">
  16. <view class="cu-tag badge" style="top:0;right:0;">{{item.list.length}}</view>
  17. <view>{{item.hour}}</view>
  18. </view>
  19. </scroll-view>
  20. <scroll-view class="VerticalMain" scroll-y scroll-with-animation style="height:calc(100vh - 100rpx - {{CustomBar}}px - (env(safe-area-inset-bottom) / 2))" scroll-into-view="{{'main-'+mainCur}}" bindscroll="VerticalMain">
  21. <view class="padding-top padding-lr" wx:for="{{list}}" wx:key="index" id="{{'main-'+index}}">
  22. <view class="cu-bar solid-bottom bg-white">
  23. <view class="action">
  24. <text class="cuIcon-title text-green"></text> {{item.hour}}
  25. </view>
  26. </view>
  27. <view class="cu-list bg-white">
  28. <view class="cu-item solid-bottom" wx:for="{{item.list}}" wx:for-item="listItem" wx:key="id">
  29. <view class="padding">
  30. <view class="flex align-center justify-between">
  31. <view class="text-bold text-black" bind:tap="callMobile" data-mobile="{{listItem.talent.mobile}}">
  32. {{listItem.talent.name}}
  33. <text class="margin-left-sm text-lg text-blue cuIcon-dianhua"></text>
  34. </view>
  35. <view class="cu-tag line-blue radius">{{listItem.status_text}}</view>
  36. </view>
  37. <view class="text-sm margin-top-xs" wx:if="{{listItem.shift}}">班次:{{listItem.shift}}</view>
  38. <view class="text-sm margin-top-xs">到站时间:{{listItem.out_time}}</view>
  39. <view class="text-sm margin-top-xs">出发时间:{{listItem.start_time}}</view>
  40. <view class="text-sm margin-top-xs" wx:if="{{listItem.companion_num}}">同行人数:{{listItem.companion_num}}</view>
  41. <view class="text-sm margin-top-xs" wx:if="{{listItem.comment}}">其他需求:{{listItem.comment}}</view>
  42. <view class="grid col-4 grid-square flex-sub margin-top">
  43. <view class="bg-img" bindtap="ViewImage" data-url="{{listItem.image}}" wx:if="{{listItem.image}}">
  44. <image src="{{listItem.image}}" mode="aspectFill"></image>
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. </scroll-view>
  52. </view>
  53. <view class="footer"></view>
  54. <view class="cu-bar tabbar bg-white foot">
  55. <view class="action" bind:tap="getList">
  56. <view class="cuIcon-cu-image">
  57. <image src="/common/images/tabbar/index_cur.png"></image>
  58. </view>
  59. <view class="text-gray">今日班次</view>
  60. </view>
  61. <view class="action" bind:tap="toIndex">
  62. <view class="cuIcon-cu-image">
  63. <image src="/common/images/tabbar/my.png"></image>
  64. </view>
  65. <view class="text-gray">预约记录</view>
  66. </view>
  67. </view>