jiangping
2024-07-26 2faa6546a9f9ddb29f81cbc9770fc25b95703695
wechat_jiaxuan/pages/productVideo/index.wxml
@@ -3,7 +3,7 @@
  <view>
    <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 30rpx;">
      <view class="scroll_cate">
        <view bindtap="cateClick" data-index="{{index}}" wx:for="{{ category }}" class="item {{ index == 0 ? 'active': '' }}">{{ item }}</view>
        <view bindtap="cateClick" data-code="{{item.labelCode}}" wx:for="{{ category }}" class="item {{ tagCodes == item.labelCode ? 'active': '' }}">{{ item.labelName }}</view>
      </view>
    </scroll-view>
    <!-- <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 28rpx;">
@@ -16,7 +16,7 @@
  <view class="content">
    <view wx:for="{{ dataList }}" class="item">
      <view class="img_wrap">
        <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
        <image class="img" src="{{ item.coverImage }}" mode="aspectFill"></image>
        <image bindtap="itemClick" data-videourl="{{ item.videoUrl }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
      </view>
@@ -29,5 +29,8 @@
        </view>
      </view>
    </view>
    <view wx:if="{{ dataList.length == 0 }}" class="empty_wrap">
      <image class="default_empty" src="../../static/images/default_empty.png"></image>
    </view>
  </view>
</view>