apply_book.wxml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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">
  7. <view class='step-topic-title'>申请新书</view>
  8. <view class='step-topic-say' bindtap='showModel' wx:if='{{!isDelete}}'>
  9. <image src='../../../assets/circle_gray_2.png' class='step-topic-img'></image>
  10. <text>申请审核说明</text>
  11. </view>
  12. </view>
  13. <view class="step-items" wx:if='{{!isDelete}}'>
  14. <view class="step-item" wx:for='{{stepList}}' wx:key='{{index}}'>
  15. <text class="step-number">{{item.number}}</text>
  16. <text class="step-text">{{item.text}}</text>
  17. <text class="step-icon">{{item.unit}}</text>
  18. </view>
  19. </view>
  20. </view>
  21. <view class='list'>
  22. <view class='li' wx:for='{{infofromstorage}}' wx:key='{{index}}' data-index='{{index}}' wx:if='{{infofromstorage.length > 0}}'>
  23. <view class='li-items'>
  24. <view class='li-center-index'>{{index+1}}</view>
  25. <view class='li-center-two'>
  26. <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' wx:if='{{item.bookImg}}'></image>
  27. <view class='li-center-info'>
  28. <view class='li-text-title'>{{item.title || ''}}</view>
  29. <view class='li-text-black'>{{item.author || ''}}</view>
  30. </view>
  31. </view>
  32. </view>
  33. <view>
  34. <image src='../../../assets/jian_fa.png' class='li-text-subration' wx:if='{{isDelete}}' data-index='{{index}}' bindtap='deleteBtn'></image>
  35. </view>
  36. </view>
  37. <view data-url='parents/pages/apply_bookform/apply_bookform' bindtap='navigateTo' class="addBooks" wx:if='{{!isDelete&&infofromstorage.length > 0}}'>+再加一本</view>
  38. <view class='footer-box'>
  39. <view class='footer-box-item' bindtap='cancelCallin'>删除</view>
  40. <view class='footer-box-item' bindtap='getCallin'>提交申请</view>
  41. </view>
  42. </view>
  43. <view class='list' wx:if='{{infofromstorage.length == 0}}'>
  44. <view class='nodata'>
  45. <image class="image-Nodata"src='../../../assets/nodata_1.png'></image>
  46. <view class="text-Nodata">申请书单列表为空</view>
  47. <view class="firstaddBooks" data-url='parents/pages/apply_bookform/apply_bookform' bindtap='navigateTo'>填写书单</view>
  48. </view>
  49. </view>
  50. <!-- 借阅弹幕 -->
  51. <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
  52. <view class='model' wx:if='{{hiddenModel}}' style='margin:0 130rpx;'>
  53. <view class='model-list'>
  54. <view class='model-list-title'>申请审核说明</view>
  55. <view>所申请书单需符合学校及教育部相关阅读推荐,填写书单信息保存后即可申请新书,待审核通过后采购调配</view>
  56. <view style='padding:40rpx 0;'>注:部分漫画书籍不适用</view>
  57. </view>
  58. <view class='model-list-del'>
  59. <image src='../../../assets/guan_bi.png' class='model-list-img' bindtap='allShowModel'></image>
  60. </view>
  61. </view>
  62. </view>
  63. </view>