shortvideo.wxml 1.5 KB
<view class="biaozhuantitle">{{video.name}}</view>

<view class="guangimg" bindtap="entervideo" data-url="{{video.url}}">
  <image src="{{video.video_image}}"></image>

  <view class="boimg">
    <image src="{{url}}/aicon_70x.png"></image>
  </view>
</view>


<!-- <video src="{{video.url}}" controls class="video" object-fit="fill"></video> -->

<view class="bofangnum">
  <view class="bofangleft">
    {{video.times}}次播放
  </view>
  <view class="bofangright">{{date}}</view>
</view>


<view class="biaozhuantitle xiaovideo">小视频</view>
<view class="shortvideobox">

<view class="nodataimg" wx:if="{{list.length==0}}">
    <image src="/img/wushuju.png"></image>
  </view>
  <block wx:else>
  <view class="videoitem" wx:for='{{list}}' wx:key=''>

    <view class="itemvid" bindtap="shortentervideo" data-url="{{item.video}}" data-id="{{item.id}}">
      <image src="{{item.video_image}}"></image>
      <view class="boimg">
        <image src="{{url}}/aicon_70x.png"></image>
      </view>
    </view>
    <!-- <video src="{{item.video}}" class="itemvid" controls object-fit="fill"></video> -->

    <view class="videoittitle">{{item.content}}</view>
    <view class="bofanglist">
      <view class="bofangleft">
        {{item.video_count}}次播放
      </view>
      <view class="bofangright">
        <view class="bofangrightimg">
          <image src="/img/zan.png"></image>
        </view>

        <view class="zanshu">{{item.good_count}}</view>
      </view>
    </view>
    <view class="">

    </view>
  </view>
</block>



</view>