litian
2024-03-27 ccf200b60ad213343a13d36c17c5ee5ac5cd7b7a
packagePersonal/pages/myCollection/index.js
@@ -7,8 +7,7 @@
  data: {
    active: 0,
    activeName: "FavoriteBookCity",
    tabList: [
      {
    tabList: [{
        label: '图书',
        key: 0,
        linkType: 'FavoriteBookCity',
@@ -48,7 +47,6 @@
  },
  tabBookClick(item) {
    console.log(item, 1)
    let that = this;
    let info = this.data.tabList[item.detail.value]
    that.setData({
@@ -92,6 +90,7 @@
          })
        } else {
          this.setData({
            list: [],
            skeletonLoding: false,
            loading: false
          })
@@ -167,7 +166,7 @@
                icon: 'success',
                duration: 1000,
              })
              this.getDataList(false)
              that.getDataList(false)
            });
        } else if (res.cancel) {
          console.log('用户点击了取消')
@@ -176,7 +175,9 @@
    })
  },
  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}`,
    });