闫增涛
2024-09-04 bfdd1a936731cf9b5f0d2c78d363cbb0ec93d941
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -44,7 +44,8 @@
    videoError: false,
    videoLoading: false,
    progress: 0,
    playerList: []
    playerList: [],
    videoLoaidng: true
  },
  // 格式化笔记时间
  convertTimestamp(timestamp) {
@@ -87,7 +88,7 @@
      })
    }
    this.resourceDetailsData()
    this.getNoteList()
  },
  /**
@@ -173,12 +174,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 +209,8 @@
  },
  resourceDetailsData() {
    this.setData({
      videoLoaidng: true
      videoLoaidng: true,
      loading: true
    })
    let query = {
      storeInfo: this.data.storeInfo,
@@ -296,6 +299,7 @@
  },
  timeUpdate(e) {
    console.log(2);
    let {
      currentTime,
      duration
@@ -412,9 +416,9 @@
  },
  // 获取笔记列表
  async getNoteList() {
    // this.setData({
    //   loading: true
    // })
    this.setData({
      loading: true
    })
    let topicId
    await app.MG.ugc
      .getProductUserSubmitTopic({
@@ -595,6 +599,7 @@
    });
  },
  loadedmetadata(e) {
    console.log(1);
    this.setData({
      videoLoaidng: false
    })