apply_booklists.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--president/pages/apply_bookLists/apply_booklists.wxml-->
  2. <import src="../../../templates/loading/loading.wxml" />
  3. <view class='container'>
  4. <view class='wrapper'>
  5. <view class='header'>
  6. <view class="step-topic">申请书单</view>
  7. <view class="step-items">
  8. <view class="step-item" wx:for='{{stepList}}' wx:key='index'>
  9. <text class="step-number">{{item.number}}</text>
  10. <text class="step-text">{{item.text}}</text>
  11. <text class="step-icon">{{item.unit}}</text>
  12. </view>
  13. </view>
  14. </view>
  15. <view class='list' wx:if='{{infofromstorage.length > 0}}'>
  16. <view class='li li-center' wx:for='{{infofromstorage}}' wx:key='index' data-index='{{index}}'>
  17. <view>
  18. <view class='li-center-index'>{{index+1}}</view>
  19. <image class='li-img' mode='aspectFill' lazy-load='true' src='{{item.bookImg ? baseImgUrl + item.bookImg + thumbnail : "../../../assets/default_headicon.png"}}' data-images='{{([item.bookImg])}}' data-baseurl='{{baseImgUrl}}' bindtap='viewImage'></image>
  20. <view class='li-center-info'>
  21. <view class='li-text-title'>{{item.title || ''}}</view>
  22. <view class='li-text-black'>{{item.publish || ''}}</view>
  23. </view>
  24. </view>
  25. <view>
  26. <image src='../../../assets/jian_fa.png' class='li-text-subration' wx:if='{{isDelete}}' data-index='{{index}}' bindtap='deleteBtn'></image>
  27. </view>
  28. </view>
  29. <view data-url='president/pages/apply_bookform/apply_bookform' bindtap='navigateTo' class="addBooks">+再加一本</view>
  30. <view class='footer-box'>
  31. <view class='footer-box-item' bindtap='cancelCallin'>管理</view>
  32. <view class='footer-box-item' bindtap='getCallin'>提交申请</view>
  33. </view>
  34. </view>
  35. <view class='list' wx:if='{{infofromstorage.length == 0}}'>
  36. <view class='Nodata'>
  37. <image class="image-Nodata"src='../../../assets/nodata_1.png'></image>
  38. <view class="text-Nodata">申请书单列表为空</view>
  39. </view>
  40. <view class="firstaddBooks" data-url='president/pages/apply_bookform/apply_bookform' bindtap='navigateTo'>填写书单</view>
  41. </view>
  42. </view>
  43. </view>