integralEvent.axml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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="selectImg">
  15. <view catchTap="selectSx" style="padding:20rpx 30rpx;">
  16. <image mode="scaleToFill" class="sxImg" src="../../../image/sx.png"/>
  17. </view>
  18. </view>
  19. <!-- <view class="flex-1">
  20. <picker onChange="bingIntegralType" value="{{typesIndex}}" range="{{types}}" range-key="name">
  21. <text a:if="{{types[typesIndex].name=='全部'}}">积分类型</text>
  22. <text a:else>{{types[typesIndex].name}}</text>
  23. </picker>
  24. </view> -->
  25. </view>
  26. <form onReset="onReset">
  27. <view style="margin:16rpx 0;padding-bottom:16rpx">
  28. <view class="search flex-box flex-v-ce">
  29. <image mode="scaleToFill" src="../../../image/ss.png" />
  30. <input class="flex-1" placeholder="请输入事件内容" onInput="bindKeyInput" />
  31. <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
  32. </view>
  33. </view>
  34. </form>
  35. </view>
  36. <view class="main scroll">
  37. <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  38. <view class="flex-box li border-bottom" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" key="{{item.id}}">
  39. <img-box name="{{item.employee_name}}" key="{{item.id}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx"
  40. fSize="24rpx"></img-box>
  41. <view class="flex-1 main-right">
  42. <view class="flex-box flex-v-ce">
  43. <view class="name flex-1">{{item.employee_name}}</view>
  44. <view class="red da" a:if="{{item.point>0}}">+{{item.point}}{{item.ptObj.name}}</view>
  45. <view class="green da" a:else>{{item.point}}{{item.ptObj.name}}</view>
  46. </view>
  47. <view class="context" a:if="{{item.remark}}">{{item.remark}}</view>
  48. <view class="flex-box flex-v-ce">
  49. <view class="date flex-1">{{item.event_time}}</view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  54. </scroll-view>
  55. <no-data a:if="{{list.length==0}}"></no-data>
  56. </view>
  57. </view>
  58. <select-staff defaultUser="{{employee_ids}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
  59. <select-date defaultDate="{{defaultDate}}" isShow="{{showDate}}" a:if="{{showDate==true}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
  60. <select-rule-two defaultSection="{{rule_id}}" isShow="{{showRuleTwo}}" a:if="{{showRuleTwo==true}}" onClose="onClose" onConfirm="onConfirmRule"></select-rule-two>
  61. <review-select defaultSx="{{sxObj}}" a:if="{{showZp==true}}" isShow="{{showZp}}" onClose="onClose" onConfirm="onConfirmSx"></review-select>
  62. </view>