批阅:习题学生答案背景颜色修改-对绿错红

This commit is contained in:
白了个白 2024-10-28 14:13:56 +08:00
parent 743d8e05d3
commit 5cf7d737d6
1 changed files with 1 additions and 1 deletions

View File

@ -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>