|
@@ -11080,12 +11080,14 @@
|
|
|
<div class="cont" v-html="commentDetail.works.text"></div>
|
|
|
</div>
|
|
|
<div
|
|
|
- class="worksAnswer codeFileBox"
|
|
|
v-if="commentDetail.works && commentDetail.type == 12"
|
|
|
- @click="downloadFile(commentDetail.works)"
|
|
|
>
|
|
|
- <img src="../../assets/icon/codeFile.png" />
|
|
|
- <div>点击下载文件</div>
|
|
|
+ <!-- class="worksAnswer codeFileBox" -->
|
|
|
+ <!-- @click="downloadFile(commentDetail.works)" -->
|
|
|
+
|
|
|
+ <!-- <img src="../../assets/icon/codeFile.png" />
|
|
|
+ <div>点击下载文件</div> -->
|
|
|
+ <div style="margin-top: 15px;" v-html="commentDetail.works"></div>
|
|
|
</div>
|
|
|
<div
|
|
|
class="worksAnswer codeFileBox"
|
|
@@ -13825,7 +13827,8 @@ export default {
|
|
|
dialogVisibleTxt:false,
|
|
|
TxtMd :'',
|
|
|
languageSetting: 0, //0中文 1繁体 2英文
|
|
|
- toolListS:[]
|
|
|
+ toolListS:[],
|
|
|
+ commentDetailCopy:''
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -16113,10 +16116,19 @@ export default {
|
|
|
wIndex: wIndex,
|
|
|
gindex: gindex,
|
|
|
gid: gid,
|
|
|
- };
|
|
|
- this.commentDetail = [];
|
|
|
+ };
|
|
|
this.commentDialogVisible = true;
|
|
|
+
|
|
|
+ // console.log('wwwwww',w)
|
|
|
+ if(JSON.stringify(this.commentDetailCopy) == JSON.stringify(w.works)) return
|
|
|
+
|
|
|
+ this.commentDetailCopy = w.works
|
|
|
+
|
|
|
+
|
|
|
+ this.commentDetail = [];
|
|
|
this.commentDetail = w;
|
|
|
+
|
|
|
+
|
|
|
if (w.works && w.type == 1) {
|
|
|
// this.pptImgUrl = "";
|
|
|
var a = ["PPT", "PPTX", "XLSX", "XLS", "DOC", "DOCX"];
|
|
@@ -16152,7 +16164,12 @@ export default {
|
|
|
].toolChoose[toolIndex].rateJson;
|
|
|
} else if (w.works && w.type == 10) {
|
|
|
this.commentDetail.works = JSON.parse(this.commentDetail.works);
|
|
|
- } else if (w.works && w.type == 13) {
|
|
|
+ } else if (w.works && w.type == 12) {
|
|
|
+ getFile(this.commentDetail.works).then(res => {
|
|
|
+ this.commentDetail.works = res.data;
|
|
|
+ });
|
|
|
+ // this.commentDetail.works = JSON.parse(this.commentDetail.works);
|
|
|
+ }else if (w.works && w.type == 13) {
|
|
|
this.wordJson =
|
|
|
this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
this.taskCount
|
|
@@ -24199,10 +24216,10 @@ export default {
|
|
|
justify-content: center;
|
|
|
}
|
|
|
|
|
|
-.answerBg > div:nth-child(1) {
|
|
|
+/* .answerBg > div:nth-child(1) { */
|
|
|
/* font-size: 22px;
|
|
|
padding: 25px 0 10px; */
|
|
|
-}
|
|
|
+/* } */
|
|
|
|
|
|
.answerContent {
|
|
|
width: 215px;
|
|
@@ -25781,8 +25798,8 @@ ol {
|
|
|
top: -25px;
|
|
|
}
|
|
|
|
|
|
-.group_workBox {
|
|
|
-}
|
|
|
+/* .group_workBox {
|
|
|
+} */
|
|
|
|
|
|
.group_workBox + .group_workBox {
|
|
|
margin-top: 20px;
|
|
@@ -26272,11 +26289,11 @@ ol {
|
|
|
overflow: hidden;
|
|
|
transition: all 0.5s;
|
|
|
}
|
|
|
-.toolChild {
|
|
|
+/* .toolChild { */
|
|
|
/* margin: 0 0 0 17px;
|
|
|
padding: 0 0 0 20px;
|
|
|
border-left: 1px solid #d7d7d7; */
|
|
|
-}
|
|
|
+/* } */
|
|
|
|
|
|
.toolChild > div + div{
|
|
|
margin-top:5px;
|
|
@@ -26299,7 +26316,7 @@ ol {
|
|
|
width: 100%;
|
|
|
}
|
|
|
|
|
|
-.toolChild > div::before {
|
|
|
+/* .toolChild > div::before { */
|
|
|
/* content: "";
|
|
|
width: 15px;
|
|
|
height: 1px;
|
|
@@ -26308,7 +26325,7 @@ ol {
|
|
|
top: 24px;
|
|
|
left: -20px;
|
|
|
display: block; */
|
|
|
-}
|
|
|
+/* } */
|
|
|
|
|
|
.isGjCss {
|
|
|
/* color: #0061ff; */
|