From d0fa02f84591a3a7b88af725b1670bcded36b84d Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 02 八月 2024 11:09:30 +0800
Subject: [PATCH] lll
---
wechat_jiaxuan/pages/productVideo/index.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/wechat_jiaxuan/pages/productVideo/index.js b/wechat_jiaxuan/pages/productVideo/index.js
index 61ab302..46298e4 100644
--- a/wechat_jiaxuan/pages/productVideo/index.js
+++ b/wechat_jiaxuan/pages/productVideo/index.js
@@ -50,7 +50,7 @@
})
},
itemClick(e) {
- const { videourl ,id} = e.currentTarget.dataset
+ const { videourl ,id} = e.currentTarget.dataset.item
const { dataList } = this.data
dataList.forEach(ite => {
if(id === ite.id){
@@ -62,10 +62,10 @@
actionType: 'view',
id: id
})
- let videoPlay = this.selectComponent('.videoPlay');
- if(videoPlay){
- videoPlay.startPlayVideo(videourl,this );
- }
+ // let videoPlay = this.selectComponent('.videoPlay');
+ // if(videoPlay){
+ // videoPlay.startPlayVideo(videourl,this );
+ // }
// this.startPlayVideo(videourl)
// wx.previewMedia({
// sources: [{ url: videourl, type: 'video' }]
--
Gitblit v1.9.3