myworks.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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/image/fully_heart.png' : '../../../static/image/empty_heart.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" catchtap="commentTap" data-type="blank" wx:if="{{commentShow}}">
  37. <Comment data-type="list" commentId="{{commentId}}" />
  38. </view>