闫增涛
2024-04-09 3d73fb33c46aada16a6060adcd4ea14bb33b6b2a
packagePersonal/pages/sampleBooks/index.js
@@ -9,8 +9,7 @@
    active: 0,
    topicIdOrRefCode: "applyEntityBook",
    active1: 0,
    tabList: [
      {
    tabList: [{
        label: '全部',
        value: 'all',
      },
@@ -51,7 +50,6 @@
        active: options.tabActive,
        active1: options.stateTab
      })
      console.log(this.data.active)
      if (this.data.active == '1') {
        this.setData({
          topicIdOrRefCode: 'applyBook',
@@ -95,7 +93,10 @@
    that.setData({
      skeletonLoding: true,
      active1: item.detail.value,
      queryFilter: info.value == 'all' ? [] : [{ field: 'State', value: info.value }],
      queryFilter: info.value == 'all' ? [] : [{
        field: 'State',
        value: info.value
      }],
      list: [],
      page: 1,
      bottomLoading: false,
@@ -152,6 +153,15 @@
    })
  },
  goBookDetails(e) {
    const {
      book
    } = e.currentTarget.dataset;
    wx.navigateTo({
      url: `/packageBookService/pages/bookServices/detail/index?id=${book.id}&name=${book.title}`,
    });
  },
  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */