闫增涛
2024-04-11 78068d49c20a8b90db902d955f558af507eb8b96
packagePersonal/pages/downloads/index.js
@@ -29,15 +29,15 @@
  getDataList(isReachBottom) {
    app.MG.ugc.getTopicMessageList({
      appRefCode: app.config.appRefCode,
      topicIdOrRefCode: "productDownLoad",
      start: this.data.page * this.data.limit - this.data.limit,
      size: this.data.limit,
      sort: {
        type: "Desc",
        field: "CreateDate"
      }
    })
        appRefCode: app.config.appRefCode,
        topicIdOrRefCode: "productDownLoad",
        start: this.data.page * this.data.limit - this.data.limit,
        size: this.data.limit,
        sort: {
          type: "Desc",
          field: "CreateDate"
        }
      })
      .then(res => {
        try {
          if (res.datas.length > 0) {
@@ -67,6 +67,8 @@
            })
          } else {
            this.setData({
              list: [],
              pageTotalCount: 0,
              skeletonLoding: false,
            })
          }
@@ -77,9 +79,11 @@
  },
  goBookDetails(e) {
    const { book } = e.currentTarget.dataset;
    const {
      book
    } = e.currentTarget.dataset;
    wx.navigateTo({
      url: `/packageBookService/pages/bookServices/detail/index?id=${book.id}&name=${book.name}`,
      url: `/packageBookService/pages/bookServices/detail/index?id=${book.product.id}&name=${book.name}`,
    });
  },