book_month.wxml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--president/pages/book_inventory/book_inventory.wxml-->
  2. <import src="../../../templates/nodata/nodata.wxml" />
  3. <import src="../../../templates/footer/footer.wxml" />
  4. <import src="../../../templates/loading/loading.wxml" />
  5. <view class='container'>
  6. <template is='loading' wx:if='{{!isLoaded}}'></template>
  7. <view class='wrapper pb' wx:else>
  8. <view class='header'>
  9. <view class='header-items'>
  10. <text class='header-item-text'>本月正在调入列表</text>
  11. <text class='header-item-num'>{{bookExchangeNum}}本</text>
  12. </view >
  13. </view>
  14. <template is='nodata' data='{{...nodataArray}}' wx:if='{{list.length == 0}}'></template>
  15. <view class='list' wx:else>
  16. <view class='li' wx:for='{{list}}' wx:key='index'>
  17. <view class='book-container'>
  18. <view class='book-wrapper'>
  19. <view class='book-images'>
  20. <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>
  21. </view>
  22. <view class='book-content' data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
  23. <view class='book-title' wx:if='{{item.title}}'>{{item.title}}</view>
  24. <view class='li-right-tips-items' wx:if='{{item.theme}}'>{{item.theme}}</view>
  25. <view class='book-text'>
  26. <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>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. <view class='load' wx:if='{{isDown}}'>已经到底了</view>
  33. <view class='load' wx:if='{{isLoad}}'>
  34. <image src='../../../assets/zai_jia.png' class='load-img'></image>
  35. <view>正在玩命加载...</view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>