From 2faa6546a9f9ddb29f81cbc9770fc25b95703695 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 17:02:39 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 wechat_jiaxuan/pages/productVideo/index.wxml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/wechat_jiaxuan/pages/productVideo/index.wxml b/wechat_jiaxuan/pages/productVideo/index.wxml
index af7be5b..31b55bd 100644
--- a/wechat_jiaxuan/pages/productVideo/index.wxml
+++ b/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>
\ No newline at end of file

--
Gitblit v1.9.3