teaching.wxml 1.1 KB

12345678910111213141516171819
  1. <!--pages/teaching/teaching.wxml-->
  2. <view class='container'>
  3. <view class='wrapper'>
  4. <view class='list' wx:for='{{list}}' wx:key='index'>
  5. <view class='list-items'>
  6. <image class='list-items-img' src='{{item.imgUrl}}'></image>
  7. <view class='list-items-project'>{{item.subject}}</view>
  8. </view>
  9. <view class='list-btn'>
  10. <view class='list-btn-items' wx:for='{{item.bookList}}' wx:for-item='vo' wx:for-index='key' wx:key='key' wx:if='{{item.bookList.length>0}}'>
  11. <view class='list-btn-text'>{{vo.bookName}}</view>
  12. <image src='../../image/shanchu.png' class='list-btn-close' data-index='{{index}}' data-key='{{key}}' data-index='{{index}}' bindtap='deleteBook'></image>
  13. </view>
  14. <view class='list-btn-add' data-url='select_teaching' data-method='{{({vipId,grade,subject:item.subject,obj,isAddChild})}}' bindtap="navigateCtl">+</view>
  15. </view>
  16. </view>
  17. <view class='list-save' bindtap='save' wx:if='{{isAddChild!=1}}'>保存</view>
  18. </view>
  19. </view>