evaluationDetail.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <view class="container">
  2. <!-- 说明 -->
  3. <view class="tip-view" bindtap="getTip">说明</view>
  4. <!-- end -->
  5. <!-- 点评内容 -->
  6. <view class="class-title">
  7. <view class="class-type">{{item.kind==1?'1v1':'集体'}}</view>
  8. <view class="class-name">{{item.classesName}}</view>
  9. <view class="class-date">{{item.attendTime}}</view>
  10. </view>
  11. <view class="class-teacher">
  12. <view class="teacher-img">
  13. <image src="{{item.imageUrl}}"></image>
  14. </view>
  15. <view class="teacher-name">张老师</view>
  16. </view>
  17. <view class="stars">
  18. <rating wx:for="{{item.stars}}" wx:for-item="star" score="{{star.evaluateStar}}" title="{{star.detailName}}"/>
  19. </view>
  20. <view class="class-desc">
  21. 点评内容:{{item.evaluateContent}}
  22. </view>
  23. <!-- end -->
  24. <!-- 点评内容文件 -->
  25. <view class="img-content">
  26. <view class="title">图片</view>
  27. <view class="img-box">
  28. <image src="{{item.url}}" wx:for="{{item.images}}" wx:key="index" bindtap="showImg" data-url="{{item.url}}"></image>
  29. </view>
  30. </view>
  31. <view class="video-content">
  32. <view class="title">视频</view>
  33. <view class="video-list">
  34. <view wx:for="{{item.videos}}" wx:key="index" class="video-img-view" data-url="{{item.playUrl}}" bindtap="videoShow">
  35. <image class="videoImg" src="{{item.imgUrl}}" mode="aspectFill"></image>
  36. <image class="playImg" src="/images/play.png"></image>
  37. </view>
  38. </view>
  39. <video id="play-video" bindfullscreenchange="bindfullscreenchange" wx:if="{{curVideo != ''}}" autoplay="true"
  40. src="{{curVideo}}" controls="true" downloadlist></video>
  41. </view>
  42. <view class="audio-content">
  43. <view class="title">语音</view>
  44. <view class="audio-list">
  45. <image bindtap="audioShow" src="{{index == curAudioIndex ? '/images/cur-audio.png' : '/images/audio.png'}}"
  46. class="{{index == curAudioIndex ? 'curAudioStyle' : ''}}" wx:for="{{item.records}}" wx:key="index"
  47. data-index="{{index}}" data-url="{{item}}"></image>
  48. </view>
  49. <audio id="audio-play" bindpause="bindpause" bindended="bindended" src="{{curAudio}}"></audio>
  50. </view>
  51. <!-- end -->
  52. </view>