|
@@ -224,7 +224,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="body_student":style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }">
|
|
|
+ <div class="body_student" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }">
|
|
|
<div class="new_topFixed" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }"></div>
|
|
|
<div class="new_top" :style="{width: mlDialog ? 'calc(100% - '+classRoomHelperWidth+' - 20% - 40px)' : 'calc(100% - '+classRoomHelperWidth+' - 10px)', left: mlDialog ? 'calc(20% + 35px)' : '10px' }">
|
|
|
<div class="courseIndex">
|
|
@@ -432,6 +432,8 @@
|
|
|
.toolChoose[0].tool.length == 0 &&
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
.taskDetail == '' &&
|
|
|
+ !chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
+ .taskDetail3 &&
|
|
|
!chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
.eList &&
|
|
|
!(
|
|
@@ -447,6 +449,8 @@
|
|
|
<div
|
|
|
class="vedioBox"
|
|
|
v-if="
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
+ .taskDetail3 ||
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
.taskDetail != '' ||
|
|
|
vChapterData[0].length > 0 ||
|
|
@@ -454,6 +458,44 @@
|
|
|
"
|
|
|
style="border-radius: 0 0 20px 20px"
|
|
|
>
|
|
|
+ <div
|
|
|
+ class="taskBox"
|
|
|
+ v-if="
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
+ .taskDetail3
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: nowrap;
|
|
|
+ flex-direction: column;
|
|
|
+ position: relative;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <div
|
|
|
+ style="
|
|
|
+ padding: 15px 0;
|
|
|
+ line-height: 29px;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #0e1e33;
|
|
|
+ "
|
|
|
+ class="cont"
|
|
|
+ v-if="
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
+ .taskDetail3 != ''
|
|
|
+ "
|
|
|
+ v-html="
|
|
|
+ chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
|
|
|
+ .taskDetail3
|
|
|
+ ? MarkdownT(chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
|
+ taskCount
|
|
|
+ ].taskDetail3)
|
|
|
+ : '暂无描述'
|
|
|
+ "
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div
|
|
|
class="taskBox"
|
|
|
v-if="
|
|
@@ -11896,6 +11938,7 @@ import correctText from '../components/correctText.vue'
|
|
|
import scoreItem from '../scoreList/scoreItem.vue'
|
|
|
import scoreZong from '../scoreZong/index.vue'
|
|
|
import classRoomHelper from '../classRoomHelper/index.vue'
|
|
|
+import MarkdownIt from "markdown-it";
|
|
|
|
|
|
const getFile = (url) => {
|
|
|
return new Promise((resolve, reject) => {
|
|
@@ -19913,6 +19956,13 @@ export default {
|
|
|
.replaceAll(/\s/g, "  ")
|
|
|
: "";
|
|
|
};
|
|
|
+ },
|
|
|
+ MarkdownT() {
|
|
|
+ return function (c) {
|
|
|
+ let md = new MarkdownIt();
|
|
|
+ return c
|
|
|
+ ? md.render(c) : "";
|
|
|
+ };
|
|
|
},
|
|
|
commentRight(){
|
|
|
if(!this.orgArray.includes(this.org) && !this.oidArray.includes(this.oid)){
|