Commit 0384cc29 by 陈超

A

parent a45a5908
...@@ -282,6 +282,10 @@ ...@@ -282,6 +282,10 @@
.testPaperAnswer_n { .testPaperAnswer_n {
color: #65C000; color: #65C000;
}
.testPaperAnswer_e {
color: red;
} }
.testPaperAnswer_infoBox { .testPaperAnswer_infoBox {
...@@ -336,7 +340,7 @@ ...@@ -336,7 +340,7 @@
<div v-html="currentQuestion.content" class="testPaperInfo"></div> <div v-html="currentQuestion.content" class="testPaperInfo"></div>
<ul> <ul>
<li v-for="(opt, index) in currentOptions" :key="index" class="testPaperAnswer box"> <li v-for="(opt, index) in currentOptions" :key="index" class="testPaperAnswer box">
<span class="testPaperAnswer_num" :class="opt.selected ? 'testPaperAnswer_numAt' : ''">{{opt.key}}</span> <span @click="onChoose(opt)" class="testPaperAnswer_num" :class="opt.selected ? 'testPaperAnswer_numAt' : ''">{{opt.key}}</span>
<div v-html="opt.value" class="testPaperAnswer_desc flex1" style="margin-top: 0.625rem;"></div> <div v-html="opt.value" class="testPaperAnswer_desc flex1" style="margin-top: 0.625rem;"></div>
</li> </li>
</ul> </ul>
...@@ -352,21 +356,15 @@ ...@@ -352,21 +356,15 @@
<!-- 解析 --> <!-- 解析 -->
<div class="testPaperJiedaPage"> <div class="testPaperJiedaPage">
<div class="box testPaperJiedaBox"> <div class="box testPaperJiedaBox">
<span class="testPaperJiedaBtn box">收起解析<img class="testPaperJiedaBtn_icon" src="__THEME__/img/openBtn.png"></span> <span class="testPaperJiedaBtn box">{{expand ? '收起解析' : '查看解析'}}<img class="testPaperJiedaBtn_icon" src="__THEME__/img/openBtn.png"></span>
</div> </div>
<ul class="testPaperAnswers"> <ul class="testPaperAnswers">
<li class="testPaperAnswer">正确答案:<span class="testPaperAnswer_n">B</span></li> <li class="testPaperAnswer">正确答案:<span v-for="(answer, index) in currentRightOptions" :key="index" class="testPaperAnswer_n">{{answer}}</span></li>
<li class="testPaperAnswer">我的答案:<span class="testPaperAnswer_n">B</span></li> <li class="testPaperAnswer">我的答案:<span v-for="(answer, index) in currentMyOptions" :key="index" :class="answer.right ? 'testPaperAnswer_e' : 'testPaperAnswer_n'">{{answer.key}}</span></li>
</ul> </ul>
<div class="testPaperAnswer_infoBox"> <div class="testPaperAnswer_infoBox">
<p class="testPaperAnswer_infoTitle">解析</p> <p class="testPaperAnswer_infoTitle">解析</p>
<div class="testPaperAnswer_info"> <div v-html="currentAnalyze" class="testPaperAnswer_info">
第一空,考查并列关系,与“明辨是非善恶”意思、感情相近。A项“循规蹈矩”指遵守规矩,不敢违反,感情偏消极,和后文不符,排除;B项
“与人为善”指善意帮助人,感情虽然相近,但是和“明辨是非善恶”含义不符,排除;C项“通情达理”指说话、做事很讲道理,符合文意,保留;D项“奉公守法”指奉行公事,遵守法令,这也是“明辨是非善恶”、通晓是非的体现,保留。
第二空,C项“载体”泛指一切能够承载其他事物的事物,D项“手段”指为达到某种目的而采取的方法和措施,都能对应前文“农事活动、节日庆典、民俗习惯、村规民约等”,符合语境。
第三空,C项“潜移默化”指人的思想或性格不知不觉受到感染、影响而发生了变化,符合“农事活动、节日庆典、民俗习惯、村规民约”的特点并对应后文“内化”,当选。D项“耳濡目染”侧重于听得多、看得多之后受到影响,文中没有相应的信息,排除。
故正确答案为C。
【文段出处】《乡村治理重教化》
</div> </div>
</div> </div>
</div> </div>
...@@ -402,7 +400,8 @@ ...@@ -402,7 +400,8 @@
temp: {}, temp: {},
current: 1, current: 1,
paperOptions: {}, paperOptions: {},
countDown: "00:00:00" countDown: "00:00:00",
expand: false
} }
}, },
computed: { computed: {
...@@ -471,6 +470,24 @@ ...@@ -471,6 +470,24 @@
} }
return array return array
}, },
//选择题答案
currentRightOptions: function() {
return this.currentQuestion.answer_true_option
},
//我的答案
currentMyOptions: function() {
let cur = this.currentRightOptions
return this.currentOptions.filter( r => { return r.selected }).map( r => {
return {
right: cur.ai_firstOf( k => { return k == r.key }) != -1,
key: r.key
}
})
},
//解析
currentAnalyze: function() {
return this.currentQuestion.analyze
},
//Helper //Helper
showChoiceQuestion: function() { showChoiceQuestion: function() {
let key = this.currentQuestionTypeKey let key = this.currentQuestionTypeKey
...@@ -504,6 +521,9 @@ ...@@ -504,6 +521,9 @@
that.currentQuestion.is_collect = collect that.currentQuestion.is_collect = collect
} }
}) })
},
onChoose: function(opt) {
} }
} }
}) })
......
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