random_books.wxml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!--president//pages/random_books/random_books.wxml-->
  2. <view class='container'>
  3. <view class='wrapper pb'>
  4. <view class='book'>
  5. <view class='book-all'>调书数量</view>
  6. <view class='book-num'>
  7. <view class='book-num-items {{item.isCheck=="active"&&index!=3?"num-active":""}}{{item.isCheck=="active"&&index==3?"input-active":""}}' wx:for='{{numList}}' wx:key='index' data-index='{{index}}' style='{{index==0||index==2?"margin-right:4.5%":""}}' bindtap='selectNum'>
  8. <text wx:if='{{index!=3}}'>{{item.text}}本</text>
  9. <input class='book-num-items-input' type='number' value='{{size}}' placeholder='输入调书数量' placeholder-class='search-placeholder' bindinput='inputSearchCtl' wx:if='{{index==3}}'></input>
  10. </view>
  11. </view>
  12. <view class='book-all'>调书范围</view>
  13. <view class='scope-input'>
  14. <input type='text' class='scope-input-word' value='{{title}}' placeholder='选择筛选范围' placeholder-class='search-placeholder' bindinput='inputSearchPage' disabled='true'></input>
  15. <view bindtap='getScreen' class='scope-input-down'>
  16. <view class='scope-input-triangle'></view>
  17. </view>
  18. </view>
  19. <!-- 筛选弹框 -->
  20. <view class='showModel' bindtap='screenShowModel' catchtouchmove="screenShowModel" wx:if='{{screenModel}}' catchtouchmove="true"></view>
  21. <view class='model' wx:if='{{screenModel}}' catchtouchmove="true">
  22. <scroll-view scroll-y class='screen'>
  23. <view class='screen-items'>
  24. <view class='screen-items-head'>年段</view>
  25. <view>
  26. <view class='screen-items-all' wx:for='{{gradeList}}' wx:key='index' data-index='{{index}}' bindtap='selectGrade'>
  27. <view class='screen-items-content {{item.isCheck?"screen-active":""}}'>
  28. <text>{{item.grade}}</text>
  29. <image src='../../../assets/blue_active.png' class='screen-items-all-img' wx:if='{{item.isCheck}}'></image>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class='screen-items' >
  35. <view class='screen-items-head'>主题</view>
  36. <view class='screen-items-all' wx:for='{{themeList}}' wx:key='index'>
  37. <view class='screen-items-content {{item.isCheck?"screen-active":""}}' wx:if='{{item.childList.length==0}}' data-index='{{index}}' data-type='{{1}}' bindtap='selectTheme'>
  38. <text>{{item.name}}</text>
  39. <image src='../../../assets/blue_active.png' class='screen-items-all-img' wx:if='{{item.isCheck}}'></image>
  40. </view>
  41. </view>
  42. <!-- <view>
  43. <view class='screen-items-all' wx:for='{{item.childList}}' wx:key='key' wx:for-item='val' wx:for-index='key' data-index='{{index}}' data-key='{{key}}' data-type='{{0}}' bindtap='selectTheme'>
  44. <view class='screen-items-content {{val.isCheck?"screen-active":""}}'>
  45. <text>{{val.name}}</text>
  46. <image data-index='{{index}}' bindtap='themeListReset' src='../../../assets/blue_active.png' class='screen-items-all-img' wx:if='{{val.isCheck}}'></image>
  47. </view>
  48. </view>
  49. </view> -->
  50. </view>
  51. <view class='screen-footer'></view>
  52. <view class='screen-btn'>
  53. <view class='screen-btn-rest' bindtap='getReset'>重置</view>
  54. <view class='screen-btn-sure' bindtap='getSubmit'>确定</view>
  55. </view>
  56. </scroll-view>
  57. </view>
  58. <!-- 提交弹框 -->
  59. <view class='showModel' bindtap='screenShowModel' catchtouchmove="screenShowModel" wx:if='{{submitModel}}' catchtouchmove="true"></view>
  60. <view class='model' wx:if='{{submitModel}}' catchtouchmove="true">
  61. <view class='sub'>
  62. <view>随机调书由系统自动为您选书,说不定会有惊喜哟</view>
  63. <view class='sub-btn'>
  64. <view class='sub-btn-left' bindtap='screenShowModel'>取消</view>
  65. <view class='sub-btn-right' bindtap='getRandomBook'>确定</view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class='book-btn' bindtap='submitBook'>随机调书</view>
  71. </view>
  72. </view>