|  | @@ -339,18 +339,18 @@ export default {
 | 
	
		
			
				|  |  |              this.data.fileType = this.data.tag[this.data.tag.length - 1];
 | 
	
		
			
				|  |  |              this.attachment = JSON.parse(res.data.result.attachment);
 | 
	
		
			
				|  |  |              this.loading = false;
 | 
	
		
			
				|  |  | -            if (
 | 
	
		
			
				|  |  | -              this.attachment[0].fileType == "pdf" ||
 | 
	
		
			
				|  |  | -              this.attachment[0].fileType == "PDF"
 | 
	
		
			
				|  |  | -            ) {
 | 
	
		
			
				|  |  | -              // this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | -              //   process.env.VUE_APP_BASE_API + this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | -              this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | -                process.env.VUE_APP_BASE_API +
 | 
	
		
			
				|  |  | -                this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | -              console.log(this.attachment[0].fileRelativePath);
 | 
	
		
			
				|  |  | -              this.getNumPages();
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            // if (
 | 
	
		
			
				|  |  | +            //   this.attachment[0].fileType == "pdf" ||
 | 
	
		
			
				|  |  | +            //   this.attachment[0].fileType == "PDF"
 | 
	
		
			
				|  |  | +            // ) {
 | 
	
		
			
				|  |  | +            //   // this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | +            //   //   process.env.VUE_APP_BASE_API + this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | +            //   this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | +            //     process.env.VUE_APP_BASE_API +
 | 
	
		
			
				|  |  | +            //     this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | +            //   console.log(this.attachment[0].fileRelativePath);
 | 
	
		
			
				|  |  | +            //   this.getNumPages();
 | 
	
		
			
				|  |  | +            // }
 | 
	
		
			
				|  |  |              this.changePrice(this.data.price * 1, 24, 16);
 | 
	
		
			
				|  |  |              this.goods_detail_type = this.getimgurl(this.data);
 | 
	
		
			
				|  |  |              // 3000的
 | 
	
	
		
			
				|  | @@ -369,7 +369,6 @@ export default {
 | 
	
		
			
				|  |  |                `http://docpreview.utschool.cn/onlinePreview?url=` +
 | 
	
		
			
				|  |  |                Base64.encode(this.attachment[0].fileUrlHttps);
 | 
	
		
			
				|  |  |              this.attachment[0].newpath = path;
 | 
	
		
			
				|  |  | -            // window.open(this.attachment[0].newpath);
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          .catch((res) => {
 | 
	
	
		
			
				|  | @@ -399,19 +398,23 @@ export default {
 | 
	
		
			
				|  |  |              });
 | 
	
		
			
				|  |  |              this.data.fileType = this.data.tag[this.data.tag.length - 1];
 | 
	
		
			
				|  |  |              this.attachment = JSON.parse(res.data.result.attachment);
 | 
	
		
			
				|  |  | +            let path =
 | 
	
		
			
				|  |  | +              `http://docpreview.utschool.cn/onlinePreview?url=` +
 | 
	
		
			
				|  |  | +              Base64.encode(this.attachment[0].fileUrlHttps);
 | 
	
		
			
				|  |  | +            this.attachment[0].newpath = path;
 | 
	
		
			
				|  |  |              this.loading = false;
 | 
	
		
			
				|  |  | -            if (
 | 
	
		
			
				|  |  | -              this.attachment[0].fileType == "pdf" ||
 | 
	
		
			
				|  |  | -              this.attachment[0].fileType == "PDF"
 | 
	
		
			
				|  |  | -            ) {
 | 
	
		
			
				|  |  | -              // this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | -              //   process.env.VUE_APP_BASE_API + this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | -              this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | -                process.env.VUE_APP_BASE_API +
 | 
	
		
			
				|  |  | -                this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | -              console.log(this.attachment[0].fileRelativePath);
 | 
	
		
			
				|  |  | -              this.getNumPages();
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            // if (
 | 
	
		
			
				|  |  | +            //   this.attachment[0].fileType == "pdf" ||
 | 
	
		
			
				|  |  | +            //   this.attachment[0].fileType == "PDF"
 | 
	
		
			
				|  |  | +            // ) {
 | 
	
		
			
				|  |  | +            //   // this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | +            //   //   process.env.VUE_APP_BASE_API + this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | +            //   this.attachment[0].fileRelativePath =
 | 
	
		
			
				|  |  | +            //     process.env.VUE_APP_BASE_API +
 | 
	
		
			
				|  |  | +            //     this.attachment[0].fileRelativePath;
 | 
	
		
			
				|  |  | +            //   console.log(this.attachment[0].fileRelativePath);
 | 
	
		
			
				|  |  | +            //   this.getNumPages();
 | 
	
		
			
				|  |  | +            // }
 | 
	
		
			
				|  |  |              this.changePrice(this.data.price * 1, 24, 16);
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          })
 |