preview.wxml 921 B

123456789101112131415161718192021222324252627
  1. <!--compontents/lesson_list/lessonList.wxml-->
  2. <view class="material">
  3. <view class="this-week">
  4. <image src="../../pages/image/study.png"></image>
  5. <view class="lesson-name">
  6. <text>学习资料</text>
  7. <text>本周和历史学习资料</text>
  8. </view>
  9. </view>
  10. <view class="material-con" animation="{{animationData}}" style="height: {{height}}rpx">
  11. <view class="art-img" wx:for="{{materialData}}" wx:key="{{index}}">
  12. <text>{{item.title}}</text>
  13. <text wx:if="{{ item.warePath && item.title}}" data-warePath="{{item.warePath}}" bindtap="preview">点击预览</text>
  14. <text wx:else>暂无资料</text>
  15. </view>
  16. </view>
  17. <view class="unfold" wx:if="{{height}}">
  18. <image class="dirImg" src="{{src}}"></image>
  19. <text data-flag="{{flag}}" bindtap="onTap">{{downUp}}</text>
  20. </view>
  21. </view>