mycourse.wxml 517 B

1234567891011
  1. <view class='my-course'>
  2. <block wx:for="{{ bookList }}" wx:key="{{ index }}">
  3. <view class="book-item">
  4. <view class='book-box' bindtap='toCourse' data-productId='{{ item.productId }}' data-productTitle='{{ item.productTitle }}'>
  5. <image class="item-img" src="{{ item.iconImg }}"></image>
  6. </view>
  7. <view class='item-title'>{{ item.groupTitle }}</view>
  8. </view>
  9. </block>
  10. <myPlacerholder line1="{{line1}}" line2="{{line2}}" wx:if="{{bookList.length <= 0}}" />
  11. </view>