feat(health): 健康卡片增加状态色(正常绿/异常红)+ 参考范围显示

This commit is contained in:
iven
2026-04-24 12:35:13 +08:00
parent 8dc00fbd9e
commit fa21bbcadd
4 changed files with 73 additions and 20 deletions

View File

@@ -57,6 +57,24 @@
border-radius: $r-sm;
padding: 20px;
text-align: center;
border-left: 4px solid transparent;
&.health-item-ok { border-left-color: $acc; }
&.health-item-warn { border-left-color: $dan; }
}
.health-item-bottom {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
}
.health-status {
font-size: 20px;
&.normal { color: $acc; }
&.high, &.low { color: $dan; font-weight: bold; }
}
.health-label {