growth.wxml 1.4 KB

123456789101112131415161718192021222324252627282930
  1. <!--parents/pages/growth/growth.wxml-->
  2. <import src="../../../templates/nodata/nodata.wxml" />
  3. <import src="../../.../templates/loading/loading.wxml" />
  4. <view class='container'>
  5. <template is='loading' wx:if='{{!isLoaded}}'></template>
  6. <view class='wrapper' wx:else>
  7. <view class='list' wx:if='{{list.length > 0}}'>
  8. <block wx:for='{{list}}' wx:key='{{index}}'>
  9. <view class='li-label'>{{item.key}}</view>
  10. <view class='li' wx:for='{{item.valueList}}' wx:for-item='val' wx:for-index='key' wx:key='{{key}}' data-url='book_detail' data-zindex='3' data-paras='{{({isbn13: val.isbn13})}}' bindtap='navigateTo'>
  11. <view class='book-container'>
  12. <view class='book-wrapper'>
  13. <view class='book-images'>
  14. <image class='book-image' mode='aspectFill' src='{{val.local_image ? baseImgUrl + val.local_image : "../../../assets/default_headicon.png"}}'></image>
  15. <view class='book-tip'>{{val.days}}</view>
  16. </view>
  17. <view class='book-content'>
  18. <view class='book-title'>{{val.title}}</view>
  19. <view class='book-text'>作者:{{val.author}}</view>
  20. <view class='book-context'>{{val.summary}}</view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </block>
  26. </view>
  27. <template is='nodata' data='{{...nodataArray}}' wx:else></template>
  28. </view>
  29. </view>