Browse Source

查看文件全屏的问题

SanHQin 2 months ago
parent
commit
3e60859580

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

@@ -23314,7 +23314,7 @@ export default {
           "https://view.officeapps.live.com/op/view.aspx?src=" +
           encodeURIComponent(_uuurl);
       }
-      this.changeSplitScreenBehavior({ code: 0, form: [t, f] });
+      this.changeSplitScreenBehavior({code:0,form:{t:t,f:f}})
     },
     openSname(n, id, i, uid) {
       this.snameWid = id;
@@ -24671,7 +24671,7 @@ export default {
 						}
           } else if (behavior.code === 0) {
             //开启内容列表弹窗
-            this.checkFileFull1(behavior.form[0], behavior.form[1]);
+            this.checkFileFull1(behavior.form.t, behavior.form.f);
           } else if (behavior.code === 1) {
             //关于选择题的作业详细的操作
             // toolIndex:toolIndex,courseType:this.courseType,taskCount:this.taskCount,type:0

+ 3 - 2
src/components/easy3/studyStudent.vue

@@ -12942,6 +12942,7 @@ export default {
         this.videoDetail.sources[0].src = "";
       }
       this.commentIndexJson = {};
+      this.changeSplitScreenBehavior({code:99})
       done();
     },
     fullTools() {
@@ -18982,7 +18983,7 @@ export default {
         this.fullUrl =
           "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(_uuurl);
       }
-			this.changeSplitScreenBehavior({code:0,form:[t,f]})
+			this.changeSplitScreenBehavior({code:0,form:{t:t,f:f}})
     },
     openSname(n, id, i, uid) {
       this.snameWid = id;
@@ -20291,7 +20292,7 @@ export default {
 						}
           } else if (behavior.code === 0) {
             //开启内容列表弹窗
-            this.checkFileFull1(behavior.form[0], behavior.form[1]);
+            this.checkFileFull1(behavior.form.t, behavior.form.f);
           } else if (behavior.code === 1) {
             //关于选择题的作业详细的操作
             // toolIndex:toolIndex,courseType:this.courseType,taskCount:this.taskCount,type:0

+ 2 - 2
src/components/studyStudent.vue

@@ -18973,7 +18973,7 @@ export default {
         this.fullUrl =
           "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(_uuurl);
       }
-			this.changeSplitScreenBehavior({code:0,form:[t,f]})
+			this.changeSplitScreenBehavior({code:0,form:{t:t,f:f}})
 		},
     openSname(n, id, i, uid) {
       this.snameWid = id;
@@ -20279,7 +20279,7 @@ export default {
 						}
           } else if (behavior.code === 0) {
             //开启内容列表弹窗
-            this.checkFileFull1(behavior.form[0], behavior.form[1]);
+            this.checkFileFull1(behavior.form.t, behavior.form.f);
           } else if (behavior.code === 1) {
             //关于选择题的作业详细的操作
             // toolIndex:toolIndex,courseType:this.courseType,taskCount:this.taskCount,type:0