This commit is contained in:
zhangsir
2024-05-21 23:00:47 +08:00
parent f80c85cf11
commit 8067f402a8

View File

@@ -1219,7 +1219,7 @@ const vwtext = ref(null)
<!-- <span>
{{ text === 0 ? '通过' : (text === 1 ? '未通过' : (text === 2 ? '进行中' : '已报名')) }}
</span> -->
<span :style="{ color: text >= 80 ? '#44e778' : (text < 80 ? '#f5222d' : '#3da8f0') }">
<span :style="{ color: record.平均分 >= 80 ? '#44e778' : (record.平均分 < 80 ? '#f5222d' : '#3da8f0') }">
{{ record.平均分==null?'': record.平均分 >= 80 ? '通过' : (record.平均分 < 80 ? '未通过' : (null)) }}
</span>
</template>