123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!--pages/student_address_book/student_address_book.wxml-->
- <import src="../../templates/footer_teacher/footer.wxml" />
- <import src="../../templates/nodata/nodata.wxml" />
- <import src="../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading-teacher' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper pb' wx:else>
- <view class="log-list">
- <view class='search-container'>
- <view class='search-wrapper'>
- <image class='search-icon' src='../../assets/search.png'></image>
- <input type='text' class='search-input' placeholder='搜索学生名字' placeholder-class='input-placeholder' value='{{navList[navIndex]["studentName"]}}' bindblur='blurCtl' bindinput='inputCtl'></input>
- </view>
- </view>
- </view>
- <scroll-view scroll-y style="height:1024rpx;white-space:nowrap;" scroll-into-view="{{toView}}" enable-back-to-top bindscroll="viewScroll" scroll-with-animation scroll-top="{{scrollTop}}" wx:if='{{studentList.length>0}}'>
- <view id='list-group' class="list-group" wx:for="{{studentList}}" wx:key="index">
- <view class="title" id="{{item.title}}">{{item.title}}</view>
- <view wx:for="{{item.items}}" wx:for-item="val" wx:key="key" class='list-group-items' >
- <view class="list-group-item" data-url="pages/past_record/past_record" data-paras='{{({vipId:val.vipId})}}' bindtap="navigateTo">
- <view class='img-list'>
- <image class="icon" src="{{val.imgUrl? baseImgUrl + val.imgUrl : '../../assets/default_headicon.png'}}" lazy-load="true"></image>
- <image class='icon-tips' src='../../assets/dao.png' wx:if='{{val.checkedIn==1}}'></image>
- </view>
- <view class='icon-right'>
- <view class="log-item">
- <text class='words {{val.checkedIn==0?"words-gray":""}}'>{{val.studentName}}</text>
- <text class='log-item-noset' wx:if='{{val.exited==1}}'>已不在本馆</text>
- </view>
- <view >{{val.school}}-{{val.grade}}</view>
- </view>
-
- </view>
- </view>
- </view>
- </scroll-view>
-
- <!-- 侧边字母导航 -->
- <view class="list-shortcut">
- <block wx:for="{{studentList}}" wx:key="index">
- <text class="list-shortcut-num {{currentIndex===index?'current':''}}" data-id="{{item.title}}" data-idx="{{index}}" bindtap='scrollToview'>{{item.title}}</text>
- </block>
- </view>
- <view class='sign-in' data-url="pages/sign_in_out/sign_in_out" data-method='{{({vipId})}}' bindtap="navigateTo" wx:if='{{studentList.length>0}}'>
- <image src='../../assets/wei_zhi.png' class='sign-in-img'></image>
- <text>签到签离</text>
- </view>
- <!-- 固定在顶部的字母导航 -->
- <!-- <view class="list-fixed {{fixedTitle=='' ? 'hide':''}}" style="transform:translate3d(0,{{fixedTop}}px,0);">
- <view class="fixed-title">
- {{fixedTitle}}
- </view>
- </view> -->
- <template is='nodata' wx:if='{{studentList.length==0}}' data='{{...nodata.nodataObj}}'></template>
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|