|
@@ -283,7 +283,7 @@
|
|
|
' - 20% - 47px)'
|
|
|
: 'calc(100% - ' +
|
|
|
`${!['2'].includes(tType) ? classRoomHelperWidth : '10px'}` +
|
|
|
- ' - 10px)',
|
|
|
+ ' - 18px)',
|
|
|
left: mlDialog ? 'calc(20% + 35px)' : '10px'
|
|
|
}"
|
|
|
>
|
|
@@ -15477,6 +15477,27 @@
|
|
|
@openScore="openScore"
|
|
|
@changeSplitScreenBehavior="changeSplitScreenBehavior"
|
|
|
/>
|
|
|
+ <el-dialog
|
|
|
+ :visible.sync="confirmOpenDig"
|
|
|
+ width="500px"
|
|
|
+ :modal="false"
|
|
|
+ class="confirmOpenDigCss dialog_diyCopy"
|
|
|
+ :before-close="handleClose">
|
|
|
+ <div style="display: flex;align-items: center;">
|
|
|
+ <img src="../../assets/icon/course/confirmOpenDig.svg" alt="">
|
|
|
+ <span>“{{ courseDetail.title }}”开课啦</span>
|
|
|
+ </div>
|
|
|
+ <div style="margin: 20px 0 35px;">
|
|
|
+ <div style="margin-bottom: 10px;">接下来你将跟随老师一起开始今天的学习! </div>
|
|
|
+ <div>要认真听讲哦~</div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div style="text-align: center;">
|
|
|
+ <el-button type="primary" style="width: 95%;" @click="confirmOpen">开始学习</el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -16010,7 +16031,9 @@ export default {
|
|
|
myUid: "",
|
|
|
loading: false,
|
|
|
behavior: null
|
|
|
- }
|
|
|
+ },
|
|
|
+ confirmOpenDig:false,
|
|
|
+ confirmOpenDigData:''
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -16930,19 +16953,6 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
- // this.changeSplitScreenBehavior({
|
|
|
- // code: 1,
|
|
|
- // form: {
|
|
|
- // toolType:tooc,
|
|
|
- // toolIndex: toolIndex,
|
|
|
- // courseType: this.courseType,
|
|
|
- // taskCount: this.taskCount,
|
|
|
- // type: 2
|
|
|
- // }
|
|
|
- // });
|
|
|
-
|
|
|
- // var b = this.$refs["bz" + k][0];
|
|
|
- // a.scrollTop = b.offsetTop;
|
|
|
},
|
|
|
addTools2(i) {
|
|
|
if (i == 4) {
|
|
@@ -24625,6 +24635,15 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ confirmOpen(){
|
|
|
+ this.splitScreenData.isOpen = true;
|
|
|
+ this.splitScreenData.uid = this.confirmOpenDigData.uid;
|
|
|
+ this.splitScreenData.userId = this.confirmOpenDigData.userId;
|
|
|
+ this.splitScreenData.behavior = this.confirmOpenDigData.behavior;
|
|
|
+ this.confirmOpenDig = false
|
|
|
+
|
|
|
+ this.$message.success("分屏模式已开启");
|
|
|
+ },
|
|
|
getSplitScreenData() {
|
|
|
// return;
|
|
|
if (this.tType != 1) return;
|
|
@@ -24649,11 +24668,9 @@ export default {
|
|
|
this.splitScreenData.behavior = null;
|
|
|
await this.updateSplitScreenData(1);
|
|
|
} else if (!this.splitScreenData.isOpen && data.isOpen) {
|
|
|
- this.splitScreenData.isOpen = true;
|
|
|
- this.splitScreenData.uid = data.uid;
|
|
|
- this.splitScreenData.userId = data.userId;
|
|
|
- this.splitScreenData.behavior = data.behavior;
|
|
|
- this.$message.success("分屏模式已开启");
|
|
|
+ this.confirmOpenDig = true
|
|
|
+ this.confirmOpenDigData = data
|
|
|
+
|
|
|
} else if (this.splitScreenData.isOpen && !data.isOpen) {
|
|
|
this.splitScreenData.isOpen = false;
|
|
|
this.splitScreenData.userId = "";
|
|
@@ -25292,6 +25309,7 @@ export default {
|
|
|
height: auto;
|
|
|
padding-bottom: 20px;
|
|
|
margin-left: 2px;
|
|
|
+ min-height: 90%;
|
|
|
}
|
|
|
|
|
|
.study_top .checkbox {
|
|
@@ -26184,6 +26202,21 @@ export default {
|
|
|
height: 100% !important;
|
|
|
}
|
|
|
|
|
|
+.confirmOpenDigCss > div{
|
|
|
+ font-size: 14px;
|
|
|
+ color: rgba(0, 0, 0, 0.6);
|
|
|
+}
|
|
|
+.confirmOpenDigCss >>> .el-dialog{
|
|
|
+ border-radius: 6px;
|
|
|
+}
|
|
|
+.confirmOpenDigCss >>> .el-dialog__body{
|
|
|
+ padding: 25px !important;
|
|
|
+}
|
|
|
+.confirmOpenDigCss > span{
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: 600;
|
|
|
+ color: rgba(0, 0, 0, 0.8);
|
|
|
+}
|
|
|
.dialog_diy >>> .el-dialog__header,
|
|
|
.dialog_diy1 >>> .el-dialog__header {
|
|
|
background: #454545 !important;
|