index.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <wxs src="../../utils/filter.wxs" module="filters" />
  2. <view class="pkBox">
  3. <videoPreview wx:if="{{videoInfo}}" videoInfo="{{videoInfo}}" currentId="{{currentId}}"
  4. data-id="{{videoInfo.userRead.id}}" currentTime="{{currentTime}}" sliderValue="{{sliderValue}}"
  5. bind:playVideo="playVideo" bind:playAudio="playAudio" bind:pkPageAudio="pkPageAudio" data-audio="{{audioPath}}"
  6. bind:setSeek="setSeek" bind:openComment="openComment" videoType='pk' />
  7. <!-- 挑战记录列表 -->
  8. <view class="pkRecord">
  9. <view class="title">挑战记录</view>
  10. <scroll-view scroll-y="true" class="scrollBox" enhanced="true" show-scrollbar="{{false}}"
  11. bindscrolltolower='loadMore'>
  12. <view class="record" wx:for="{{recordList}}" wx:key="id" bindtap="jumpUserInfo" data-uid='{{item.user.uid}}'>
  13. <view class="record-left">
  14. <image src="{{item.user.avatar}}" class="avatar" />
  15. <view class="rl-info">
  16. <view class="nickName">{{item.user.nickName||item.user.eid}}</view>
  17. <view class="time">{{filters.formatDate(item.userRead.gmtCreated,1)}}</view>
  18. </view>
  19. </view>
  20. <view class="record-right">
  21. <view class="score">
  22. {{item.userRead.score}}分
  23. </view>
  24. <image src="/static/play.png" class="play" mode="" />
  25. </view>
  26. </view>
  27. </scroll-view>
  28. </view>
  29. <view class="footer" wx:if="{{isShare}}">
  30. <view class="stBtn" bindtap="jumpIndex">前往首页</view>
  31. </view>
  32. <Comment id="comment" bind:addCommentNum="addCommentNum" />
  33. <canvas id='share' type="2d"> </canvas>
  34. </view>