123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!--president/pages/book_inventory/book_inventory.wxml-->
- <import src="../../../templates/nodata/nodata.wxml" />
- <import src="../../../templates/footer/footer.wxml" />
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper pb' wx:else>
-
- <view class='header'>
- <view class='month' data-url='president/pages/book_month/book_month' data-paras='{{({callType:2})}}' bindtap='navigateTo'>
- <text>本次已提交列表</text>
- <image class='linkicon-image' src='../../../assets/right_white.png'></image>
- </view>
- <view class='apply-items' bindtap='applybookLists'>
- <text class='apply-item-text'>申请书单</text>
- <image class='linkicon-image' src='../../../assets/linkicon.png'></image>
- </view>
- </view>
- <view class='header-items'>
- <text class='header-item-text'>调入列表</text>
- <text class='header-item-num'>{{bookInNum}}/</text>
- <text class='header-item-num'>{{bookExchangeNum}}本</text>
- </view >
- <view class='nav' wx:if='{{list.length > 0}}'>
- <view class='nav-item' wx:for='{{navList}}' wx:key='index' data-index='{{index}}' bindtap='selectNavCtl'>
- <view class='nav-item-row {{navIndex == index ? "nav-item-row-active" : ""}}'>
- <view class='nav-item-text nav-item-text-active'>{{item.text}}</view>
- </view>
- </view>
- </view>
- <view wx:if='{{list.length == 0}}'>
- <template is='nodata' data='{{...nodataArray}}'></template>
- <view class='firstaddBooks' data-url='president/pages/good_books_new/good_books_new' bindtap='navigateTo'>去选书</view>
- </view>
- <view class='list' wx:else style='padding-bottom:98rpx;'>
- <view class='li' wx:for='{{list}}' wx:key='index'>
- <view class='book-container'>
- <view class='book-wrapper-items'>
- <view class='book-images-items'>
- <image class='book-image-item' mode='aspectFill' 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 style='padding:15rpx;' data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
- <view class='book-title-new' wx:if='{{item.title}}'>{{item.title}}</view>
- <view class='li-right-tips-items' wx:if='{{item.theme}}'>{{item.theme}}</view>
- <view class='book-text'>
- <image class='book-icon-two' wx:for='{{item.heat}}' wx:key='index' src="../../../assets/fire.png"></image>
- </view>
- <!-- <view class='book-text-empty' wx:if='{{item.book_size<1}}'>库存为空,无法调入</view> -->
- </view>
- <!-- <view class='book-footer' wx:if='{{item.book_size<1}}'>
- <view class='book-footer-delete' 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'>删除</view>
- </view> -->
- <view class='book-footer'>
- <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>
- <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 class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenGetallModel}}'></view>
- <view class='model' wx:if='{{hiddenGetallModel}}'>
- <view class='model-tips'>
- <view>规定每两月可调整一次,且每次只能调入150本</view>
- <view class='model-tips-btn' bindtap='allShowModel'>知道啦</view>
- </view>
- </view>
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|