lsc hai 1 ano
pai
achega
aa25927f1b

+ 1 - 1
dist/index.html

@@ -18,7 +18,7 @@
       border-radius: 10px;
       -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
       background-color: rgba(0, 0, 0, 0.1);
-    }</style><link href=./static/css/app.538615651ba7163a3c7b1e82ebee5ee3.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.99a913bcc02dad4e392a.js></script><script type=text/javascript src=./static/js/app.e45a342d164ae6976315.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.a8204c409873ee563bf19bb1822719a9.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.99a913bcc02dad4e392a.js></script><script type=text/javascript src=./static/js/app.cb19951c9c0195d10567.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/css/app.a8204c409873ee563bf19bb1822719a9.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/css/app.a8204c409873ee563bf19bb1822719a9.css.map


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/js/app.cb19951c9c0195d10567.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/js/app.cb19951c9c0195d10567.js.map


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/js/app.e45a342d164ae6976315.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


+ 4 - 4
src/components/GM/studyStudentGM.vue

@@ -3476,7 +3476,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -3518,7 +3518,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -5275,7 +5275,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (
@@ -5306,7 +5306,7 @@ export default {
         ) != -1
       ) {
         this.pptImgUrl1 =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
         // this.dialogVisible3 = true;
         this.showType = 2;
       } else if (

+ 1 - 1
src/components/GM/worksGM.vue

@@ -946,7 +946,7 @@ export default {
                 ) {
                   var a =
                     "https://view.officeapps.live.com/op/view.aspx?src=" +
-                    pptInfo[i].content;
+                    encodeURIComponent(pptInfo[i].content);
                   workJson[k].wpptInfo.push(a);
                   this.showPDF = false;
                 } else if (

+ 1 - 1
src/components/components/vpdf.vue

@@ -10,7 +10,7 @@
       </pdf>
     </div> -->
     <iframe ref="viframe" style="width: 100%; height: 99%; border: none"
-      :src="'https://cloud.cocorobo.cn/pdf.js/web/viewer.html?file=' + pdfUrl"></iframe>
+      :src="'https://cloud.cocorobo.cn/pdf.js/web/viewer.html?file=' + encodeURIComponent(pdfUrl)"></iframe>
     <!-- <div class="rightArea">
       <div class="toolGroup">
         <div class="page">第 {{ page }} / {{ numPages }} 页</div>

+ 1 - 1
src/components/components/worksDetail2.vue

@@ -898,7 +898,7 @@ export default {
                 ) {
                   var a =
                     "https://view.officeapps.live.com/op/view.aspx?src=" +
-                    pptInfo[i].content;
+                    encodeURIComponent(pptInfo[i].content);
                   workJson[k].wpptInfo.push(a);
                   this.showPDF = false;
                 } else if (

+ 2 - 2
src/components/courseDetail.vue

@@ -1083,7 +1083,7 @@ const getFile = (url) => {
         _url2 = url2;
       }
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name
@@ -2455,7 +2455,7 @@ export default {
 }
 
 .sLeft {
-  width: 350px;
+  width: 343px;
   margin-right: 10px;
   background: rgb(255, 255, 255);
   padding: 20px 20px 0 20px;

+ 6 - 6
src/components/easy/studyStudent.vue

@@ -3785,7 +3785,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -3834,7 +3834,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -5240,7 +5240,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                     this.isClickNav = "word0";
                   }
                 } else if (
@@ -5393,7 +5393,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                     this.isClickNav = "word0";
                   }
                 } else if (
@@ -5917,7 +5917,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (
@@ -5958,7 +5958,7 @@ export default {
         ) != -1
       ) {
         this.pptImgUrl1 =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
         // this.dialogVisible3 = true;
         this.showType = 2;
       } else if (

+ 8 - 8
src/components/easy2/studyStudent jiu.vue

@@ -13502,7 +13502,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -13551,7 +13551,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -15706,7 +15706,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[this.taskCount][0].type == 13) {
                   this.showType = 4;
@@ -15859,7 +15859,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[this.taskCount][0].type == 13) {
                   this.showType = 4;
@@ -16505,7 +16505,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (
@@ -16553,7 +16553,7 @@ export default {
         ) != -1
       ) {
         this.pptImgUrl1 =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
         // this.dialogVisible3 = true;
         this.showType = 2;
       } else if (
@@ -17802,7 +17802,7 @@ export default {
       } else if (t == 3) {
         this.fulltype = 2;
         this.fullUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
       }
     },
     openSname(n, id, i, uid) {
@@ -17950,7 +17950,7 @@ export default {
         // a.remove();
         let content = x.response;
         let elink = document.createElement("a");
-        elink.download = decodeURI(
+        elink.download = decodeURIComponent(
           _url.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1]
         );
         elink.style.display = "none";

+ 10 - 10
src/components/easy2/studyStudent.vue

@@ -11538,7 +11538,7 @@ const getFile = (url) => {
         _url2 = url2;
       }
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name
@@ -13529,7 +13529,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -13578,7 +13578,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -15845,7 +15845,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[this.taskCount][0].type == 13) {
                   this.showType = 4;
@@ -15987,7 +15987,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[this.taskCount][0].type == 13) {
                   this.showType = 4;
@@ -16719,7 +16719,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (
@@ -16770,7 +16770,7 @@ export default {
         ) != -1
       ) {
         this.pptImgUrl1 =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
         // this.dialogVisible3 = true;
         this.showType = 2;
       } else if (
@@ -18064,7 +18064,7 @@ export default {
       } else if (t == 3) {
         this.fulltype = 2;
         this.fullUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
       }
     },
     openSname(n, id, i, uid) {
@@ -18169,7 +18169,7 @@ export default {
 
       _this.downLoading = true
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name
@@ -18246,7 +18246,7 @@ export default {
         text: "文件加载中...",
       });
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name

+ 10 - 10
src/components/easy3/studyStudent.vue

@@ -11525,7 +11525,7 @@ const getFile = (url) => {
         _url2 = url2;
       }
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name
@@ -13518,7 +13518,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -13567,7 +13567,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -15835,7 +15835,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[taskCount][0].type == 13) {
                   this.showType = 4;
@@ -15979,7 +15979,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[taskCount][0].type == 13) {
                   this.showType = 4;
@@ -16711,7 +16711,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (
@@ -16762,7 +16762,7 @@ export default {
         ) != -1
       ) {
         this.pptImgUrl1 =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
         // this.dialogVisible3 = true;
         this.showType = 2;
       } else if (
@@ -18057,7 +18057,7 @@ export default {
       } else if (t == 3) {
         this.fulltype = 2;
         this.fullUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
       }
     },
     openSname(n, id, i, uid) {
@@ -18162,7 +18162,7 @@ export default {
 
       _this.downLoading = true
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name
@@ -18239,7 +18239,7 @@ export default {
         text: "文件加载中...",
       });
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name

+ 1 - 1
src/components/liveProjectDetail.vue

@@ -1625,7 +1625,7 @@ export default {
       }
     },
     openFile(u) {
-      this.pptImgUrl = "https://view.officeapps.live.com/op/view.aspx?src=" + u;
+      this.pptImgUrl = "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(u);
       this.isBlock = 7;
     },
     playVideo() {

+ 1 - 1
src/components/liveProjectDetailKH.vue

@@ -1625,7 +1625,7 @@ export default {
       }
     },
     openFile(u) {
-      this.pptImgUrl = "https://view.officeapps.live.com/op/view.aspx?src=" + u;
+      this.pptImgUrl = "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(u);
       this.isBlock = 7;
     },
     playVideo() {

+ 2 - 2
src/components/student/studyStudent.vue

@@ -1868,7 +1868,7 @@ export default {
                 } else if (this.chapterlist[k].type == 3) {
                   this.chapterlist[k].src =
                     "https://view.officeapps.live.com/op/view.aspx?src=" +
-                    this.chapterlist[k].url;
+                    encodeURIComponent(this.chapterlist[k].url);
                 } else if (this.chapterlist[k].type == 6) {
                   this.chapterlist[k].name += ".doc";
                 } else if (this.chapterlist[k].type == 8) {
@@ -2759,7 +2759,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (

+ 2 - 2
src/components/studio/studyStudent.vue

@@ -1854,7 +1854,7 @@ export default {
                 } else if (this.chapterlist[k].type == 3) {
                   this.chapterlist[k].src =
                     "https://view.officeapps.live.com/op/view.aspx?src=" +
-                    this.chapterlist[k].url;
+                    encodeURIComponent(this.chapterlist[k].url);
                 } else if (this.chapterlist[k].type == 6) {
                   this.chapterlist[k].name += ".doc";
                 } else if (this.chapterlist[k].type == 8) {
@@ -2736,7 +2736,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (

+ 4 - 4
src/components/study.vue

@@ -3807,7 +3807,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -4775,7 +4775,7 @@ export default {
                       this.showType[i][j] = 2;
                       this.pptImgUrl1[i][j] =
                         "https://view.officeapps.live.com/op/view.aspx?src=" +
-                        _url;
+                        encodeURIComponent(_url);
                       this.isClickNavOne[i][j][0] = "word0";
                     }
                   } else if (f[j].chapterData[0].type == 6) {
@@ -4959,7 +4959,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (
@@ -4990,7 +4990,7 @@ export default {
         ) != -1
       ) {
         this.pptImgUrl1[j][k] =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
         // this.dialogVisible3 = true;
         this.showType[j][k] = 2;
       } else if (

+ 10 - 10
src/components/studyStudent.vue

@@ -11510,7 +11510,7 @@ const getFile = (url) => {
         _url2 = url2;
       }
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name
@@ -13498,7 +13498,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -13547,7 +13547,7 @@ export default {
           ) != -1
         ) {
           this.pptImgUrl =
-            "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
+            "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
           this.showPDF = false;
         } else if (
           w.works
@@ -15819,7 +15819,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[this.taskCount][0].type == 13) {
                   this.showType = 4;
@@ -15961,7 +15961,7 @@ export default {
                     this.showType = 2;
                     this.pptImgUrl1 =
                       "https://view.officeapps.live.com/op/view.aspx?src=" +
-                      _url;
+                      encodeURIComponent(_url);
                   }
                 } else if (_chapterData[this.taskCount][0].type == 13) {
                   this.showType = 4;
@@ -16693,7 +16693,7 @@ export default {
         -1
       ) {
         this.pptImgUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
         this.showPDF = false;
         this.dialogVisible3 = true;
       } else if (
@@ -16744,7 +16744,7 @@ export default {
         ) != -1
       ) {
         this.pptImgUrl1 =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
         // this.dialogVisible3 = true;
         this.showType = 2;
       } else if (
@@ -18038,7 +18038,7 @@ export default {
       } else if (t == 3) {
         this.fulltype = 2;
         this.fullUrl =
-          "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
+          "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
       }
     },
     openSname(n, id, i, uid) {
@@ -18145,7 +18145,7 @@ export default {
 
       _this.downLoading = true
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name
@@ -18216,7 +18216,7 @@ export default {
         text: "文件加载中...",
       });
       var s3 = new window.AWS.S3({ params: { Bucket: "ccrb" } });
-      let name = decodeURI(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
+      let name = decodeURIComponent(_url2.split("https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/")[1])
       var params = {
         Bucket: "ccrb",
         Key: name

+ 1 - 1
src/components/works.vue

@@ -760,7 +760,7 @@ export default {
                 ) {
                   var a =
                     "https://view.officeapps.live.com/op/view.aspx?src=" +
-                    pptInfo[i].content;
+                    encodeURIComponent(pptInfo[i].content);
                   workJson[k].wpptInfo.push(a);
                   this.showPDF = false;
                 } else if (

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio