|
@@ -341,10 +341,10 @@ export default {
|
|
|
}
|
|
|
} else if (this.dataType.indexOf("sentence_input_chs") != -1) {
|
|
|
// 填空题
|
|
|
- if (this.curQue.option[index].answer.length > 0) {
|
|
|
+ if (this.curQue.option[index].answer.length > 0&&this.curQue.option[index].answer[0]) {
|
|
|
let userAnswerJudge = "[JUDGE##F##JUDGE]";
|
|
|
this.curQue.option[index].answer.forEach((item) => {
|
|
|
- if (this.curQue.Bookanswer[index].answer.trim() == item) {
|
|
|
+ if (this.curQue.Bookanswer[index].answer.trim() === item) {
|
|
|
userAnswerJudge = "[JUDGE##T##JUDGE]";
|
|
|
}
|
|
|
});
|
|
@@ -408,7 +408,7 @@ export default {
|
|
|
// 判断题
|
|
|
userAnswerJudge = "[JUDGE##F##JUDGE]";
|
|
|
} else if (this.dataType.indexOf("sentence_input_chs") != -1) {
|
|
|
- userAnswerJudge = item.answer.length > 0 ? "[JUDGE##F##JUDGE]" : "";
|
|
|
+ userAnswerJudge = item.answer.length > 0&&item.answer[0] ? "[JUDGE##F##JUDGE]" : "";
|
|
|
}
|
|
|
curCorrect.push({
|
|
|
answer: "",
|
|
@@ -717,26 +717,30 @@ export default {
|
|
|
a {
|
|
|
width: 32px;
|
|
|
height: 32px;
|
|
|
- background: #fff url("../../../assets/newImage/common/right-btn.png")
|
|
|
+ background: #fff url("../../../assets/NPC/right-btn-gray.png")
|
|
|
center no-repeat;
|
|
|
background-size: 24px;
|
|
|
border-radius: 8px;
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
&.isHover:hover,
|
|
|
&.active {
|
|
|
- background-color: #e5fff0;
|
|
|
- border-color: #00c850;
|
|
|
+ background: #727272 url("../../../assets/NPC/right-btn-white.png")
|
|
|
+ center no-repeat;
|
|
|
+ background-size: 24px;
|
|
|
+ border-color: #727272;
|
|
|
}
|
|
|
}
|
|
|
a.error-btn {
|
|
|
- background: #fff url("../../../assets/newImage/common/error-btn.png")
|
|
|
+ background: #fff url("../../../assets/NPC/error-btn-gray.png")
|
|
|
center no-repeat;
|
|
|
background-size: 24px;
|
|
|
margin-left: 4px;
|
|
|
&.isHover:hover,
|
|
|
&.active {
|
|
|
- background-color: #ffe5e5;
|
|
|
- border-color: #de4444;
|
|
|
+ background: #727272 url("../../../assets/NPC/error-btn-white.png")
|
|
|
+ center no-repeat;
|
|
|
+ background-size: 24px;
|
|
|
+ border-color: #727272;
|
|
|
}
|
|
|
}
|
|
|
}
|