From 6e1f28f042cf597b85c0a02b031b9db9b7e55358 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 30 七月 2024 09:11:02 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_staff/components/disRealpic/index.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/wechat_staff/components/disRealpic/index.js b/wechat_staff/components/disRealpic/index.js
index ae17a12..aa2ca72 100644
--- a/wechat_staff/components/disRealpic/index.js
+++ b/wechat_staff/components/disRealpic/index.js
@@ -73,9 +73,10 @@
},
videoClick(e) {
const { videourl } = e.currentTarget.dataset
- wx.previewMedia({
- sources: [{ url: videourl, type: 'video' }]
- })
+ let videoPlay = this.selectComponent('.videoPlay');
+ if(videoPlay){
+ videoPlay.startPlayVideo(videourl,this );
+ }
},
priviewFull(e){
const item = e.currentTarget.dataset.item
@@ -145,8 +146,7 @@
cateList[activeIndex].tempParamCode = null
console.log(1)
}
- this.setData({ cateList })
- console.log(cateList)
+ this.setData({ cateList })
},
cancelParam() {
const { cateList } = this.data
--
Gitblit v1.9.3