litian
2025-03-17 450f52d277aef0d7cb5a4993850bc49e1b751829
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -59,7 +59,8 @@
    bookDetail: null,
    learnStartTime: 0,
    learnTimeList: [],
    learnTimeData: 0
    learnTimeData: 0,
    toView: 'activeName',
  },
  // 格式化笔记时间
  convertTimestamp(timestamp) {
@@ -449,6 +450,7 @@
              this.aliVod(items.file, this.data.showData)
            }
            let selectedIndex = index; // 存储选中项的索引
            console.log(selectedIndex, "selectedIndex")
            this.setData({
              selectedId: selectedIndex // 设置选中项的索引
            });
@@ -467,6 +469,7 @@
      this.setData({
        loading: false,
        hidden: false,
        toView: 'activeName' + this.data.selectedId,
      })
    })
  },