integralEvent.axml 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <view>
  2. <view class="{{popupCx}}">
  3. <view class="header margin-bottom">
  4. <view class="flex-box flex-v-ce tab" style="border-bottom:1px solid #f1f1f1">
  5. <view class="flex-1" catchTap="selectDate">
  6. <text class="{{showDate? 'activeView blue':''}}">{{selectDateVal}}</text>
  7. </view>
  8. <view class="flex-1" catchTap="selectStaff">
  9. <text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text>
  10. </view>
  11. <view class="flex-1" catchTap="selectRule">
  12. <text class="{{showRuleTwo? 'activeView blue':''}}">{{ruleVal}}</text>
  13. </view>
  14. <view class="flex-1">
  15. <picker onChange="bingIntegralType" value="{{typesIndex}}" range="{{types}}" range-key="name">
  16. <text a:if="{{types[typesIndex].name=='全部'}}">积分类型</text>
  17. <text a:else>{{types[typesIndex].name}}</text>
  18. </picker>
  19. </view>
  20. </view>
  21. <form onReset="onReset">
  22. <view style="margin:16rpx 0;padding-bottom:16rpx">
  23. <view class="search flex-box flex-v-ce">
  24. <image mode="scaleToFill" src="../../../image/ss.png" />
  25. <input class="flex-1" placeholder="请输入任务内容" onInput="bindKeyInput" />
  26. <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
  27. </view>
  28. </view>
  29. </form>
  30. </view>
  31. <view class="main scroll">
  32. <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  33. <view class="flex-box li border-bottom" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" key="{{item.id}}">
  34. <img-box name="{{item.employee_name}}" key="{{item.id}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx"
  35. fSize="24rpx"></img-box>
  36. <view class="flex-1 main-right">
  37. <view class="flex-box flex-v-ce">
  38. <view class="name flex-1">{{item.employee_name}}</view>
  39. <view class="red da" a:if="{{item.point>0}}">+{{item.point}}{{item.ptObj.name}}</view>
  40. <view class="green da" a:else>{{item.point}}{{item.ptObj.name}}</view>
  41. </view>
  42. <view class="context" a:if="{{item.remark}}">{{item.remark}}</view>
  43. <view class="flex-box flex-v-ce">
  44. <view class="date flex-1">{{item.event_time}}</view>
  45. </view>
  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. </view>
  53. <select-staff defaultUser="{{employee_ids}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
  54. <select-date defaultDate="{{defaultDate}}" isShow="{{showDate}}" a:if="{{showDate==true}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
  55. <select-rule-two defaultSection="{{rule_id}}" isShow="{{showRuleTwo}}" a:if="{{showRuleTwo==true}}" onClose="onClose" onConfirm="onConfirmRule"></select-rule-two>
  56. </view>