part_call_in.wxml 5.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <!--president/pages/part_call_in/part_call_in.wxml-->
  2. <import src="../../../templates/loading/loading.wxml" />
  3. <view class='container'>
  4. <template is='loading' wx:if='{{!isLoaded}}'></template>
  5. <view class='wrapper' wx:else>
  6. <!-- <view class='header {{title.length > 0 ? "header-active" : ""}}'>
  7. <view class='search-container'>
  8. <view class='search-wrapper'>
  9. <image class='search-icon' src='../../../assets/search.png'></image>
  10. <input class='search-input' type='text' value='{{title}}' placeholder='如:夏洛特的烦恼' placeholder-class='search-placeholder' bindinput='inputSearchCtl'></input>
  11. <image class='search-icon' wx:if='{{title.length > 0}}' src='../../../assets/error_gray.png' bindtap='clearSearchCtl'></image>
  12. </view>
  13. <view class='search-button {{title.length > 0 ? "search-button-active" : ""}}' bindtap='submitSearchCtl'>搜索</view>
  14. </view>
  15. </view> -->
  16. <view class='theme' wx:if='{{!isBatch}}'>
  17. <view class='theme-hend'>
  18. <view>{{theme}}</view>
  19. <view class='theme-hend-select' bindtap='getBatch'>批量选择</view>
  20. </view>
  21. <view class='ul' wx:for='{{list}}' wx:key='index'>
  22. <view class='ui-image'>
  23. <image src='{{item.local_image?baseImgUrl+item.local_image:"../../../assets/default_headicon.png"}}' class='li-img'></image>
  24. </view>
  25. <view class='li-right'>
  26. <view data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
  27. <view>{{item.title}}</view>
  28. <view class='li-right-tips'>
  29. <view class='li-right-tips-items'>{{item.theme}}</view>
  30. </view>
  31. <view>
  32. <image src='../../../assets/fire.png' class='li-right-grade' wx:for='{{item.heat}}' wx:key='index'></image>
  33. </view>
  34. </view>
  35. <view class='ul-num' wx:if='{{item.number==0}}'>
  36. <image src='../../../assets/jia_fa.png' class='ul-num-img' data-size='{{item.book_size}}' data-isbn13='{{item.isbn13}}' data-detailid='{{item.book_detail_id}}' data-infoid='{{item.book_info_id}}' data-index='{{index}}' data-number='{{item.number}}' bindtap='addBook'></image>
  37. </view>
  38. <view class='ul-num' wx:if='{{item.book_size>0&&item.number>0}}'>
  39. <image src='../../../assets/jian_fa.png' class='ul-num-img' data-isbn13='{{item.isbn13}}' data-detailid='{{item.book_detail_id}}' data-infoid='{{item.book_info_id}}' data-size='{{item.book_size}}' data-index='{{index}}' data-number='{{item.number}}' bindtap='subtractionBook'></image>
  40. <text class='ul-num-text'>{{item.number}}</text>
  41. <image src='../../../assets/jia_fa.png' class='ul-num-img' data-size='{{item.book_size}}' data-isbn13='{{item.isbn13}}' data-detailid='{{item.book_detail_id}}' data-infoid='{{item.book_info_id}}' data-index='{{index}}' data-number='{{item.number}}' bindtap='addBook'></image>
  42. </view>
  43. </view>
  44. </view>
  45. <view class='load' wx:if='{{isLoad}}'>
  46. <image src='../../../assets/zai_jia.png' class='load-img'></image>
  47. <view>正在玩命加载...</view>
  48. </view>
  49. </view>
  50. <view class='list' wx:if='{{isBatch}}'>
  51. <view class='li'>
  52. <block>
  53. <view bindtap='checkAllCtl'>
  54. <image class='li-circle' src='{{isAllCheck ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
  55. <text class='li-circle-label'>全选</text>
  56. </view>
  57. <view>
  58. <text class='li-text-gray'>已选{{totalNum}}本</text>
  59. </view>
  60. </block>
  61. </view>
  62. <view class='select li-center' wx:for='{{list}}' wx:key='{{index}}' data-index='{{index}}' bindtap='toggleSelectLiCtl'>
  63. <view>
  64. <image class='li-circle' src='{{item.isCheck == 1 ? "../../../assets/circle_blue.png" : "../../../assets/circle_gray.png"}}'></image>
  65. </view>
  66. <view class='li-items-all' data-url='president/pages/book_Imformation/book_Imformation' data-paras='{{({bookInfoId: item.book_info_id})}}' bindtap='navigateTo'>
  67. <view class='li-img-all'>
  68. <image class='li-img ui-image' mode='aspectFill' lazy-load='true' src='{{item.local_image ? baseImgUrl + item.local_image + thumbnail : "../../../assets/default_headicon.png"}}' data-images='{{([item.local_image])}}' data-baseurl='{{baseImgUrl}}' bindtap='viewImage'></image>
  69. </view>
  70. <view class='li-center-items'>
  71. <view class='li-text-black'>{{item.title || ''}}</view>
  72. <view class='li-right-tips-items'>{{item.theme}}</view>
  73. <view>
  74. <image src='../../../assets/fire.png' class='li-right-grade' wx:for='{{item.heat}}' wx:key='index'></image>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. <view class='footer-box'>
  80. <view class='footer-box-item' bindtap='cancelCallin'>取消</view>
  81. <view class='footer-box-item' bindtap='getCallin'>确定调入</view>
  82. </view>
  83. </view>
  84. </view>
  85. </view>