litian
2024-07-11 3f62d09217740b02d45bad3e6791916a9f11695c
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -87,7 +87,7 @@
      })
    }
    this.resourceDetailsData()
    this.getNoteList()
  },
  /**
@@ -173,12 +173,13 @@
  },
  onTabsChange(event) {
    console.log(event, 234)
    let tabValue = event.detail.value
    if (tabValue == '1') {
      this.getNoteList()
    }
  },
  onTabsClick(event) {
  },
  handleChange(e) {
    this.setData({
      activeValues: e.detail.value,
@@ -207,7 +208,8 @@
  },
  resourceDetailsData() {
    this.setData({
      videoLoaidng: true
      videoLoaidng: true,
      loading: true
    })
    let query = {
      storeInfo: this.data.storeInfo,
@@ -238,6 +240,9 @@
      res.datas.cmsDatas[0].datas.forEach((item) => {
        if (item.selectType === "video" || item.learnSelectType === "video") {
          this.data.threeLeveData.push(item)
          this.setData({
            threeLeveData: this.data.threeLeveData
          })
        }
      })
      this.data.threeLeveData.forEach((items, index) => { // 修改此处添加index参数
@@ -409,9 +414,9 @@
  },
  // 获取笔记列表
  async getNoteList() {
    // this.setData({
    //   loading: true
    // })
    this.setData({
      loading: true
    })
    let topicId
    await app.MG.ugc
      .getProductUserSubmitTopic({