12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <!--president/pages/part_call_in/part_call_in.wxml-->
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <!-- <view class='header {{title.length > 0 ? "header-active" : ""}}'>
- <view class='search-container'>
- <view class='search-wrapper'>
- <image class='search-icon' src='../../../assets/search.png'></image>
- <input class='search-input' type='text' value='{{title}}' placeholder='如:夏洛特的烦恼' placeholder-class='search-placeholder' bindinput='inputSearchCtl'></input>
- <image class='search-icon' wx:if='{{title.length > 0}}' src='../../../assets/error_gray.png' bindtap='clearSearchCtl'></image>
- </view>
- <view class='search-button {{title.length > 0 ? "search-button-active" : ""}}' bindtap='submitSearchCtl'>搜索</view>
- </view>
- </view> -->
- <view class='theme' wx:if='{{!isBatch}}'>
- <view class='theme-hend'>
- <view>{{theme}}</view>
- <view class='theme-hend-select' bindtap='getBatch'>批量选择</view>
- </view>
- <view class='ul' wx:for='{{list}}' wx:key='index'>
- <view class='ui-image'>
- <image src='{{item.local_image?baseImgUrl+item.local_image:"../../../assets/default_headicon.png"}}' class='li-img'></image>
- </view>
- <view class='li-right'>
- <view data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
- <view>{{item.title}}</view>
- <view class='li-right-tips'>
- <view class='li-right-tips-items'>{{item.theme}}</view>
- </view>
- <view>
- <image src='../../../assets/fire.png' class='li-right-grade' wx:for='{{item.heat}}' wx:key='index'></image>
- </view>
- </view>
- <view class='ul-num' wx:if='{{item.number==0}}'>
- <image src='../../../assets/jia_fa.png' class='ul-num-img' data-size='{{item.book_size}}' data-isbn13='{{item.isbn13}}' data-detailid='{{item.book_detail_id}}' data-infoid='{{item.book_info_id}}' data-index='{{index}}' data-number='{{item.number}}' bindtap='addBook'></image>
- </view>
- <view class='ul-num' wx:if='{{item.book_size>0&&item.number>0}}'>
- <image src='../../../assets/jian_fa.png' class='ul-num-img' data-isbn13='{{item.isbn13}}' data-detailid='{{item.book_detail_id}}' data-infoid='{{item.book_info_id}}' data-size='{{item.book_size}}' data-index='{{index}}' data-number='{{item.number}}' bindtap='subtractionBook'></image>
- <text class='ul-num-text'>{{item.number}}</text>
- <image src='../../../assets/jia_fa.png' class='ul-num-img' data-size='{{item.book_size}}' data-isbn13='{{item.isbn13}}' data-detailid='{{item.book_detail_id}}' data-infoid='{{item.book_info_id}}' data-index='{{index}}' data-number='{{item.number}}' bindtap='addBook'></image>
- </view>
- </view>
- </view>
- <view class='load' wx:if='{{isLoad}}'>
- <image src='../../../assets/zai_jia.png' class='load-img'></image>
- <view>正在玩命加载...</view>
- </view>
- </view>
- <view class='list' wx:if='{{isBatch}}'>
- <view class='li'>
- <block>
- <view bindtap='checkAllCtl'>
- <image class='li-circle' src='{{isAllCheck ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
- <text class='li-circle-label'>全选</text>
- </view>
- <view>
- <text class='li-text-gray'>已选{{totalNum}}本</text>
- </view>
- </block>
- </view>
- <view class='select li-center' wx:for='{{list}}' wx:key='{{index}}' data-index='{{index}}' bindtap='toggleSelectLiCtl'>
- <view>
- <image class='li-circle' src='{{item.isCheck == 1 ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
- </view>
- <view class='li-items-all' data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
- <view class='li-img-all'>
- <image class='li-img ui-image' mode='aspectFill' lazy-load='true' src='{{item.local_image ? baseImgUrl + item.local_image + thumbnail : "../../../assets/default_headicon.png"}}' data-images='{{([item.local_image])}}' data-baseurl='{{baseImgUrl}}' bindtap='viewImage'></image>
- </view>
- <view class='li-center-items'>
- <view class='li-text-black'>{{item.title || ''}}</view>
- <view class='li-right-tips-items'>{{item.theme}}</view>
- <view>
- <image src='../../../assets/fire.png' class='li-right-grade' wx:for='{{item.heat}}' wx:key='index'></image>
- </view>
- </view>
- </view>
- </view>
- <view class='footer-box'>
- <view class='footer-box-item' bindtap='cancelCallin'>取消</view>
- <view class='footer-box-item' bindtap='getCallin'>确定调入</view>
- </view>
- </view>
- </view>
- </view>
|