follow.wxml 1.2 KB

1234567891011121314151617181920212223242526
  1. <template name="follow">
  2. <view class="followWares" style="flex-direction:row;">
  3. <view wx:for="{{followData.wareCards}}" wx:key="{{index}}" class="followWareCard" bindtap="openWorks" data-classId="{{item.classId}}" data-title="{{item.title}}">
  4. <view class="userCard">
  5. <image class="avatar" src="{{item.avatar}}" />
  6. <view class="nameCross">
  7. <text class="nickName">{{item.nickName}}</text>
  8. <text class="time">{{item.time}}</text>
  9. </view>
  10. </view>
  11. <image class="wareCardImg" src="{{item.img}}" />
  12. <text class="wareCardTitle">{{item.title}}</text>
  13. <view class="bottomData">
  14. <text class="wareCardTip">{{item.grade}}</text>
  15. <view class="wareCardPlays">
  16. <image class="wareCardPlaysImg" src="../../static/image/hotPlays.png" />
  17. <text>{{item.plays}}</text>
  18. </view>
  19. <view class="wareCardLikes">
  20. <image class="wareCardLikesImg" src="../../static/image/like.png" />
  21. <text>{{item.likes}}</text>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>