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_jiaxuan/pages/productVideo/index.wxml | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/wechat_jiaxuan/pages/productVideo/index.wxml b/wechat_jiaxuan/pages/productVideo/index.wxml
index f481144..bcd9be0 100644
--- a/wechat_jiaxuan/pages/productVideo/index.wxml
+++ b/wechat_jiaxuan/pages/productVideo/index.wxml
@@ -1,7 +1,7 @@
<view class="container" >
<!-- 鍒嗙被 -->
<view>
- <scroll-view scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;" >
+ <scroll-view wx:if="{{ category.length > 0 }}" scroll-x="true" style="width: 710rpx;margin-bottom: 30rpx;" >
<view class="scroll_cate">
<view bindtap="cateClick" data-code="{{item.labelCode}}" wx:for="{{ category }}" class="item {{ tagCodes == item.labelCode ? 'active': '' }}">{{ item.labelName }}</view>
</view>
@@ -15,17 +15,18 @@
<!-- 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 }}" data-id="{{ item.id }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
- </view>
+ <image class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
+ </view> -->
+ <video poster="{{ item.coverImage }}" data-item="{{ item }}" bindplay="itemClick" class="img_wrap" src="{{ item.videoUrl }}" show-center-play-btn show-fullscreen-btn></video>
<view class="title">{{ item.title }}</view>
<view class="df_sb static">
<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>
@@ -39,4 +40,5 @@
</view>
</view > -->
<videoPlay class='videoPlay' />
-</view>
\ No newline at end of file
+</view>
+<wxs module="math" src="../../utils/math.wxs"></wxs>
\ No newline at end of file
--
Gitblit v1.9.3