select_teaching.wxml 1.2 KB

123456789101112131415161718
  1. <!--pages/select_teaching/select_teaching.wxml-->
  2. <view class='container'>
  3. <view class='wrapper'>
  4. <view class="position-input-container">
  5. <view class="position-input-search">
  6. <image src="../../image/search.png"></image>
  7. <input type="text" placeholder="输入教辅名称" placeholder-class="position-input-placeholder" value="{{bookName}}" bindblur="inputCtl"></input>
  8. </view>
  9. <!-- <view class="position-input-button" bindtap="cancelInputCtl">取消</view> -->
  10. </view>
  11. <view class='list'>
  12. <view class='list-items' wx:for='{{list}}' wx:key='index' data-url='teaching' data-method='{{({bookId:item.bookId,bookName:item.bookName,subject:item.subject,vipId,grade,obj,isAddChild,isAdd})}}' bindtap="redirectCtl" wx:if='{{list.length>0}}'>{{item.bookName}}</view>
  13. </view>
  14. <view class='list' wx:if='{{list.length==0}}'>
  15. <view class='list-items' data-url='teaching' data-method='{{({bookId:"",bookName,subject,vipId,grade,obj,isAddChild,isAdd})}}' bindtap="redirectCtl">{{bookName}}</view>
  16. </view>
  17. </view>
  18. </view>