Browse Source

修改样式

zengyicheng 2 years ago
parent
commit
55f93d5bd9

+ 1 - 1
dist/index.html

@@ -1 +1 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.c5c5d71c025aef74163de353b461ce30.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.17ca74dd45d81e40ec58.js></script><script type=text/javascript src=./static/js/app.b3ed9a768bda392338a9.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>pbl-student</title><link href=./static/css/app.53712b898559592f4e11d4b5b057bb66.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.17ca74dd45d81e40ec58.js></script><script type=text/javascript src=./static/js/app.39417baa1cab69d6173d.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

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


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


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


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


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


+ 10 - 8
src/components/liveProjectDetail.vue

@@ -814,8 +814,7 @@
         确定
       </div>
     </el-dialog>
-    <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox">
-    </div>
+    <div v-html="iframeInnerHtml" ref="iframeIh" class="iframeBox"></div>
   </div>
 </template>
 
@@ -828,7 +827,7 @@ export default {
   },
   data() {
     return {
-      iframeInnerHtml:"",
+      iframeInnerHtml: "",
       pdfUrl:
         "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/0629%E5%AE%9E%E6%97%B6%E8%AF%BE%E5%A0%82%E6%A8%A1%E6%8B%9F%E6%BC%94%E7%A4%BA%E8%AF%BE%E4%BB%B61656920880446.pdf",
       ppage: 2,
@@ -1218,7 +1217,7 @@ export default {
       iframeBody = iframeHtml.contentWindow.document.body;
       this.iframeInnerHtml = iframeBody.innerHTML;
       var iframeIh = this.$refs.iframeIh;
-      iframeIh.innerHTML = this.iframeInnerHtml
+      iframeIh.innerHTML = this.iframeInnerHtml;
       this.$forceUpdate();
       console.log(iframeIh);
       // var iframeHtml = this.$refs.whiteBoard;
@@ -1767,9 +1766,12 @@ img {
 .toolImg > div {
   font-size: 14px;
 }
-.iframeBox{
-      position: absolute;
-    top: 0;
-    z-index: -2;
+.iframeBox {
+  overflow: auto;
+  position: absolute;
+  top: 0;
+  z-index: -2;
+  width: 100%;
+  height: 100%;
 }
 </style>

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