1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!--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='header-items'>
- <text class='header-item-text'>本月正在调入列表</text>
- <text class='header-item-num'>{{bookExchangeNum}}本</text>
- </view >
- </view>
- <template is='nodata' data='{{...nodataArray}}' wx:if='{{list.length == 0}}'></template>
- <view class='list' wx:else>
- <view class='li' wx:for='{{list}}' wx:key='index'>
- <view class='book-container'>
- <view class='book-wrapper'>
- <view class='book-images'>
- <image class='book-image' 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 class='book-content' data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
- <view class='book-title' 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='{{3}}' wx:key='index' wx:for-item='val' wx:for-index='index' src="{{item.heat - 1 >= val ? '../../../assets/fire.png' : '../../../assets/fire.png' }}"></image>
- </view>
- </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>
- </view>
|