Search_sign_number.wxml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. <view class='header {{content.length > 0 ? "header-active" : ""}}'>
  8. <view class='search-container'>
  9. <view class='search-wrapper'>
  10. <image class='search-icon' src='../../../assets/search.png'></image>
  11. <input class='search-input' focus="{{true}}" type='text' value='{{content}}' placeholder='' placeholder-class='search-placeholder' confirm-type='search' bindconfirm='inputSearchCtl'></input>
  12. <image class='search-icon' wx:if='{{content.length > 0}}' src='../../../assets/error_gray.png' bindtap='clearSearchCtl'></image>
  13. </view>
  14. <!-- <view class='search-button {{content.length > 0 ? "search-button-active" : ""}}' bindtap='submitSearchCtl'>搜索</view> -->
  15. <view bindtap='returnBack' class='search-cancel'>取消</view>
  16. </view>
  17. </view>
  18. <view class='list'wx:if='{{list.length > 0}}'>
  19. <view class="list-title">
  20. <text class="list-title-black">馆内会员</text>
  21. <text class="list-title-gray">{{totalNumbers}}人</text>
  22. </view>
  23. <view class="list-contet">
  24. <view class='li'wx:for='{{list}}' wx:key='index' data-index='{{index}}' bindtap='toggleSelectLiCtl'>
  25. <image class='li-circle' src='{{item.isCheck == 1 ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
  26. <view class="li-box">
  27. <image class='li-img' mode='aspectFill' src='{{item.imgUrl ? baseImgUrl + item.imgUrl: "../../../assets/default_headicon.png"}}'></image>
  28. </view>
  29. <view class="li-col">
  30. <view class="li-text-black" >{{item.childName || ''}}</view>
  31. <view class="li-text-gray">{{item.grade}}—{{item.school}}</view>
  32. </view>
  33. </view>
  34. <view class='load' wx:if='{{isDown}}'>———— 已经到底啦 ————</view>
  35. <view class='load' wx:if='{{isLoad}}'>
  36. <image src='../../../assets/zai_jia.png' class='load-img'></image>
  37. <view>正在玩命加载...</view>
  38. </view>
  39. </view>
  40. <view class='footer-box'>
  41. <block>
  42. <view class='li-circles' bindtap='checkAllCtl'>
  43. <image class='li-circle' src='{{selectAll==1 ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
  44. <text class='li-circle-label'>全选</text>
  45. <text class='foot-text-gray'>已选{{totalNum}}人</text>
  46. </view>
  47. <view class='footer-box-btn' wx:if='{{isSignin == 1}}' bindtap='SignSubmit'>签到</view>
  48. <view class='footer-box-btn' wx:if='{{isSignin ==0}}' bindtap='SignSubmit'>签离</view>
  49. </block>
  50. </view>
  51. </view>
  52. <template is='nodata' data='{{...nodataArray}}' wx:if='{{isResult&&list.length==0}}'></template>
  53. </view>
  54. </view>