QYF-GitLab1
2025-07-23 23f872505d56a06183f55964f40ee697817e1858
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -219,6 +219,7 @@
      try {
        this.setData({
          bookDetail: res.datas,
          bookName: res.datas.name,
          buyIdList: res.datas.purchasedSaleMethodIdList,
          learnClassData: res.datas.cmsDatas[0].datas.length > 0 ? res.datas.cmsDatas[0].datas.find(item => item.refCode == "jsek_cloudLearning") : null
        })
@@ -230,7 +231,6 @@
      } catch (error) {
        console.log(error)
      }
    });
  },
  // 教学资源 云学习 获取
@@ -329,8 +329,6 @@
  goBack() {
    wx.navigateBack();
  },
  async getBuyCmsItem() {
    let cmsItemData = null
    let query = {
@@ -389,7 +387,7 @@
        wx.hideLoading();
        wx.showModal({
          title: '温馨提示',
          content: '该资源未购买,将返回购买',
          content: '该资源未激活或购买,即将返回图书详情页面',
          success: (res) => {
            if (res.confirm) {
              if (this.data.source == 'qrcode') {
@@ -406,10 +404,8 @@
    } else {
      cmsItemData = dataList[0]
    }
    return cmsItemData
  },
  resourceDetailsData() {
    this.setData({
      videoLoading: true,
@@ -507,7 +503,6 @@
      })
    })
  },
  onVideo(e) {
    this.setPlayerList()
    const item = e.currentTarget.dataset.item