lsc 2 years ago
parent
commit
200fdefdd7

+ 1 - 1
dist/index.html

@@ -18,4 +18,4 @@
       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.fbb1800a327e9e14795b4237cbd96477.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.012023abf7091247f996.js></script><script type=text/javascript src=./static/js/app.9b21bfe490f3693eeea2.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+    }</style><link href=./static/css/app.ab13fdf218996d52024c46b1c2a40f50.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.5d42a5a824f61b8553ef.js></script><script type=text/javascript src=./static/js/app.54935b4f1e0ae28e8764.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.ab13fdf218996d52024c46b1c2a40f50.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.ab13fdf218996d52024c46b1c2a40f50.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.fbb1800a327e9e14795b4237cbd96477.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.54935b4f1e0ae28e8764.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.54935b4f1e0ae28e8764.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.9b21bfe490f3693eeea2.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.9b21bfe490f3693eeea2.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3ad1d5771e9b13dbdad2.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/vendor.5d42a5a824f61b8553ef.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/vendor.5d42a5a824f61b8553ef.js.map


+ 42 - 1
src/components/study.vue

@@ -283,6 +283,22 @@
                       style="width: 100%; height: 100%; overflow: auto"
                     ></pdf>
                   </div>
+                  <div
+                    class="wheel"
+                    v-if="showType == 4"
+                    style="
+                      height: 520px;
+                      width: 90%;
+                      margin: 0 0 20px 30px;
+                      overflow: auto;
+                    "
+                  >
+                    <el-image
+                      :src="pptImgUrl1"
+                      fit="cover"
+                      style="width: 100%"
+                    ></el-image>
+                  </div>
                 </div>
                 <!-- :class="
                     vedio[taskCount].length == 0 && file[taskCount].length == 0
@@ -2501,7 +2517,7 @@ export default {
             file.name.split(".")[0] +
             new Date().getTime() +
             "." +
-            file.name.split(".")[file.name.split(".").length-1],
+            file.name.split(".")[file.name.split(".").length - 1],
           ContentType: file.type,
           Body: file,
           "Access-Control-Allow-Credentials": "*",
@@ -2850,6 +2866,15 @@ export default {
                   ) {
                     this.showType = 3;
                     this.pptImgUrl1 = _url;
+                  } else if (
+                    this.isAssetTypeAnImage(
+                      _url
+                        .split(".")
+                        [_url.split(".").length - 1].toLocaleLowerCase()
+                    )
+                  ) {
+                    this.showType = 4;
+                    this.pptImgUrl1 = _url;
                   } else {
                     this.showType = 2;
                     this.pptImgUrl1 =
@@ -2881,6 +2906,15 @@ export default {
                   ) {
                     this.showType = 3;
                     this.pptImgUrl1 = _url;
+                  }else if (
+                    this.isAssetTypeAnImage(
+                      _url
+                        .split(".")
+                        [_url.split(".").length - 1].toLocaleLowerCase()
+                    )
+                  ) {
+                    this.showType = 4;
+                    this.pptImgUrl1 = _url;
                   } else {
                     this.showType = 2;
                     this.pptImgUrl1 =
@@ -3017,6 +3051,13 @@ export default {
           "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
         // this.dialogVisible3 = true;
         this.showType = 2;
+      } else if (
+        this.isAssetTypeAnImage(
+          f.url.split(".")[f.url.split(".").length - 1].toLocaleLowerCase()
+        )
+      ) {
+        this.showType = 4;
+        this.pptImgUrl1 = f.url;
       } else if (
         f.url.split(".")[f.url.split(".").length - 1].toLocaleUpperCase() ==
         "PDF"

Some files were not shown because too many files changed in this diff