From 7dc29ed74ebaa8a0e66f68264d9a13f95dc3af21 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 02 八月 2024 11:09:06 +0800
Subject: [PATCH] aa

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

diff --git a/wechat_jiaxuan/pages/productVideo/index.wxml b/wechat_jiaxuan/pages/productVideo/index.wxml
index 8463b45..219e1ea 100644
--- a/wechat_jiaxuan/pages/productVideo/index.wxml
+++ b/wechat_jiaxuan/pages/productVideo/index.wxml
@@ -15,9 +15,9 @@
   <!-- content -->
   <view class="content" >
     <view wx:for="{{ dataList }}" class="item">
-      <view 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 bindtap="itemClick" data-videourl="{{ item.videoUrl }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
+        <image class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
       </view>
 
       <view class="title">{{ item.title }}</view>
@@ -25,7 +25,7 @@
         <view>{{ item.publishDt }}</view>
         <view class="df_sb">
           <image class="liulan" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
-          <text>{{ item.viewCount }}</text>
+          <text>{{ math.formarCount(item.viewCount) }}</text>
         </view>
       </view>
     </view>
@@ -33,10 +33,11 @@
       <image class="default_empty" src="../../static/images/default_empty.png"></image>
     </view>
   </view>  
-    <view wx:if="{{ isShow }}" bind:tap="onClose" class="video_content">   
+  <!-- <view wx:if="{{ isShow }}" bind:tap="onClose" class="video_content">   
       <view  class="video">
       <video    id="myVideo" src="{{curVideoSrc}}"  autoplay   show-fullscreen-btn show-play-btn ></video>
       </view> 
-  </view >
-
-</view>
\ No newline at end of file
+  </view > -->
+  <videoPlay class='videoPlay' /> 
+</view>
+<wxs module="math" src="../../utils/math.wxs"></wxs>
\ No newline at end of file

--
Gitblit v1.9.3