闫增涛
2024-04-30 dc934dfd63fecff84d0bf996418e041b9bd4ea59
packageBookService/pages/components/webView/index.js
@@ -32,7 +32,6 @@
        src: ''
      })
      if (options) {
        console.log(options)
        wx.setNavigationBarTitle({
          title: options.fileName,
          skeletonLoding: true
@@ -75,7 +74,7 @@
          "&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,
@@ -96,12 +95,10 @@
            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,
          })
        }
      })
    }