apply_bookLists.wxml 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. <!--president/pages/apply_bookLists/apply_booklists.wxml-->
  2. <import src="../../../templates/nodata/nodata.wxml" />
  3. <import src="../../../templates/loading/loading.wxml" />
  4. <view class='container'>
  5. <view class='wrapper'>
  6. <view class="step-topic">申请新书记录</view>
  7. <view class='list' wx:if='{{list.length > 0}}' wx:for='{{list}}' wx:key='{{index}}' data-index='{{index}}'>
  8. <view class='header'>
  9. <view class='apply-time'>{{item.createTime?item.createTime:''}}</view>
  10. <view class='apply-text'>{{item.state==1?'已申请,待馆长确认':'馆长已确认'}}</view>
  11. </view>
  12. <view class='li' wx:for='{{item.detailList}}' wx:for-item='val' wx:for-index='key' wx:key='key' >
  13. <view class='li-items'>
  14. <view class='li-center-index'>{{key+1}}</view>
  15. <view class='li-center-two'>
  16. <image class='li-img' mode='aspectFill' lazy-load='true' src='{{val.bookImg ? baseImgUrl + val.bookImg + thumbnail : "../../../assets/default_headicon.png"}}' data-images='{{([val.bookImg])}}' data-baseurl='{{baseImgUrl}}' bindtap='viewImage' wx:if='{{val.bookImg}}'></image>
  17. <view class='li-center-info'>
  18. <view class='li-text-title'>{{val.title || ''}}</view>
  19. <view class='li-text-black'>{{val.author || ''}}</view>
  20. </view>
  21. </view>
  22. </view>
  23. <view>
  24. </view>
  25. </view>
  26. </view>
  27. <template is='nodata' data='{{...nodataArray}}' wx:if='{{list.length==0}}'></template>
  28. </view>
  29. </view>