myworks.wxml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!-- pages/user/myworks/myworks.wxml -->
  2. <!-- <wxs src="../../commonWxs/format.wxs" module="format" /> -->
  3. <!-- <StatusBar receiveData="{{statusbarobj}}" grade="{{grade}}" bindgradeTap="gradeTap" /> -->
  4. <scroll-view class='user-works'>
  5. <view class='follow-details'>
  6. <view class='follow-info'>
  7. <view class='set-msg'>
  8. <image class='avatar-image' src='{{ wareCards.user.avatar }}'></image>
  9. <text class="avatar-nickname">{{ wareCards.user.wechatName }}</text>
  10. </view>
  11. <view class="follow" wx:if="{{!isMyself}}" bindtap="follow">
  12. <!-- <image src="{{isFans? '../../static/index/followed.png' : '../../static/index/follow.png'}}" /> -->
  13. <!-- <text class="followBtn">{{isFans ? '已' : ''}}关注</text> -->
  14. <image src="{{isFans? '../../static/index/followed_btn.png' : '../../static/index/follow_btn.png'}}" />
  15. </view>
  16. </view>
  17. <view class='mine-category'>
  18. <view class='play-count'>
  19. <text>作品</text>
  20. {{ wareCards.readAmount || 0 }}
  21. </view>
  22. <view class='play-count'>
  23. <text>播放量</text>
  24. {{ wareCards.playAmount || 0 }}
  25. </view>
  26. <view class='follow-count'>
  27. <text>粉丝</text>
  28. {{ wareCards.fansAmount || 0 }}
  29. </view>
  30. <view class='flower-count'>
  31. <text>小红花</text>
  32. {{ wareCards.integralAmount || 0 }}
  33. </view>
  34. </view>
  35. </view>
  36. <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" bindplay="onPlay"></VideoSwiper>
  37. </scroll-view>
  38. <view class="comment_section" catchtouchmove="touchMove" catchtap="commentTap" data-type="blank" wx:if="{{commentShow}}">
  39. <Comment data-type="list" commentId="{{commentId}}" />
  40. </view>
  41. <canvas canvas-id="myCanvas" style="width:300px; height: 525px; position: absolute; left: -999rpx; top: -9999rpx;"></canvas>