From 1cee3a660c5f8e5f4290ae894c2898c4966a834d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 02 八月 2024 18:33:33 +0800
Subject: [PATCH] ''
---
wechat_staff/pages/productVideo/index.wxml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/wechat_staff/pages/productVideo/index.wxml b/wechat_staff/pages/productVideo/index.wxml
index 0ce81d1..7172ace 100644
--- a/wechat_staff/pages/productVideo/index.wxml
+++ b/wechat_staff/pages/productVideo/index.wxml
@@ -2,12 +2,12 @@
<buoyClient class="buoyClient"/>
<!-- 鍒嗙被 -->
<view>
- <scroll-view scroll-x="true" style="weight: 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>
</scroll-view>
- <!-- <scroll-view scroll-x="true" style="weight: 710rpx;margin-bottom: 28rpx;">
+ <!-- <scroll-view scroll-x="true" style="width: 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>
@@ -16,10 +16,11 @@
<!-- content -->
<view class="content">
<view wx:for="{{ dataList }}" class="item">
- <view bindtap="itemClick" data-videourl="{{ item.videoUrl }}" data-id="{{ item.id }}" class="img_wrap">
+ <!-- <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> -->
+ <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">
--
Gitblit v1.9.3