awardJl.axml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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="selectStaff">
  6. <text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text>
  7. </view>
  8. <view class="flex-1" catchTap="selectDate">
  9. <text class="{{showDate? 'activeView blue':''}}">{{selectDateVal}}</text>
  10. </view>
  11. </view>
  12. <form onReset="onReset">
  13. <view style="margin:16rpx 0;padding-bottom:16rpx">
  14. <view class="search flex-box flex-v-ce">
  15. <image mode="scaleToFill" src="../../../image/ss.png" />
  16. <input class="flex-1" placeholder="请输入内容" onInput="bindKeyInput" />
  17. <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
  18. </view>
  19. </view>
  20. </form>
  21. </view>
  22. <view class="main scroll">
  23. <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  24. <view class="flex-box-ce li " a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" key="{{item.id}}">
  25. <view class="flex-box-v flex-center-center" style="width:140rpx;background:#C3E0FD;height:160rpx">
  26. <image mode="scaleToFill" src="../../../image/pj.png" style="width:60rpx;height:60rpx;margin-bottom:0.1rem"/>
  27. <text style="font-size:28rpx" class="blue">奖票</text>
  28. </view>
  29. <view class="flex-1" style="padding:16rpx 20rpx">
  30. <view class="context">{{item.remark.customize||item.remark.rule}}</view>
  31. <view class="flex-box-ce fontColorC" style="font-size:28rpx">
  32. <text class="flex-1">{{item.employee_name}}</text>
  33. <text class="">{{item.dateStr}}</text>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  38. </scroll-view>
  39. <no-data a:if="{{list.length==0}}"></no-data>
  40. </view>
  41. </view>
  42. <select-staff defaultUser="{{employee_ids}}" isShow="{{showStaff}}" isAllSelect="{{false}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
  43. <select-date defaultDate="{{defaultDate}}" isShow="{{showDate}}" a:if="{{showDate==true}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
  44. </view>