Merge pull request 'baigl' (#372) from baigl into main

Reviewed-on: #372
This commit is contained in:
baigl 2024-10-28 14:15:11 +08:00
commit 13f7398d79
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@
<span>学生答案
<span
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)"
>
</span>