{field: 'ifMember', title: '类型', width: 120, templet: function(d) {
debugger;
if (d.strayCurrentEvaluation == "高") {
return ' <span style="color: #F581B1;">' + d.strayCurrentEvaluation + '</span>'
} else if (d.strayCurrentEvaluation == "中") {
return ' <span style="color: #F581B1;">' + d.strayCurrentEvaluation + '</span>'
} else {
return '';
}
}},
layui修改表格字段字体颜色
最新推荐文章于 2024-04-08 02:07:09 发布