video.wxml 889 B

12345678910111213141516171819
  1. <view class="video">
  2. <scroll-view scroll-x class="scroll">
  3. <view class="navCol {{item.vtype == vtype?'current':''}}" wx:for="{{nav}}" wx:key="unique" data-vtype="{{item.vtype}}" bindtap="chooseNav">{{item.name}}</view>
  4. </scroll-view>
  5. <view class="list">
  6. <navigator class="listCol" wx:for="{{videoList}}" wx:key="unique" url="play?id={{item.id}}" hover-class="none">
  7. <view class="imgBox">
  8. <image src="{{item.logo}}" mode="aspectFill"></image>
  9. <text class="icon icon-play"></text>
  10. </view>
  11. <view class="details">
  12. <view class="name">{{item.title}}</view>
  13. <view class="time">{{item.duration}}</view>
  14. </view>
  15. </navigator>
  16. </view>
  17. <view class='load-more' hidden="{{!bottom}}">下面没有了哦</view>
  18. <view class='noData' hidden='{{videoList.length > 0 ? true : false}}'><text class="icon icon-info"></text><text>~没有相关视频~</text></view>
  19. </view>