1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!--dispatcher/pages/sweeped_books/sweeped_books.wxml-->
- <import src="../../../templates/nodata/nodata.wxml" />
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper {{options.btnText ? "pb" : ""}}' wx:else>
- <template is='nodata' data='{{...nodataArray}}' wx:if='{{isMonthData ==1 && list.length == 0}}'></template>
- <template is='nodata' data='{{...nodataMonthArray}}' wx:if='{{isMonthData ==2 && list.length == 0}}'></template>
- <view class='list'>
- <!-- 本月到馆人数 -->
- <view class="list-title" wx:if='{{isMonthData ==2 && list.length > 0}}'>
- <text class="list-title-black">本月到馆人数</text>
- <text class="list-title-gray">{{monthpages}}人</text>
- </view>
- <view class='li' wx:for='{{list}}' wx:key='index' data-index='{{index}}' wx:if='{{isMonthData==2 && list.length > 0}}' bindtap='toggleSelectLiCtl'>
- <view class="li-box">
- <image class='li-img' mode='aspectFill' src='{{item.imgUrl ? baseImgUrl + item.imgUrl: "../../../assets/default_headicon.png"}}'></image>
- </view>
- <view class="li-col">
- <view class="li-text-black" >{{item.childName || ''}}</view>
- <view class="li-text-gray">{{item.grade}}-{{item.school}}</view>
- </view>
- </view>
- <!-- 日统计 -->
- <view class="list-title" wx:if='{{isMonthData==1 && list.length > 0}}'>
- <text class="list-title-black">日统计</text>
- </view>
- <view class='li' wx:key='index' wx:for='{{list}}' data-index='{{index}}'wx:if='{{isMonthData==1}}' bindtap='toggleSelectLiCtl'>
- <view class="li-box">
- <image class='li-img' mode='aspectFill' src='{{item.imgUrl ? baseImgUrl + item.imgUrl: "../../../assets/default_headicon.png"}}'></image>
- </view>
- <view class="li-text-black" >{{item.childName || ''}}</view>
- <view class="li-text-block" >
- <view class="li-text-gray" wx:for='{{item.infoList}}' wx:key='key' wx:for-item='val' wx:for-key='{{key}}'>
- <view class="li-text-sign">
- <view class="li-text-bluedot"></view>
- <view class="li-text-time">签到:{{val.signTime}}</view>
- </view>
- <view class="li-text-sign">
- <view class="li-text-pinkdot"></view>
- <view class="li-text-time">签离:{{val.leaveTime}}</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class='load' wx:if='{{isDown}}'>已经到底了~</view>
- <view class='load' wx:if='{{isLoad}}'>
- <image src='../../../assets/zai_jia.png' class='load-img'></image>
- <view>正在玩命加载...</view>
- </view>
- </view>
- </view>
|