follow.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <template name="follow">
  2. <view class="followWares">
  3. <view wx:for="{{followData}}" wx:key="{{index}}" class="followWareCard" bindtap="openWorks" data-readid="{{item.id}}" data-title="{{item.title}}">
  4. <view class="topData">
  5. <view class="worksLeft">
  6. <image class="authorAvatar" src="{{item.avatar}}" />
  7. <view class="worksInfo">
  8. <view class="authorName">{{item.nickName}}</view>
  9. <view class="time">{{item.time}}</view>
  10. </view>
  11. </view>
  12. <view class="numberInfo">
  13. <view class="wareCardPlays">
  14. <text>{{item.plays}}</text>
  15. <image class="wareCardPlaysImg" src="../../static/image/hotPlays.png" />
  16. </view>
  17. <view class="wareCardLikes">
  18. <text>{{item.likes}}</text>
  19. <image class="wareCardLikesImg" src="../../static/image/like.png" />
  20. </view>
  21. </view>
  22. </view>
  23. <image class="wareCardImg" src="{{item.img}}" />
  24. <view class="titleSummary">
  25. <text class="wareCardTitle">{{item.title}}</text>
  26. <text class="wareCardTip">{{item.summary}}</text>
  27. </view>
  28. </view>
  29. </view>
  30. <myPlacerholder line1="您还没有关注过用户" line2="快去关注吧" wx:if="{{followData.length <= 0}}" />
  31. </template>