<!--pages/teaching/teaching.wxml--> <view class='container'> <view class='wrapper'> <view class='list' wx:for='{{list}}' wx:key='index'> <view class='list-items'> <image class='list-items-img' src='{{item.imgUrl}}'></image> <view class='list-items-project'>{{item.subject}}</view> </view> <view class='list-btn'> <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}}'> <view class='list-btn-text'>{{vo.bookName}}</view> <image src='../../image/shanchu.png' class='list-btn-close' data-index='{{index}}' data-key='{{key}}' data-index='{{index}}' bindtap='deleteBook'></image> </view> <view class='list-btn-add' data-url='select_teaching' data-method='{{({vipId,grade,subject:item.subject,obj,isAddChild})}}' bindtap="navigateCtl">+</view> </view> </view> <view class='list-save' bindtap='save' wx:if='{{isAddChild!=1}}'>保存</view> </view> </view>