feat(data): 体重差值按 weightDiff/weightTrend 动态渲染并区分增减颜色
- 差值图标与数值改用后端 weightDiff/weightTrend - 首次测量/持平不显示差值块 - 增加红色、减少绿色 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
e0f201f15c
commit
8284bf107b
@@ -325,6 +325,14 @@
|
||||
height: 26rpx;
|
||||
line-height: 26rpx;
|
||||
}
|
||||
|
||||
&.diff-up {
|
||||
background-color: #FEF0F0;
|
||||
|
||||
> view:nth-of-type(2) {
|
||||
color: #F24439;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.arrow::after {
|
||||
|
||||
Reference in New Issue
Block a user