|
@@ -578,6 +578,13 @@
|
|
|
:value="tkA"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
+ <span
|
|
|
+ v-if="tiankongAnswer.length"
|
|
|
+ class="tiankongAnswer"
|
|
|
+ :class="{
|
|
|
+ tfalse: tiankongAnswer[tIndex] != tkAnswer[tIndex],
|
|
|
+ }"
|
|
|
+ >正确答案:{{ tiankongAnswer[tIndex] }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="tools[steps].tools && tools[steps].tools.indexOf(9) != -1">
|
|
@@ -633,7 +640,7 @@
|
|
|
<div class="answerBox tools_box" :class="{ fullStyle: full }" v-if="isBlock == 16">
|
|
|
<div style="height: 70%; width: 100%">
|
|
|
<div class="wheel">
|
|
|
- <div class="workd_media" style="height: 100%">
|
|
|
+ <div style="height: 100%">
|
|
|
<video-player
|
|
|
class="video-player vjs-custom-skin"
|
|
|
:playsinline="true"
|
|
@@ -963,6 +970,7 @@ export default {
|
|
|
timerAnswer: null,
|
|
|
videoBlock: 0,
|
|
|
Vwidth: 0,
|
|
|
+ tiankongAnswer: [],
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
@@ -1086,7 +1094,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if ( this.tools[this.steps].tools && this.tools[this.steps].tools.indexOf(9) != -1) {
|
|
|
+ if (
|
|
|
+ this.tools[this.steps].tools &&
|
|
|
+ this.tools[this.steps].tools.indexOf(9) != -1
|
|
|
+ ) {
|
|
|
this.answerJson = {
|
|
|
A: 0,
|
|
|
B: 0,
|
|
@@ -1109,7 +1120,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if (this.tools[this.steps].tools && this.tools[this.steps].tools.indexOf(27) != -1) {
|
|
|
+ if (
|
|
|
+ this.tools[this.steps].tools &&
|
|
|
+ this.tools[this.steps].tools.indexOf(27) != -1
|
|
|
+ ) {
|
|
|
this.worksList = [];
|
|
|
for (var i = 0; i < _res.length; i++) {
|
|
|
this.worksList.push({
|
|
@@ -1131,6 +1145,9 @@ export default {
|
|
|
}
|
|
|
this.tkAnswer = JSON.parse(answer);
|
|
|
this.Sname = name;
|
|
|
+ if (this.tools[this.steps].answer) {
|
|
|
+ this.tiankongAnswer = this.tools[this.steps].answer;
|
|
|
+ }
|
|
|
this.isBlock = 13;
|
|
|
},
|
|
|
whoAnswer(item, index) {
|
|
@@ -1166,6 +1183,7 @@ export default {
|
|
|
let params = [
|
|
|
{
|
|
|
page: page,
|
|
|
+ id: this.cid,
|
|
|
},
|
|
|
];
|
|
|
this.ajax
|
|
@@ -1922,4 +1940,13 @@ img {
|
|
|
left: 50%;
|
|
|
transform: translateX(-50%);
|
|
|
}
|
|
|
+
|
|
|
+.tiankongAnswer {
|
|
|
+ margin-left: 10px;
|
|
|
+ color: #1834c0;
|
|
|
+}
|
|
|
+
|
|
|
+.tfalse {
|
|
|
+ color: rgb(189, 30, 30) !important;
|
|
|
+}
|
|
|
</style>
|