1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <!--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='{{list.length == 0}}'></template>
- <view class='list' wx:else>
- <view class="list-title" wx:if='{{!isManage}}'>
- <text class="list-title-black">{{options.title}}</text>
- <text class="list-title-gray">{{totalNumbers}}本</text>
- </view>
- <view class='li' wx:else>
- <view bindtap='checkAllCtl'>
- <image class='li-circle' src='{{isAllCheck ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
- <text class='li-circle-label'>全选</text>
- <text class='li-text-gray'>已选{{totalNum}}本</text>
- </view>
- </view>
- <view class='li' wx:for='{{list}}' wx:key='{{index}}' data-index='{{index}}' bindtap='toggleSelectLiCtl'>
- <image class='li-circle' wx:if='{{isManage}}' src='{{item.isCheck == 1 ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
- <view class="li-box">
- <image class='li-img' mode='aspectFill' src='{{item.local_image ? baseImgUrl + item.local_image: "../../../assets/default_headicon.png"}}'></image>
- </view>
- <view class="li-col">
- <view class="li-text-black" wx:if='{{item.title}}'>{{item.title || ''}}</view>
- <view class="li-btn-blue" wx:if='{{item.child_name}}'>{{item.child_name}}</view>
- </view>
- </view>
- <view class='footer-box' wx:if='{{options.btnText}}'>
- <block wx:if='{{isManage}}'>
- <view class='footer-box-item' bindtap='toggleManageCtl'>取消</view>
- <view class='footer-box-item' bindtap='delCtl'>删除</view>
- </block>
- <block wx:else>
- <view class='footer-box-item' bindtap='toggleManageCtl'>管理</view>
- <view class='footer-box-item' bindtap='submitCtl'>{{options.btnText}}</view>
- </block>
- </view>
- </view>
- <view class='scan' bindtap='navigateBack'>
- <image class='scan-icon' src='../../../assets/scan.png'></image>
- <view class='scan-text'>扫书</view>
- </view>
- <view class='home' data-url='dispatcher/pages/home/home' data-zindex='3' bindtap='redirectTo'>
- <image class='home-icon' src='../../../assets/home.png'></image>
- <view class='home-text'>选馆</view>
- </view>
- </view>
- </view>
|