Sfoglia il codice sorgente

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-student-table

zengyicheng 2 anni fa
parent
commit
6f9bcfa9eb

+ 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.4f04a0cd13632d1c446005ca6390887b.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.e0b99d2da8a8198154ec.js></script><script type=text/javascript src=./static/js/app.b5542c43928190edc056.js></script></body></html><script>document.domain = "cocorobo.cn"</script>
+    }</style><link href=./static/css/app.bd7097f0870f8c31a3d8aeac54fbe633.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.e0b99d2da8a8198154ec.js></script><script type=text/javascript src=./static/js/app.6c71b571ff4431c4915a.js></script></body></html><script>document.domain = "cocorobo.cn"</script>

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


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


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


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


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


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


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


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


+ 32 - 3
src/components/liveProjectDetail.vue

@@ -49,10 +49,12 @@
             class="video-player vjs-custom-skin"
             :playsinline="true"
             :options="playerO[0]"
+            ref="zVideo"
             @play="onPlayerPlay($event)"
             style="width: 100%; height: 100%"
           ></video-player>
         </div>
+        <div class="video_wrapper" v-if="videoBlock == 6"></div>
       </div>
       <div
         style="
@@ -1425,9 +1427,9 @@ export default {
             type: "success",
           });
           this.selectSWork();
-          if(this.tools[this.ppage - 1].tools.indexOf(12) != -1){
+          if (this.tools[this.ppage - 1].tools.indexOf(12) != -1) {
             this.pick();
-            this.isBlock = 0
+            this.isBlock = 0;
           }
         })
         .catch((err) => {
@@ -1777,11 +1779,28 @@ export default {
               res.data[0][0].handle &&
               JSON.parse(res.data[0][0].handle).type == 2 &&
               JSON.parse(res.data[0][0].handle).userid == this.userid &&
-              this.isBlock != 10 && 
+              this.isBlock != 10 &&
               this.tools[res.data[0][0].page - 1].tools.indexOf(12) != -1
             ) {
               this.dialogVisiblePick = true;
             }
+            // if (
+            //   res.data[0][0].handle &&
+            //   JSON.parse(res.data[0][0].handle).type == 1 &&
+            //   this.videoList.length
+            // ) {
+            //   let handle = JSON.parse(res.data[0][0].handle);
+            //   let a = this.$refs.zVideo;
+
+            //   if (handle.isPlay == 1) {
+            //     a.player.play();
+            //   } else if (handle.isPlay == 2) {
+            //     a.player.pause();
+            //   }
+            // } else if(this.$refs.zVideo){
+            //   this.$refs.zVideo.player.pause();
+            // }
+
             if (this.ppage == res.data[0][0].page && this.isBlock !== 0) {
               return;
             } else {
@@ -2391,4 +2410,14 @@ img {
 .tfalse {
   color: rgb(189, 30, 30) !important;
 }
+
+.video_wrapper {
+  width: 100%;
+  height: 100%;
+  position: absolute;
+  z-index: 99999;
+  background: #fff;
+  background: transparent;
+  top: 0;
+}
 </style>

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