myworks.wxml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!-- pages/user/myworks/myworks.wxml -->
  2. <!-- <wxs src="../../commonWxs/format.wxs" module="format" /> -->
  3. <scroll-view class='user-works'>
  4. <view class='follow-details'>
  5. <view class='follow-info'>
  6. <view class='set-msg'>
  7. <image class='avatar-image' src='{{ wareCards.user.avatar }}'></image>
  8. <text class="avatar-nickname">{{ wareCards.user.wechatName }}</text>
  9. </view>
  10. <view class="follow" wx:if="{{!isMyself}}" bindtap="follow">
  11. <image src="{{isFans? '../../static/index/followed.png' : '../../static/index/follow.png'}}" />
  12. <text class="followBtn">{{isFans ? '已' : ''}}关注</text>
  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" bindgoToReading="goToReading" 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>