growUp.wxml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <view class="container">
  2. <view class="grow-view">
  3. <view class="grow-list">
  4. <view class="grow-box" wx:for="{{list}}" wx:key="index">
  5. <view class="line-index"></view>
  6. <view class="grow-title" wx:if="{{item.type == '1'}}">
  7. <view class="grow-time">{{item.beginTime}}</view>
  8. <view class="grow-name">{{item.classesName}} : {{item.name}}</view>
  9. <view class="grow-content">{{item.evaluateContent}}</view>
  10. <view class="task-content">
  11. <view class="title">图片</view>
  12. <view class="img-list">
  13. <image wx:for="{{item.images}}" wx:for-item="img" src="{{img.url}}" mode="aspectFill" wx:key="index" bindtap="showImg" data-url="{{img.url}}" data-id="{{item.id}}"></image>
  14. </view>
  15. <view class="title">视频</view>
  16. <view class="video-list">
  17. <view wx:for="{{item.videos}}" wx:key="index" class="video-img-view" data-url="{{item.playUrl}}" bindtap="videoShow">
  18. <image class="videoImg" src="{{item.imgUrl}}" mode="aspectFill" ></image>
  19. <image class="playImg" src="/images/play.png"></image>
  20. </view>
  21. </view>
  22. <video id="play-video" bindfullscreenchange="bindfullscreenchange" wx:if="{{curVideo != ''}}" autoplay="true" src="{{curVideo}}" controls="true" downloadlist></video>
  23. <view class="title">语音</view>
  24. <view class="audio-list">
  25. <image wx:for="{{item.records}}" bindtap="audioShow" src="{{index == curAudioIndex ? '/images/cur-audio.png' : '/images/audio.png'}}" class="{{index == curAudioIndex ? 'curAudioStyle' : ''}}" wx:key="index" data-index="{{index}}" data-url="{{item.url}}"></image>
  26. </view>
  27. <audio id="audio-play" bindpause="bindpause" bindended="bindended" src="{{curAudio}}"></audio>
  28. </view>
  29. <view class="grow-desc">来自课后点评</view>
  30. </view>
  31. <view class="grow-title" wx:if="{{item.type == '2'}}">
  32. <view class="grow-time">{{item.beginTime}}</view>
  33. <view class="grow-name">报名课程: {{item.classesName}}</view>
  34. <view class="grow-content"></view>
  35. <view class="grow-desc">来自我的足迹</view>
  36. </view>
  37. <view class="grow-title" wx:if="{{item.type == '3'}}">
  38. <view class="grow-time">{{item.beginTime}}</view>
  39. <view class="grow-name">取得新成绩: {{item.name}}, {{item.evaluateContent}}分</view>
  40. <view class="grow-content"></view>
  41. <view class="grow-desc">来自我的成绩</view>
  42. </view>
  43. <view class="grow-title" wx:if="{{item.type == '4'}}">
  44. <view class="grow-time">{{item.beginTime}}</view>
  45. <view class="grow-name">发布新动态</view>
  46. <view class="grow-content">
  47. <view class="video-img-view" data-url="{{item.playUrl}}" bindtap="videoShow">
  48. <image class="videoImg" src="{{item.imgUrl}}" mode="aspectFill" ></image>
  49. <image class="playImg" src="/images/play.png"></image>
  50. </view>
  51. <audio id="audio-play" bindpause="bindpause" bindended="bindended" src="{{curAudio}}"></audio>
  52. </view>
  53. <view class="grow-desc">来自学生秀</view>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="loading">{{loading}}</view>
  59. </view>