mycollection.wxml 578 B

1234567891011121314
  1. <view class='my-collection'>
  2. <view class='collection-article' wx:for="{{ collection_data }}" wx:key="{{ index }}" bindtap='toClass' data-targetCode="{{item.targetCode}}" data-title='{{ item.title }}'>
  3. <view class='video-preview'>
  4. <image src='{{ item.iconImg }}'></image>
  5. </view>
  6. <view class='content-title'>
  7. {{ item.title }}
  8. </view>
  9. <view class='content-detail'>
  10. <view class='left'>{{ item.summary }}</view>
  11. </view>
  12. </view>
  13. <myPlacerholder line1="{{line1}}" line2="{{line2}}" wx:if="{{collection_data.length <= 0}}" />
  14. </view>