From 1ae423f71a056e06a1f8908c6ae048d865e8ff47 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 26 七月 2024 11:43:43 +0800
Subject: [PATCH] b端

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

diff --git a/wechat_jiaxuan/pages/productVideo/index.wxml b/wechat_jiaxuan/pages/productVideo/index.wxml
index af7be5b..d6c1608 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>
 

--
Gitblit v1.9.3