yiming
2024-06-06 e72f509ca0728f571fcf652e1e60d7af970518cf
pages/digitalTextbooks/digitalTextbooksDetails/index.js
@@ -12,7 +12,7 @@
    isFavourite: true,
    richStyle: 'font-size: 28rpx;color: #333; line-height: 48rpx;text-align: justify;margin: 20rpx; ',
    briefIconClick: {
      name: "/static/images/bookService/detail/tushujianjie-click.png",
      name: "/static/images/bookService/detail/tushujianjie-g.png",
    },
    relatedBookData: [],
    publicationDate: '',
@@ -404,20 +404,22 @@
        duration: 1000,
      });
    }
  },
  // console.log(item, app.config.textReaderUrl);
  // console.log(token);
  goRead() {
    const item = this.data.digitalsData
    let token = wx.getStorageSync(app.config.tokenKey)
    console.log();
    const URL = app.config.textReaderUrl + '?bookId=' + item.refCode + "&tryPageCount=" + item.probationPage + "&token=" + token
    wx.navigateTo({
      url: '/pages/digitalTextbooks/digitalTextbooksDetails/components/webView/index?refCode=' + item.refCode + "&tryPageCount=" + item.probationPage
    });
  }
})