feat(detailedReport): 基础指标完善评分单位、健康评价等级与BMI状态

- 健康评分补"分"单位
- 健康评价展示等级文案(如"亚健康")替代数值
- BMI名称后跟体型状态胶囊,颜色取底部刻度色

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
17792275749
2026-09-02 10:36:23 +08:00
co-authored by Claude Opus 4.7
parent 680794702e
commit 7a1e8942a9
3 changed files with 51 additions and 6 deletions
@@ -48,7 +48,12 @@
<view class="basicIndicatorsRow" wx:for="{{ basicRows }}" wx:for-item="row" wx:key="index">
<view class="basicIndicatorsCell" wx:for="{{ row }}" wx:for-item="cell" wx:key="label">
<block wx:if="{{ cell.label }}">
<view class="basicIndicatorsLabel">{{ cell.label }}</view>
<view class="basicIndicatorsLabel">
<view class="basicIndicatorsLabelText">{{ cell.label }}</view>
<block wx:if="{{ cell.labelExtra }}">
<view class="basicIndicatorsLabelExtra" style="background-color: {{ cell.labelExtraColor }};">{{ cell.labelExtra }}</view>
</block>
</view>
<view class="basicIndicatorsValueRow">
<view class="basicIndicatorsValue">{{ cell.value }}</view>
<block wx:if="{{ cell.unit }}">