my_issue.axml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <view>
  2. <view class="header margin-bottom">
  3. <!-- <form onReset="onReset">
  4. <view class="search flex-box flex-v-ce">
  5. <image mode="scaleToFill" src="../../../image/ss.png"></image>
  6. <input placeholder="请输入姓名或事件内容搜索" onInput="bindKeyInput" class="flex-1"></input>
  7. <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
  8. </view>
  9. </form> -->
  10. <view class="flex-box flex-v-ce selectItems border-bottom">
  11. <view data-index="1" class="{{activeIndex == 1? 'active':''}} flex-2" catchTap="activeItem">我指派的</view>
  12. <view data-index="2" class="{{activeIndex == 2? 'active':''}} flex-2" catchTap="activeItem">我悬赏的</view>
  13. <view data-index="3" class="{{activeIndex == 3? 'active':''}} flex-2" catchTap="activeItem" style="border-right:1px solid #f1f1f1">重复任务</view>
  14. <view catchTap="selectSx" class="flex-1">
  15. <image mode="scaleToFill" class="sxImg" src="../../../image/sx.png"/>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="main scroll">
  20. <scroll-view class="scroll" a:if="{{(activeIndex==1||activeIndex==2)&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  21. <view class="flex-box li border-bottom" data-index="1" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}">
  22. <img-box name="{{item.employee_name}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
  23. <view class="flex-1 main-right">
  24. <view class="flex-box flex-v-ce">
  25. <view class="name flex-1">{{item.employee_name}}</view>
  26. <view class="red" a:if="{{item.point>0}}">+{{item.point}} {{item.pt_name}}</view>
  27. <view class="green" a:else>{{item.point}} {{item.pt_name}}</view>
  28. </view>
  29. <view class="context" a:if="{{item.remark}}">{{item.remark}}</view>
  30. <view class="flex-box flex-v-ce">
  31. <view class="date flex-1">{{item.event_time}}</view>
  32. <view class="redBox" a:if="{{item.point>0}}">奖分成功</view>
  33. <view class="greenBox" a:else>扣分成功</view>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  38. </scroll-view>
  39. <scroll-view class="scroll" a:if="{{activeIndex==3&&list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  40. <view class="li2 border-bottom" data-index="2" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}">
  41. <view style="margin-bottom:10rpx;">排位吃饭</view>
  42. <view class="flex-box flex-v-ce fontColorX" style="font-size:28rpx;">
  43. <image mode="scaleToFill" src="../../../image/sj2.png"/>
  44. <text>每天自动发布</text>
  45. <text> 完成截止为1点</text>
  46. </view>
  47. </view>
  48. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  49. </scroll-view>
  50. <no-data a:if="{{list.length==0}}"></no-data>
  51. </view>
  52. <select-zp defaultSx="{{sxObj}}" typeIndex="{{activeIndex}}" a:if="{{showZp==true}}" isShow="{{showZp}}" onClose="onClose" onConfirm="onConfirmSx"></select-zp>
  53. </view>