jiangping
2024-07-30 b022834cf81ea67a6f28d31cc057d494ac6dc8ed
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