|
@@ -30,7 +30,10 @@
|
|
|
v-for="({ question_id, color_mark }, i) in recordReport.question_list"
|
|
|
:key="question_id"
|
|
|
:class="['answer-list-item']"
|
|
|
- :style="{ backgroundColor: color_mark }"
|
|
|
+ :style="{
|
|
|
+ backgroundColor: color_mark,
|
|
|
+ color: ['#F2555A', '#0075FF', '#00C264'].includes(color_mark.toUpperCase()) ? '#fff' : '#2c2c2c',
|
|
|
+ }"
|
|
|
@click="selectQuestion(i)"
|
|
|
>
|
|
|
{{ i + 1 }}
|