批阅:习题学生答案背景颜色修改-对绿错红
This commit is contained in:
parent
743d8e05d3
commit
5cf7d737d6
|
@ -90,7 +90,7 @@
|
||||||
<span>学生答案:
|
<span>学生答案:
|
||||||
<span
|
<span
|
||||||
v-if="stuItem.feedcontent !=''"
|
v-if="stuItem.feedcontent !=''"
|
||||||
style="background-color: red; color: white; padding: 0 5px; border-radius: 5px;"
|
:style="{backgroundColor: `${formatWorkAnswer(quItem) == formatFeedContent(stuItem, quItem)? '#0ed116' : 'red'}`,color: 'white', padding: '0 5px', borderRadius: '5px'}"
|
||||||
v-html="formatFeedContent(stuItem, quItem)"
|
v-html="formatFeedContent(stuItem, quItem)"
|
||||||
>
|
>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue