feat(data): 体重差值按 weightDiff/weightTrend 动态渲染并区分增减颜色

- 差值图标与数值改用后端 weightDiff/weightTrend
- 首次测量/持平不显示差值块
- 增加红色、减少绿色

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-09-03 08:50:51 +08:00
co-authored by Claude Opus 4.7
parent e0f201f15c
commit 8284bf107b
3 changed files with 23 additions and 5 deletions
+8
View File
@@ -325,6 +325,14 @@
height: 26rpx;
line-height: 26rpx;
}
&.diff-up {
background-color: #FEF0F0;
> view:nth-of-type(2) {
color: #F24439;
}
}
}
&.arrow::after {