myworks.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. <image src="{{isFans? '../../static/index/followed_btn.png' : '../../static/index/follow_btn.png'}}" />
  14. </view>
  15. </view>
  16. <view class='mine-category'>
  17. <view class='play-count'>
  18. <text>作品</text>
  19. {{ wareCards.readAmount || 0 }}
  20. </view>
  21. <view class='play-count'>
  22. <text>播放量</text>
  23. {{ wareCards.playAmount || 0 }}
  24. </view>
  25. <view class='follow-count'>
  26. <text>粉丝</text>
  27. {{ wareCards.fansAmount || 0 }}
  28. </view>
  29. <view class='flower-count'>
  30. <text>红花</text>
  31. {{ wareCards.integralAmount || 0 }}
  32. </view>
  33. </view>
  34. </view>
  35. <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>
  36. </scroll-view>
  37. <view class="comment_section" catchtouchmove="touchMove" catchtap="commentTap" data-type="blank" wx:if="{{commentShow}}">
  38. <Comment data-type="list" commentId="{{commentId}}" />
  39. </view>
  40. <canvas canvas-id="myCanvas" style="width:300px; height: 525px; position: absolute; left: -999rpx; top: -9999rpx;"></canvas>