|
@@ -218,6 +218,7 @@
|
|
|
<a
|
|
|
:class="[
|
|
|
'right-btn',
|
|
|
+ !judgeAnswer ? 'isHover' : '',
|
|
|
judgeAnswer == 'standardAnswer'
|
|
|
? items.judge
|
|
|
? 'active active-right-btn'
|
|
@@ -231,6 +232,8 @@
|
|
|
<a
|
|
|
:class="[
|
|
|
'error-btn',
|
|
|
+ !judgeAnswer ? 'isHover' : '',
|
|
|
+
|
|
|
judgeAnswer == 'standardAnswer'
|
|
|
? items.judge
|
|
|
? ''
|
|
@@ -249,7 +252,7 @@
|
|
|
@handleWav="handleWav"
|
|
|
:answerRecordList="
|
|
|
judgeAnswer != 'standardAnswer'
|
|
|
- ? curQue.Bookanswer[0].recordList
|
|
|
+ ? curQue.Bookanswer[indexs].recordList
|
|
|
: []
|
|
|
"
|
|
|
:tmIndex="indexs"
|
|
@@ -264,7 +267,7 @@
|
|
|
@handleWav="handleWav"
|
|
|
:answerRecordList="
|
|
|
judgeAnswer != 'standardAnswer'
|
|
|
- ? curQue.Bookanswer[0].recordList
|
|
|
+ ? curQue.Bookanswer[indexs].recordList
|
|
|
: []
|
|
|
"
|
|
|
:tmIndex="indexs"
|
|
@@ -310,8 +313,10 @@ export default {
|
|
|
if (this.dataType.indexOf("sentence_judge_chs") != -1) {
|
|
|
// 判断题
|
|
|
if (
|
|
|
- this.curQue.Bookanswer[index].answer == "right" &&
|
|
|
- this.curQue.option[index].judge
|
|
|
+ (this.curQue.Bookanswer[index].answer == "right" &&
|
|
|
+ this.curQue.option[index].judge) ||
|
|
|
+ (this.curQue.Bookanswer[index].answer == "error" &&
|
|
|
+ !this.curQue.option[index].judge)
|
|
|
) {
|
|
|
this.curQue.Bookanswer[index].userAnswerJudge = "[JUDGE##T##JUDGE]";
|
|
|
} else {
|
|
@@ -678,6 +683,7 @@ export default {
|
|
|
cursor: not-allowed;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
a {
|
|
|
width: 32px;
|
|
|
height: 32px;
|
|
@@ -686,7 +692,7 @@ export default {
|
|
|
background-size: 24px;
|
|
|
border-radius: 8px;
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
- &:hover,
|
|
|
+ &.isHover:hover,
|
|
|
&.active {
|
|
|
background-color: #e5fff0;
|
|
|
border-color: #00c850;
|
|
@@ -697,7 +703,7 @@ export default {
|
|
|
center no-repeat;
|
|
|
background-size: 24px;
|
|
|
margin-left: 4px;
|
|
|
- &:hover,
|
|
|
+ &.isHover:hover,
|
|
|
&.active {
|
|
|
background-color: #ffe5e5;
|
|
|
border-color: #de4444;
|