From 52787adceb282c1914589c7ceb252bdb03e2df36 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 02 八月 2024 11:26:12 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

---
 wechat_staff/pages/productVideo/index.wxml |   30 +++++++++++++++++-------------
 1 files changed, 17 insertions(+), 13 deletions(-)

diff --git a/wechat_staff/pages/productVideo/index.wxml b/wechat_staff/pages/productVideo/index.wxml
index 48cffa5..0ce81d1 100644
--- a/wechat_staff/pages/productVideo/index.wxml
+++ b/wechat_staff/pages/productVideo/index.wxml
@@ -1,33 +1,37 @@
 <view class="container">
-  <view class="search_wrap">
-    <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
-    <input type="text" placeholder="鎼滅储鍜ㄨ鏍囬" />
-  </view>
+  <buoyClient class="buoyClient"/>
   <!-- 鍒嗙被 -->
   <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;">
+    <!-- <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 28rpx;">
       <view class="scroll_cate second_list">
         <view bindtap="seCateClick" data-index="{{index}}" wx:for="{{ secondCategory }}" class="item {{ index == 0 ? 'active': '' }}">{{ index }}{{ item }}</view>
       </view>
-    </scroll-view>
+    </scroll-view> -->
   </view>
   <!-- content -->
   <view class="content">
-    <view class="item" bindtap="itemClick" data-abg="qwe">
-      <image class="img" src="../../static/icon/test.png" mode="widthFix"></image>
-      <view class="title">鍚婄伅瀹炵敤鐗硅緫 | 涓�姝ュ浼氱悊鎯冲厜褰卞竷灞�</view>
+    <view wx:for="{{ dataList }}" class="item">
+      <view bindtap="itemClick" data-videourl="{{ item.videoUrl }}" data-id="{{ item.id }}" class="img_wrap">
+        <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
+        <image class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
+      </view>
+
+      <view class="title">{{ item.title }}</view>
       <view class="df_sb static">
-        <view>{{ '2021-08-21 12:00:00' }}</view>
+        <view>{{ item.publishDt }}</view>
         <view class="df_sb">
           <image class="liulan" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
-          <text>1000</text>
+          <text>{{ format.formarCount(item.viewCount) }}</text>
         </view>
       </view>
     </view>
   </view>
-</view>
\ No newline at end of file
+  
+  <videoPlay class='videoPlay' /> 
+</view>
+<wxs module="format" src="../../utils/format.wxs"></wxs>
\ No newline at end of file

--
Gitblit v1.9.3