class.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <view class="classPage">
  2. <video id="classVideo" class="videoSection" src="{{videoUrl}}" controls show-fullscreen-btn="{{fullScreenBtn}}" show-play-btn="{{playBtn}}"></video>
  3. <view class="readWorksSection" >
  4. <view class="peopleNum">
  5. <image class="peoplesIcon" src="../../../static/image/peoples.png" />
  6. <view class="title">共有{{total}}人完成了录音</view>
  7. </view>
  8. <view class="workCard" wx:for="{{works}}" wx:key="{{index}}" bindtap="goToWorks" data-uid="{{item.uid}}">
  9. <image class="avatar" src="{{item.avatar}}" />
  10. <view class="name">
  11. <text class="nickName">{{item.nickName}}</text>
  12. <text class="time">{{item.time}}</text>
  13. </view>
  14. <view class="likes">
  15. <image class="likeTag" src="../../../static/image/like_gray.png" />
  16. <text class="likeNum">{{item.likes}}</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="footSection">
  21. <image class="blackbord" src="../../../static/image/blackbord.png" />
  22. <view class="collectBtn footerBtn" bindtap="collect">
  23. <image src=" {{collectFlag ? '../../../static/image/collected.png' : '../../../static/image/no_collect.png'}}" />
  24. <text>{{collectFlag ? '取消收藏' : '收藏'}}</text>
  25. </view>
  26. <view class="readingBtn footerBtn" bindtap="goToReading">
  27. <image class="microphone" src="../../../static/image/microphone.png" />
  28. <text>我要朗读</text>
  29. </view>
  30. <view class="shareBtn footerBtn">
  31. <image src="../../../static/image/share.png" />
  32. <text>分享</text>
  33. </view>
  34. </view>
  35. </view>