代码更新

This commit is contained in:
2022-09-13 17:24:57 +08:00
parent 3c772a7850
commit 10f5b7fe3b
15 changed files with 416 additions and 9 deletions

View File

@@ -244,9 +244,10 @@ export default {
const vnowDate = b + c + x
// 将字符串转换成int类型进行相减
const a = parseInt(vDateStr) - parseInt(vnowDate)
debugger
// 进行比较符合条件表格就变化颜色
const stylejson = {}
if (a < 15) {
if (a < 30) {
stylejson.background = '#e0838f'
stylejson.color = 'green'
return stylejson