Commit 51159082 by 宋珺琪

判断样式调整

parent 79e0c9a6
......@@ -134,8 +134,11 @@
<div class="analysis" id="topic1Right" style="display: none">
<ul>
<li class="first "> <el-tag type="success">正确答案:</el-tag><span class="right">{{reduceAnswer.rightAnswer}}</span></li>
<li class="second"><el-tag>题目解析:</el-tag>
<li class="first">
<el-tag type="success">正确答案:</el-tag>
<span class="right">{{reduceAnswer.rightAnswer}}</span></li>
<li class="second">
<el-tag>题目解析:</el-tag>
<div class="li2right">{{reduceAnswer.analysis == null ? '无': reduceAnswer.analysis}}</div>
</li>
</ul>
......@@ -143,18 +146,18 @@
</div>
<div class="judge" v-if=" optionValue == '判断题'">
<el-radio-group v-model="judgeAnswer[index]" @change="getJudgeLabel">
<el-radio :label="1" :disabled='radioFlag' :class="[isradio ? (this.reduceAnswer.rightAnswer==='A' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']">正确</el-radio>
<el-radio :label="2" :disabled='radioFlag' :class="[isradio ? (this.reduceAnswer.rightAnswer==='A' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']">错误</el-radio>
<el-radio :label="1" :disabled='radioFlag' :class="[isradio ? (this.reduceAnswer.answer==='T' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']">正确</el-radio>
<el-radio :label="2" :disabled='radioFlag' :class="[isradio ? (this.reduceAnswer.answer==='F' ? 'checkboxTrueStyle' : 'checkboxFlaseStyle'):'noStyle']">错误</el-radio>
</el-radio-group>
<div class="analysis" id="topic3Right" style="display: none">
<ul>
<li>
<li class="first">
<el-tag type="success">正确答案:</el-tag>
<span class="right">{{reduceAnswer.answer}}</span></li>
<li>
<li class="second">
<el-tag>题目解析:</el-tag>
<div class="li2right">{{reduceAnswer.analysis == null ? '无': reduceAnswer.analysis}}</div>
</li>
<li>{{reduceAnswer.analysis == null ? '暂无解析': reduceAnswer.analysis}}</li>
</ul>
</div>
</div>
......@@ -464,6 +467,8 @@ export default {
finalScore = this.reduceAnswer.score
}
}else if (this.optionValue=="判断题"){
this.isradio = true
let pitch = this.judgeAnswer[this.index]
console.log("当前选中的 = "+ pitch)
if (pitch=='1'){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment