integralEvent.axml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <view>
  2. <view class="{{popupCx}}">
  3. <view class="flex-box flex-v-ce tab margin-bottom">
  4. <view class="flex-1" catchTap="selectDate">
  5. <text class="{{showDate? 'activeView blue':''}}">{{selectDateVal}}</text>
  6. </view>
  7. <view class="flex-1" catchTap="selectStaff">
  8. <text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text>
  9. </view>
  10. <view class="flex-1" catchTap="selectRule">
  11. <text class="{{showRuleTwo? 'activeView blue':''}}">{{ruleVal}}</text>
  12. </view>
  13. <view class="flex-1">
  14. <picker onChange="bingIntegralType" value="{{typesIndex}}" range="{{types}}" range-key="name">
  15. <text a:if="{{types[typesIndex].name=='全部'}}">积分类型</text>
  16. <text a:else>{{types[typesIndex].name}}</text>
  17. </picker>
  18. </view>
  19. </view>
  20. <view class="main scroll">
  21. <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  22. <view class="flex-box li border-bottom" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}">
  23. <img-box name="{{item.employee_name}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
  24. <view class="flex-1 main-right">
  25. <view class="flex-box flex-v-ce">
  26. <view class="name flex-1">{{item.employee_name}}</view>
  27. <view class="red da" a:if="{{item.point>0}}">+{{item.point}}{{item.ptObj.name}}</view>
  28. <view class="green da" a:else>{{item.point}}{{item.ptObj.name}}</view>
  29. </view>
  30. <view class="context" a:if="{{item.remark}}">{{item.remark}}</view>
  31. <view class="flex-box flex-v-ce">
  32. <view class="date flex-1">{{item.event_time}}</view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  37. </scroll-view>
  38. <no-data a:if="{{list.length==0}}"></no-data>
  39. </view>
  40. </view>
  41. <select-staff defaultUser="{{employee_ids}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
  42. <select-date defaultDate="{{defaultDate}}" isShow="{{showDate}}" a:if="{{showDate==true}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
  43. <select-rule-two defaultSection="{{rule_id}}" isShow="{{showRuleTwo}}" a:if="{{showRuleTwo==true}}" onClose="onClose" onConfirm="onConfirmRule"></select-rule-two>
  44. </view>