myworks.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <wxs src="../../utils/filter.wxs" module="filters" />
  2. <scroll-view class='user-works'>
  3. <view class='follow-details'>
  4. <view class='follow-info'>
  5. <view class='set-msg'>
  6. <image class='avatar-image' src='{{ wareCards.user.avatar }}'></image>
  7. <text class="avatar-nickname">{{ wareCards.user.nickName }}</text>
  8. </view>
  9. <view class="follow" wx:if="{{!isMyself}}" bindtap="follow">
  10. <!-- <image src="{{isFans? '../../static/index/followed.png' : '../../static/index/follow.png'}}" /> -->
  11. <!-- <text class="followBtn">{{isFans ? '已' : ''}}关注</text> -->
  12. <image src="{{isFans? '../../static/index/followed_btn.png' : '../../static/index/follow_btn.png'}}" />
  13. </view>
  14. </view>
  15. <view class='mine-category'>
  16. <view class='play-count'>
  17. <text>作品</text>
  18. {{ wareCards.readAmount || 0 }}
  19. </view>
  20. <view class='play-count'>
  21. <text>播放量</text>
  22. {{ wareCards.playAmount || 0 }}
  23. </view>
  24. <view class='follow-count'>
  25. <text>粉丝</text>
  26. {{ wareCards.fansAmount || 0 }}
  27. </view>
  28. <view class='flower-count'>
  29. <text>小红花</text>
  30. {{ wareCards.integralAmount || 0 }}
  31. </view>
  32. </view>
  33. </view>
  34. <VideoSwiper wx:if="{{videoList.length > 0}}" class="video-swiper" video-list="{{videoList}}" nextMargin="{{nextMargin}}" isSwiper="{{false}}" bindopenComment="openComment" bindheadTap="headTapHandler" bindcollectTap="collectTap" bindlikeTap="likeTap" bindopenShare="openShare" bindgoToReading="goToReading" bindaddShareAmount="addShareAmount" bindplay="onPlay"></VideoSwiper>
  35. </scroll-view>
  36. <view class="comment_section" catchtouchmove="touchMove" catchtap="commentTap" data-type="blank" wx:if="{{commentShow}}">
  37. <Comment data-type="list" commentId="{{commentId}}" />
  38. </view>
  39. <canvas canvas-id="myCanvas" style="width:300px; height: 525px; position: absolute; left: -999rpx; top: -9999rpx;"></canvas>
  40. <canvas id='share' type="2d"> </canvas>