library_sign_num.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!--dispatcher/pages/sweeped_books/sweeped_books.wxml-->
  2. <import src="../../../templates/nodata/nodata.wxml" />
  3. <import src="../../../templates/loading/loading.wxml" />
  4. <view class='container'>
  5. <template is='loading' wx:if='{{!isLoaded}}'></template>
  6. <view class='wrapper {{options.btnText ? "pb" : ""}}' wx:else>
  7. <template is='nodata' data='{{...nodataArray}}' wx:if='{{isMonthData ==1 && list.length == 0}}'></template>
  8. <template is='nodata' data='{{...nodataMonthArray}}' wx:if='{{isMonthData ==2 && list.length == 0}}'></template>
  9. <view class='list'>
  10. <!-- 本月到馆人数 -->
  11. <view class="list-title" wx:if='{{isMonthData ==2 && list.length > 0}}'>
  12. <text class="list-title-black">本月到馆人数</text>
  13. <text class="list-title-gray">{{monthpages}}人</text>
  14. </view>
  15. <view class='li' wx:for='{{list}}' wx:key='index' data-index='{{index}}' wx:if='{{isMonthData==2 && list.length > 0}}' bindtap='toggleSelectLiCtl'>
  16. <view class="li-box">
  17. <image class='li-img' mode='aspectFill' src='{{item.imgUrl ? baseImgUrl + item.imgUrl: "../../../assets/default_headicon.png"}}'></image>
  18. </view>
  19. <view class="li-col">
  20. <view class="li-text-black" >{{item.childName || ''}}</view>
  21. <view class="li-text-gray">{{item.grade}}-{{item.school}}</view>
  22. </view>
  23. </view>
  24. <!-- 日统计 -->
  25. <view class="list-title" wx:if='{{isMonthData==1 && list.length > 0}}'>
  26. <text class="list-title-black">日统计</text>
  27. </view>
  28. <view class='li' wx:key='index' wx:for='{{list}}' data-index='{{index}}'wx:if='{{isMonthData==1}}' bindtap='toggleSelectLiCtl'>
  29. <view class="li-box">
  30. <image class='li-img' mode='aspectFill' src='{{item.imgUrl ? baseImgUrl + item.imgUrl: "../../../assets/default_headicon.png"}}'></image>
  31. </view>
  32. <view class="li-text-black" >{{item.childName || ''}}</view>
  33. <view class="li-text-block" >
  34. <view class="li-text-gray" wx:for='{{item.infoList}}' wx:key='key' wx:for-item='val' wx:for-key='{{key}}'>
  35. <view class="li-text-sign">
  36. <view class="li-text-bluedot"></view>
  37. <view class="li-text-time">签到:{{val.signTime}}</view>
  38. </view>
  39. <view class="li-text-sign">
  40. <view class="li-text-pinkdot"></view>
  41. <view class="li-text-time">签离:{{val.leaveTime}}</view>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. <view class='load' wx:if='{{isDown}}'>已经到底了~</view>
  48. <view class='load' wx:if='{{isLoad}}'>
  49. <image src='../../../assets/zai_jia.png' class='load-img'></image>
  50. <view>正在玩命加载...</view>
  51. </view>
  52. </view>
  53. </view>