123456789101112131415161718 |
- <!--pages/select_teaching/select_teaching.wxml-->
- <view class='container'>
- <view class='wrapper'>
- <view class="position-input-container">
- <view class="position-input-search">
- <image src="../../image/search.png"></image>
- <input type="text" placeholder="输入教辅名称" placeholder-class="position-input-placeholder" value="{{bookName}}" bindblur="inputCtl"></input>
- </view>
- <!-- <view class="position-input-button" bindtap="cancelInputCtl">取消</view> -->
- </view>
- <view class='list'>
- <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>
- </view>
- <view class='list' wx:if='{{list.length==0}}'>
- <view class='list-items' data-url='teaching' data-method='{{({bookId:"",bookName,subject,vipId,grade,obj,isAddChild,isAdd})}}' bindtap="redirectCtl">{{bookName}}</view>
- </view>
- </view>
- </view>
|