123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <!--president//pages/random_books/random_books.wxml-->
- <view class='container'>
- <view class='wrapper pb'>
- <view class='book'>
- <view class='book-all'>调书数量</view>
- <view class='book-num'>
- <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'>
- <text wx:if='{{index!=3}}'>{{item.text}}本</text>
- <input class='book-num-items-input' type='number' value='{{size}}' placeholder='输入调书数量' placeholder-class='search-placeholder' bindinput='inputSearchCtl' wx:if='{{index==3}}'></input>
- </view>
- </view>
- <view class='book-all'>调书范围</view>
- <view class='scope-input'>
- <input type='text' class='scope-input-word' value='{{title}}' placeholder='选择筛选范围' placeholder-class='search-placeholder' bindinput='inputSearchPage' disabled='true'></input>
- <view bindtap='getScreen' class='scope-input-down'>
- <view class='scope-input-triangle'></view>
- </view>
- </view>
- <!-- 筛选弹框 -->
- <view class='showModel' bindtap='screenShowModel' catchtouchmove="screenShowModel" wx:if='{{screenModel}}' catchtouchmove="true"></view>
- <view class='model' wx:if='{{screenModel}}' catchtouchmove="true">
- <scroll-view scroll-y class='screen'>
- <view class='screen-items'>
- <view class='screen-items-head'>年段</view>
- <view>
- <view class='screen-items-all' wx:for='{{gradeList}}' wx:key='index' data-index='{{index}}' bindtap='selectGrade'>
- <view class='screen-items-content {{item.isCheck?"screen-active":""}}'>
- <text>{{item.grade}}</text>
- <image src='../../../assets/blue_active.png' class='screen-items-all-img' wx:if='{{item.isCheck}}'></image>
- </view>
- </view>
- </view>
- </view>
- <view class='screen-items' >
- <view class='screen-items-head'>主题</view>
- <view class='screen-items-all' wx:for='{{themeList}}' wx:key='index'>
- <view class='screen-items-content {{item.isCheck?"screen-active":""}}' wx:if='{{item.childList.length==0}}' data-index='{{index}}' data-type='{{1}}' bindtap='selectTheme'>
- <text>{{item.name}}</text>
- <image src='../../../assets/blue_active.png' class='screen-items-all-img' wx:if='{{item.isCheck}}'></image>
- </view>
- </view>
- <!-- <view>
- <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'>
- <view class='screen-items-content {{val.isCheck?"screen-active":""}}'>
- <text>{{val.name}}</text>
- <image data-index='{{index}}' bindtap='themeListReset' src='../../../assets/blue_active.png' class='screen-items-all-img' wx:if='{{val.isCheck}}'></image>
- </view>
- </view>
- </view> -->
- </view>
- <view class='screen-footer'></view>
- <view class='screen-btn'>
- <view class='screen-btn-rest' bindtap='getReset'>重置</view>
- <view class='screen-btn-sure' bindtap='getSubmit'>确定</view>
- </view>
- </scroll-view>
- </view>
- <!-- 提交弹框 -->
- <view class='showModel' bindtap='screenShowModel' catchtouchmove="screenShowModel" wx:if='{{submitModel}}' catchtouchmove="true"></view>
- <view class='model' wx:if='{{submitModel}}' catchtouchmove="true">
- <view class='sub'>
- <view>随机调书由系统自动为您选书,说不定会有惊喜哟</view>
- <view class='sub-btn'>
- <view class='sub-btn-left' bindtap='screenShowModel'>取消</view>
- <view class='sub-btn-right' bindtap='getRandomBook'>确定</view>
- </view>
- </view>
- </view>
- </view>
- <view class='book-btn' bindtap='submitBook'>随机调书</view>
- </view>
- </view>
|