litian
2024-07-09 86cbb2a45a153a704bcc0d63697f83d2832caa71
packageBookService/pages/bookServices/detail/components/tree/index.js
@@ -208,6 +208,8 @@
        wx.navigateTo({
          url: `${url}?productLinkPath=${item.productLinkPath}&parentProductLinkPath=${parentProductLinkPath}&parentName=${parentName}&activeId=${item.id}&bookId=${this.properties.bookInfo.id}&bookName=${this.properties.bookInfo.name}&cmsId=${this.properties.bookInfo.rootCmsItemId}&formPath=${this.properties.tab}&applyState=${this.properties.applyState}&deadline=${this.properties.deadline}`,
        });
        // debugger
        if (item.selectType == "pdf" || item.selectType == "document") {
          const fileLink = item.file ? item.file : item.freeFile
          console.log(fileLink);
@@ -216,8 +218,7 @@
              fileLink +
              "&fileName=" +
              item.name +
              "&fileType=pdf" +
              "&bookBuy=true"
              "&fileType=pdf" + "&bookBuy=true"
          });
        }
        // if (item.selectType == "document") {