From ee0ef1ac6e2dd3b33fe52fc314512f468d303c41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com>
Date: Fri, 20 Oct 2023 16:57:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/examinationapi/add.js | 11 +
components/BMI/BMI.vue | 14 +-
components/BloodFat/BloodFat.vue | 6 +-
.../Physicalexamination.scss | 85 ++++-
.../Physicalexamination.vue | 356 ++++++++++++++++--
pagesC/addPressure/addPressure.vue | 18 +-
static/pageC/bmi1.png | Bin 0 -> 1879 bytes
static/pageC/bmi2.png | Bin 0 -> 1462 bytes
static/pageC/bmi3.png | Bin 0 -> 1652 bytes
static/pageC/bmi4.png | Bin 0 -> 1753 bytes
static/pageC/oneimage.png | Bin 0 -> 1913 bytes
static/pageC/threeimage.png | Bin 0 -> 1649 bytes
static/pageC/twoimage.png | Bin 0 -> 1460 bytes
static/pageC/xueyangone.png | Bin 0 -> 1910 bytes
static/pageC/xueyangtwo.png | Bin 0 -> 1459 bytes
15 files changed, 432 insertions(+), 58 deletions(-)
create mode 100644 static/pageC/bmi1.png
create mode 100644 static/pageC/bmi2.png
create mode 100644 static/pageC/bmi3.png
create mode 100644 static/pageC/bmi4.png
create mode 100644 static/pageC/oneimage.png
create mode 100644 static/pageC/threeimage.png
create mode 100644 static/pageC/twoimage.png
create mode 100644 static/pageC/xueyangone.png
create mode 100644 static/pageC/xueyangtwo.png
diff --git a/api/examinationapi/add.js b/api/examinationapi/add.js
index 4633e37..5fb0768 100644
--- a/api/examinationapi/add.js
+++ b/api/examinationapi/add.js
@@ -82,3 +82,14 @@ export function savehr(data) {
}
})
}
+
+//最后一次记录
+export function recordlast(identity) {
+ return request({
+ url: `/fd/ps/record/last/${identity}`,
+ method: 'get',
+ header: {
+ Authorization: 'Bearer' + ' ' + uni.getStorageSync('token')
+ }
+ })
+}
diff --git a/components/BMI/BMI.vue b/components/BMI/BMI.vue
index 791ac4c..729b383 100644
--- a/components/BMI/BMI.vue
+++ b/components/BMI/BMI.vue
@@ -26,9 +26,17 @@
- 肥胖
+ 过重
+ 24~27.9
+
+
+
+
+ 肥胖
+
+
≥28
@@ -401,7 +409,7 @@
flex-wrap: wrap;
.text {
- width: 33%;
+ width: 25%;
margin-bottom: 40rpx;
.p {
@@ -445,4 +453,4 @@
}
}
}
-
\ No newline at end of file
+
diff --git a/components/BloodFat/BloodFat.vue b/components/BloodFat/BloodFat.vue
index 6d8b121..cbb8f7a 100644
--- a/components/BloodFat/BloodFat.vue
+++ b/components/BloodFat/BloodFat.vue
@@ -4,9 +4,9 @@
— 正常范围 —
-
+
@@ -405,4 +405,4 @@
}
}
}
-
\ No newline at end of file
+
diff --git a/pagesC/Physicalexamination/Physicalexamination.scss b/pagesC/Physicalexamination/Physicalexamination.scss
index 3c01932..28b269e 100644
--- a/pagesC/Physicalexamination/Physicalexamination.scss
+++ b/pagesC/Physicalexamination/Physicalexamination.scss
@@ -81,7 +81,88 @@
left: 49%;
top: 50%;
}
-
+ .titletexts{
+ .bloodpressure{
+ width: 100%;
+ position: absolute;
+ left:6%;
+ top:50%;
+ .bloodpressureitem{
+ .colorone,.colortwo,.colorthree{
+ font-size: 21rpx;
+ font-weight: 400;
+ color: #595959;
+ .dot{
+ width: 17rpx;
+ height: 17rpx;
+ background: #26A888;
+ border-radius: 50%;
+ margin-right: 10rpx;
+ }
+ }
+ .colortwo{
+ .dot{
+ background: #FFA115;
+ }
+ }
+ .colorthree{
+ .dot{
+ background: #FF756D;
+ }
+ }
+ view{
+ display: inline-block;
+ }
+ .mmHg{
+ font-size: 21rpx;
+ color: #595959;
+ padding:0 20rpx 0 10rpx;
+ }
+ .bloodpressuretitle{
+ font-size: 41rpx;
+ font-weight: 500;
+ color: #000000;
+ }
+ }
+ }
+ .time{
+ position: absolute;
+ top:22%;
+ left:6%;
+ font-size: 24rpx;
+ color: #595959;
+ }
+ image{
+ width: 250rpx;
+ height: 70rpx;
+ position: absolute;
+ left:50%;
+ transform: translateX(-50%);
+ }
+ .bmi{
+ image{
+ width: 260rpx !important;
+ }
+ }
+ .title{
+ position: absolute;
+ bottom:20rpx;
+ padding-left: 30rpx;
+ text:nth-child(1) {
+ font-size: 56rpx;
+ font-weight: 500;
+ color: #000000;
+ vertical-align: baseline;
+ }
+ text:nth-child(2) {
+ padding-left: 10rpx;
+ font-size: 24rpx;
+ font-weight: 400;
+ color: #595959;
+ vertical-align: baseline;
+ }
+ }
+ }
.itemtitle {
position: absolute;
font-size: 28rpx;
@@ -107,4 +188,4 @@
}
}
- }
\ No newline at end of file
+ }
diff --git a/pagesC/Physicalexamination/Physicalexamination.vue b/pagesC/Physicalexamination/Physicalexamination.vue
index 5d6844a..95a931a 100644
--- a/pagesC/Physicalexamination/Physicalexamination.vue
+++ b/pagesC/Physicalexamination/Physicalexamination.vue
@@ -1,7 +1,7 @@
-
+
智能设备
@@ -21,101 +21,375 @@
血糖
-
- 您30天未测量
+
+
+ 快来测量吧~
+
+
+ 您30天未测量
+
+
-
- 快来测量吧~
+
+
+ {{dataone.date}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{dataone.val}}
+ mmol/L
+
-
血压
-
- 您30天未测量
+
+
+ 快来测量吧~
+
+
+ 您30天未测量
+
+
-
- 快来测量吧~
+
+
+ {{datatwo.date}}
+
+
+
+
+ {{datatwo.ssy}}
+
+
+ mmHg
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
+
+ {{datatwo.szy}}
+
+
+ mmHg
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
-
血脂
-
- 您30天未测量
+
+
+ 快来测量吧~
+
+
+ 您30天未测量
+
+
-
- 快来测量吧~
+
+
+ {{datathree.date}}
+
+
+
+
+ {{datathree.tc}}
+
+
+ mmol/L
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
+
+ {{datathree.tg}}
+
+
+ mmol/L
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
+
+ {{datathree.hdl}}
+
+
+ mmol/L
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
+
+ {{datathree.ldl}}
+
+
+ mmol/L
+
+
+
+
+ 过低
+
+
+
+
+ 正常
+
+
+
+
+ 过高
+
+
+
-
BMI
-
- 您30天未测量
+
+
+ 快来测量吧~
+
+
+ 您30天未测量
+
+
-
- 快来测量吧~
+
+
+ {{dataone.date}}
+
+
+
+
+
+
+
+
+ {{datafour.val}}
+ kg/m^2
+
-
血氧
-
- 您30天未测量
+
+
+ 快来测量吧~
+
+
+ 您30天未测量
+
+
-
- 快来测量吧~
+
+
+ {{dataone.date}}
+
+
+
+
+ {{datafive.val}}
+ %
+
-
心率
-
- 您30天未测量
+
+
+ 快来测量吧~
+
+
+ 您30天未测量
+
+
-
- 快来测量吧~
+
+
+ {{dataone.date}}
+
+
+
+
+
+ {{datasix.val}}
+ 次/分
+
-
体温
-
- 您30天未测量
+
+
+ 快来测量吧~
+
+
+ 您30天未测量
+
+
-
- 快来测量吧~
+
+
+ {{dataone.date}}
+
+
+
+
+
+ {{dataseven.val}}
+ ℃
+
-
-
-
-
-