book_Imformation.wxml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!--president/pages/book_Imformation/book_Imformation.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='items'>
  9. <view class='item' bindtap='showItemCtl'>
  10. <view class='item-img'>
  11. <image class='book-image-item' mode='aspectFill' src='{{bookImg ? baseImgUrl + bookImg+thumbnail: "../../../assets/default_headicon.png"}}' data-images='{{([bookImg])}}' data-baseurl='{{baseImgUrl}}' bindtap='viewImage'></image>
  12. </view>
  13. <view class='item-textInfo'>
  14. <view class="item-textword">
  15. {{title}}
  16. </view>
  17. <view class="items-modal-Tips">
  18. <view wx:if='{{theme}}' class='items-modal-Select'>{{theme}}</view>
  19. <view wx:if='{{grade}}' class='items-modal-textInfo'>推荐{{grade}}阅读</view>
  20. </view>
  21. <view class='book-text'>
  22. <image src='../../../assets/fire.png' class='book-icon-two' wx:for='{{heat}}' wx:key='index'></image>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class='item-content' wx:if='{{summary}}'>
  28. <view class="recommended">
  29. <image class='recommended-icon' src='../../../assets/bgIcon.png'></image>
  30. <text class='recommended-text'>推荐</text>
  31. </view>
  32. <view class="item-content-textword">
  33. {{summary}}
  34. </view>
  35. </view>
  36. <view class='same' wx:if='{{sameList.length>0}}'>
  37. <view class='same-title'>同类书籍</view>
  38. <view class='ul' wx:for='{{sameList}}' wx:key='index'>
  39. <view class='ui-image'>
  40. <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' class='li-img'></image>
  41. </view>
  42. <view class='li-right'>
  43. <view data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
  44. <view wx:if='{{item.title}}'>{{item.title}}</view>
  45. <view class='li-right-tips' wx:if='{{item.theme}}'>
  46. <view class='li-right-tips-items'>{{item.theme}}</view>
  47. </view>
  48. <view>
  49. <image src='../../../assets/fire.png' class='li-right-grade' wx:for='{{item.heat}}' wx:key='index'></image>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class='fold' wx:if='{{isFold==1}}' bindtap='addFold'>调入</view>
  57. <!-- <template is='footer' data='{{...footerData}}'></template> -->
  58. </view>