showList.wxml 843 B

12345678910111213141516171819202122
  1. <view class="show-view">
  2. <view class="show-list">
  3. <view class="show-box" wx:for="{{list}}" wx:key="index">
  4. <view class="show-img" bindtap="doPlay" data-url="{{item.playUrl}}">
  5. <video poster="{{item.imgUrl}}" src="{{item.src}}" controls="true"></video>
  6. </view>
  7. <view class="show-title-view">
  8. <view class="show-title">{{item.title}}</view>
  9. <view class="zan-view" bindtap="doThumbsUp" data-id="{{item.videoId}}">
  10. <view class="zan-img">
  11. <image src="/images/zan.png" wx:if="{{item.goodCount <= 0}}" ></image>
  12. <image src="/images/cur-zan.png" ex:else></image>
  13. </view>
  14. <view class="zan-num">{{item.goodCount}}</view>
  15. </view>
  16. </view>
  17. <view class="show-desc">
  18. {{item.content}}
  19. </view>
  20. </view>
  21. </view>
  22. </view>