yiming
2024-03-15 7231b5929a66bb1ec3b832be85f5e3f6ce40ad9f
pages/resourceDetails/myVideo/index.js
@@ -65,7 +65,8 @@
      cmsId: options.cmsId,
      parentName: options.parentName,
      parentProductLinkPath: options.parentProductLinkPath,
      productLinkPath: options.productLinkPath
      productLinkPath: options.productLinkPath,
      flag: false
    })
    this.resourceDetailsData()
@@ -126,7 +127,8 @@
  onTabsClick(event) {
  }, handleChange(e) {
  },
  handleChange(e) {
    this.setData({
      activeValues: e.detail.value,
    });
@@ -148,15 +150,15 @@
  closeDialog() {
    this.setData({
      dialogKey: false
      dialogKey: false,
      textvalue: '',
      flag: false
    });
  },
  goBack() {
    wx.navigateBack();
  },
  resourceDetailsData() {
    let query = {
      path: '*',
      queryType: '*',
@@ -189,13 +191,15 @@
          this.setData({
            threeLeveData: this.data.threeLeveData
          })
          if (this.data.productLinkPath == item.productLinkPath) {
            this.setData({
              showData: app.config.requestCtx + '/file/api/ApiDownload?md5=' + item.file,
              titleName: item.name
            })
          }
        }
        if (this.data.productLinkPath == item.productLinkPath) {
          this.setData({
            showData: app.config.requestCtx + '/file/api/ApiDownload?md5=' + item.file,
            titleName: item.name
          })
        }
      })
      this.data.threeLeveData.forEach((item) => {
@@ -258,7 +262,6 @@
    console.log(e.currentTarget.dataset.value);
    this.setData({
      flag: e.currentTarget.dataset.value
    })
  },
  // 标题输入框值