index.wxml 835 B

12345678910111213
  1. <view class="worksList">
  2. <view class="playLine" />
  3. <videoPreview class="videoPreview" wx:for="{{worksListCopy}}" wx:key="index" videoType="{{videoType}}"
  4. currentTime="{{currentTime}}" sliderValue="{{sliderValue}}" videoInfo="{{item}}" index='{{index}}'
  5. currentId="{{currentId}}" data-id="{{item.userRead.id}}" data-audio="{{item.userRead.audioPath}}"
  6. data-uid="{{item.user.uid}}"
  7. data-type="{{!item.userReadExtend||item.userReadExtend.resourcesType==0?0:1}}" bind:openComment="openComment"
  8. bind:setSeek="setSeek" bind:setListFans="setListFans" bind:playAudio="playAudio" bind:playVideo="playVideo"
  9. bind:deleteVideo='deleteVideo'>
  10. </videoPreview>
  11. <Comment id="comment" tabBarPadding="{{tabBarPadding}}" bind:addCommentNum="addCommentNum" />
  12. <canvas id='share' class="share" type="2d"> </canvas>
  13. </view>