|
@@ -32,16 +32,17 @@
|
|
|
{{isDefOrder ? '默认顺序' : '题型排序'}}
|
|
|
</span> -->
|
|
|
</div>
|
|
|
+ <!-- 题号 -->
|
|
|
<div class="question-index-box" v-if="studentAnswer.scores">
|
|
|
<div class="base-info-item" style="white-space: nowrap;">{{$t('learnActivity.score.quIndex')}}</div>
|
|
|
<div>
|
|
|
<span v-for="(typeItem,typeIndex) in groupList" :key="typeIndex">
|
|
|
<span v-for="(item,index) in typeItem.list" :key="index">
|
|
|
- <span @click="goToQuestion(getScoreIndex(typeIndex,index))" :class="studentAnswer.scores[getScoreIndex(typeIndex,index)] >= 0 ? 'qu-order-tag':'qu-order-tag-def'" v-if="typeItem.type !== 'compose'">
|
|
|
+ <span @click="goToQuestion(getScoreIndex(typeIndex,index))" :class="studentAnswer.scores[item.index] >= 0 ? 'qu-order-tag':'qu-order-tag-def'" v-if="typeItem.type !== 'compose'">
|
|
|
{{getQuIndex(typeIndex,index)}}
|
|
|
</span>
|
|
|
<span v-else>
|
|
|
- <span @click="goToQuestion(getScoreIndex(typeIndex,index,childIndex))" v-for="(childItem,childIndex) in item.children" :key="childIndex" :class="studentAnswer.scores[getScoreIndex(typeIndex,index,childIndex)] >= 0 ? 'qu-order-tag':'qu-order-tag-def'">
|
|
|
+ <span @click="goToQuestion(getScoreIndex(typeIndex,index,childIndex))" v-for="(childItem,childIndex) in item.children" :key="childIndex" :class="studentAnswer.scores[childItem.index] >= 0 ? 'qu-order-tag':'qu-order-tag-def'">
|
|
|
{{getQuIndex(typeIndex,index) + '-' + (childIndex + 1)}}
|
|
|
</span>
|
|
|
</span>
|