k94314517
2024-07-29 282ae8b61eed9a9eb81ac85a9c7f6899eb3652fd
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