From 090b33d0b3546e1f4032ebd19a4b0ce161276d55 Mon Sep 17 00:00:00 2001 From: 17792275749 <812100002@qq.com> Date: Thu, 20 Aug 2026 10:34:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(detailedReport):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=BA=AF=E5=B9=B2=E5=9B=9B=E8=82=A2=E8=84=82=E8=82=AA=E4=B8=8E?= =?UTF-8?q?=E8=82=8C=E8=82=89=E8=BF=9B=E9=98=B6=E6=88=90=E5=88=86=E7=BD=91?= =?UTF-8?q?=E6=A0=BC=E5=8D=A1=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- .gitignore | 1 + miniprogram/app.json | 2 +- .../pages/detailedReport/detailedReport.less | 62 ++++++++ .../pages/detailedReport/detailedReport.wxml | 132 ++++++++++++++++++ 4 files changed, 196 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9dc43d2..4bd96b3 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ dist-ssr # 环境变量文件(含敏感配置,禁止提交) # .env # .env.* +.mcp.json # Editor directories and files .vscode/* diff --git a/miniprogram/app.json b/miniprogram/app.json index 04d605c..99c2c69 100644 --- a/miniprogram/app.json +++ b/miniprogram/app.json @@ -1,11 +1,11 @@ { "pages": [ - "pages/detailedReport/detailedReport", "pages/login/login", "pages/supplementPersonal/supplementPersonal", "pages/connectedDevice/connectedDevice", "pages/connectedWifi/connectedWifi", "pages/home/home", + "pages/detailedReport/detailedReport", "pages/equipment/equipment", "pages/userManagement/userManagement", "pages/addUser/addUser", diff --git a/miniprogram/pages/detailedReport/detailedReport.less b/miniprogram/pages/detailedReport/detailedReport.less index a404520..0b2cd69 100644 --- a/miniprogram/pages/detailedReport/detailedReport.less +++ b/miniprogram/pages/detailedReport/detailedReport.less @@ -177,6 +177,7 @@ color: #252535; height: 32rpx; font-size: 32rpx; + font-weight: bolder; line-height: 32rpx; } } @@ -337,6 +338,7 @@ color: #252535; height: 32rpx; font-size: 32rpx; + font-weight: bolder; line-height: 32rpx; } } @@ -391,6 +393,66 @@ } } } + + .bodyPartsList { + width: 100%; + padding: 0 32rpx 40rpx; + box-sizing: border-box; + + .bodyPartsRow { + width: 100%; + display: flex; + flex-wrap: nowrap; + border-bottom: 2rpx solid #EAECF1; + + .bodyPartCell { + flex: 1; + padding: 36rpx 24rpx; + box-sizing: border-box; + border-right: 2rpx solid #EAECF1; + + &:last-of-type { + border-right: none; + } + + .bodyPartLabel { + color: #808080; + height: 26rpx; + font-size: 26rpx; + line-height: 26rpx; + margin-bottom: 24rpx; + } + + .bodyPartValue { + width: 100%; + display: flex; + flex-wrap: nowrap; + align-items: flex-end; + + .bodyPartNum { + color: #252535; + height: 40rpx; + font-size: 40rpx; + line-height: 40rpx; + } + + .bodyPartUnit { + color: #252535; + height: 24rpx; + font-size: 24rpx; + line-height: 24rpx; + } + + .bodyPartSep { + color: #EAECFA; + height: 32rpx; + font-size: 32rpx; + line-height: 32rpx; + } + } + } + } + } } } } diff --git a/miniprogram/pages/detailedReport/detailedReport.wxml b/miniprogram/pages/detailedReport/detailedReport.wxml index b0285a4..9e00a07 100644 --- a/miniprogram/pages/detailedReport/detailedReport.wxml +++ b/miniprogram/pages/detailedReport/detailedReport.wxml @@ -292,6 +292,138 @@ + + + + + 躯干/四肢脂肪 + + + + + 左臂 + + 2.3 + kg + + 80.9 + % + + + + 右臂 + + 2.3 + kg + + 80.9 + % + + + + + + 左腿 + + 6.3 + kg + + 100 + % + + + + 右腿 + + 6.3 + kg + + 100 + % + + + + + + 躯干 + + 18.4 + kg + + 97.8 + % + + + + + + + + + + + 躯干/四肢肌肉 + + + + + 左臂 + + 2.3 + kg + + 80.9 + % + + + + 右臂 + + 2.3 + kg + + 80.9 + % + + + + + + 左腿 + + 6.3 + kg + + 100 + % + + + + 右腿 + + 6.3 + kg + + 100 + % + + + + + + 躯干 + + 18.4 + kg + + 97.8 + % + + + + + +