userList.axml 1.5 KB

12345678910111213141516171819202122232425262728
  1. <view>
  2. <view style="background:#fff;padding:24rpx" class="margin-bottom">
  3. {{dataList.length}}人已抢单,其中<text class="blue">{{returnNum}}</text>人已完成
  4. </view>
  5. <scroll-view class="main" scroll-y="{{true}}">
  6. <view class="flex-box flex-v-ce li" a:for="{{dataList}}">
  7. <label class="flex-box-ce flex-1 userItem">
  8. <img-box imgUrl="{{item.img_url}}" name="{{item.employee_name}}" height="90rpx" width="90rpx" fSize="24rpx"></img-box>
  9. <view class="flex-1" style="margin-left:20rpx;">
  10. <view class="flex-box-ce" style="margin-bottom:8rpx">
  11. <view class="flex-1" style="padding-right:20rpx"><text class="font-flex-word" style="max-width:3rem;display: block;">{{item.employee_name}}</text></view>
  12. <view>
  13. <text a:if="{{item.status==1}}" class="orange">进行中</text>
  14. <text a:if="{{item.status==2}}" class="blue">已完成</text>
  15. <text a:if="{{item.status==3}}" class="fontColorB">退回</text>
  16. <text a:if="{{item.status==4}}" class="green">已审批</text>
  17. <text a:if="{{item.status==5}}" class="fontColorB">发布者已撤回</text>
  18. </view>
  19. </view>
  20. <view class="flex-box-ce fontColorC" style="font-size:24rpx">
  21. <view class="flex-1" style="padding-right:20rpx"><text class="font-flex-word" style="max-width:3rem;display: block;">{{item.dept}}</text></view>
  22. <view>{{item.create_time}}</view>
  23. </view>
  24. </view>
  25. </label>
  26. </view>
  27. </scroll-view>
  28. </view>