preview.wxml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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}}">
  11. <view class="art-img" wx:for="{{materialData}}" wx:key="{{index}}">
  12. <text>{{item.warePath}}</text>
  13. <text>点击预览</text>
  14. </view>
  15. </view>
  16. <text class="unfold" data-flag="{{flag}}" bindtap="onTap">展开</text>
  17. </view>
  18. <!-- <view class="lesson-list">
  19. <view class="this-week">
  20. <image src="../../pages/image/courseware.png"></image>
  21. <view class="lesson-name">
  22. <text>课件列表</text>
  23. <text>本周推荐课已经完成了</text>
  24. </view>
  25. </view>
  26. <view class=" timer-shaft " animation="{{animationData}}">
  27. <view class="art-lesson" wx:for="{{lessonData}}" wx:key="{{index}}" >
  28. <view class="graph" wx:if="{{!item.isStudy}}">
  29. <view class="yuan check"></view>
  30. <view class="long-line check {{(lessonData.length - 1 == index) || (index == 4 && !flag) ? 'none' : ''}}" ></view>
  31. </view>
  32. <view class="{{item.isStudy ? 'art-con' : 'art-con-color'}}">
  33. <text >{{item.title}}</text>
  34. <text>{{item.isStudy ? '28分钟前' : '未学习'}}</text>
  35. </view>
  36. </view>
  37. </view>
  38. <text class="unfold" data-flag="{{flag}}" bindtap="onTap">展开</text>
  39. </view> -->