lll
liukangdong
2024-08-02 d0fa02f84591a3a7b88af725b1670bcded36b84d
wechat_jiaxuan/pages/productVideo/index.wxml
@@ -1,7 +1,7 @@
<view class="container"  >
  <!-- 分类 -->
  <view>
    <scroll-view scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;" >
    <scroll-view wx:if="{{ category.length > 0 }}" scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;" >
      <view class="scroll_cate">
        <view bindtap="cateClick" data-code="{{item.labelCode}}" wx:for="{{ category }}" class="item {{ tagCodes == item.labelCode ? 'active': '' }}">{{ item.labelName }}</view>
      </view>
@@ -15,10 +15,11 @@
  <!-- content -->
  <view class="content" >
    <view wx:for="{{ dataList }}" class="item">
      <view bindtap="itemClick" data-videourl="{{ item.videoUrl }}"  data-id="{{ item.id }}" class="img_wrap">
      <!-- <view bindtap="itemClick" data-videourl="{{ item.videoUrl }}"  data-id="{{ item.id }}" class="img_wrap">
        <image class="img" src="{{ item.coverImage }}" mode="aspectFill"></image>
        <image class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
      </view>
      </view> -->
      <video poster="{{ item.coverImage }}" data-item="{{ item }}" bindplay="itemClick" class="img_wrap" src="{{ item.videoUrl }}"   show-center-play-btn show-fullscreen-btn></video>
      <view class="title">{{ item.title }}</view>
      <view class="df_sb static">