v
litian
2025-06-17 9d437a2e33547274cc241fd03f02c194a5febc32
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -405,6 +405,7 @@
        // }
      })
      if (this.data.source == 'qrcode') {
        console.log(this.data.threeLeveData, this.data.isLearnDataBuy, 1234)
        let qrData = this.data.threeLeveData.find(ditem => ditem.id == this.data.activeId)
        if (qrData && this.data.isLearnDataBuy) {
          if (qrData) {
@@ -447,8 +448,9 @@
              })
              this.aliVod(file, this.data.showData)
            } else {
              let file = items.file ? items.file : items.freeFile
              this.setData({
                showData: items.file ? app.config.requestCtx + '/file/api/ApiDownload?md5=' + items.file : app.config.requestCtx + '/file/api/ApiDownload?md5=' + items.freeFile,
                showData: app.config.requestCtx + '/file/api/ApiDownload?md5=' + file,
                titleName: items.name,
                selectedId: index
              })
@@ -462,7 +464,7 @@
          title: '请先返回资源所在图书详情购买视频资源',
        })
        wx.navigateTo({
          url: `/packageBookService/pages/bookServices/detail/index?id=${this.data.bookDetail.id}&name=${this.data.bookDetail.name}&tabValue=jsek_cloudLearning`,
          url: `/packageBookService/pages/bookServices/detail/index?id=${this.data.bookDetail.id}&name=${this.data.bookDetail.name}&tabValue=${this.data.formPath}`,
        });
      }
      this.setData({
@@ -900,7 +902,7 @@
    })
    if (this.data.source == 'qrcode') {
      wx.navigateTo({
        url: `/packageBookService/pages/bookServices/detail/index?id=${this.data.bookDetail.id}&name=${this.data.bookDetail.name}&tabValue=jsek_cloudLearning`,
        url: `/packageBookService/pages/bookServices/detail/index?id=${this.data.bookDetail.id}&name=${this.data.bookDetail.name}&tabValue=${this.data.formPath}`,
      });
    } else {
      wx.navigateBack()