| | |
| | | src: '' |
| | | }) |
| | | if (options) { |
| | | console.log(options) |
| | | wx.setNavigationBarTitle({ |
| | | title: options.fileName, |
| | | skeletonLoding: true |
| | |
| | | "&token=" + |
| | | wx.getStorageSync(app.config.tokenKey) + |
| | | "&recordLocation=" + |
| | | that.data.currentPage + "&freeEpubPage=" + data.freePage |
| | | that.data.currentPage + "&isPreview=true&freeEpubPage=" + data.freePage |
| | | } |
| | | that.setData({ |
| | | src: url, |
| | |
| | | const src = app.config.requestCtx + '/file/GetPdfPageImage?md5=' + data.md5 + '&index=' + (i + 1) + '&dpi=300' |
| | | list.push(src) |
| | | } |
| | | console.log(list) |
| | | that.setData({ |
| | | pdfList: list, |
| | | skeletonLoding: false, |
| | | }) |
| | | |
| | | } |
| | | }) |
| | | } |