🎨 优化进度条颜色、报警策略

This commit is contained in:
naiba
2020-12-20 21:19:27 +08:00
parent 13e8ea76ed
commit b46827f244
6 changed files with 12 additions and 9 deletions

View File

@@ -126,7 +126,7 @@
this.cache[percent].style['background-color'] = 'slategray'
this.cache[percent].class.offline = true
} else if (percent < 51) {
this.cache[percent].style['background-color'] = 'lime'
this.cache[percent].style['background-color'] = 'rgb(0, 235, 139)'
this.cache[percent].class.fine = true
} else if (percent < 81) {
this.cache[percent].style['background-color'] = 'orange'