From c1474f0c648d6e5534236b2776cb0fcf26bab753 Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Wed, 27 Dec 2023 10:59:49 +0800 Subject: [PATCH 1/5] =?UTF-8?q?update=201.=E4=BD=93=E6=B8=A9=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=AD=97=E6=AE=B5=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/userInfoModal/motion.vue | 34 +++++++++---------- .../components/userInfoModal/publicTitle.vue | 4 +-- .../components/userInfoModal/temperature.vue | 12 +++---- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/components/secondaryScreen/secondMap/components/userInfoModal/motion.vue b/src/components/secondaryScreen/secondMap/components/userInfoModal/motion.vue index db5329f..6108f91 100644 --- a/src/components/secondaryScreen/secondMap/components/userInfoModal/motion.vue +++ b/src/components/secondaryScreen/secondMap/components/userInfoModal/motion.vue @@ -7,22 +7,22 @@ :keyType="keyType" :user-id="userId" /> -
-
-
- {{ maxInfo > 1000 ? (maxInfo / 1000).toFixed(2) : maxInfo }} - {{ maxInfo > 1000 ? 'km' : 'm' }} -
-
总运动距离
-
-
-
- {{ minInfo > 1000 ? (minInfo / 1000).toFixed(2) : minInfo }} - {{ minInfo > 1000 ? '千卡' : '卡' }} -
-
总卡路里
-
-
+ + + + + + + + + + + + + + + + @@ -114,4 +114,4 @@ return params; } - \ No newline at end of file + diff --git a/src/components/secondaryScreen/secondMap/components/userInfoModal/publicTitle.vue b/src/components/secondaryScreen/secondMap/components/userInfoModal/publicTitle.vue index 185bafc..091108b 100644 --- a/src/components/secondaryScreen/secondMap/components/userInfoModal/publicTitle.vue +++ b/src/components/secondaryScreen/secondMap/components/userInfoModal/publicTitle.vue @@ -259,7 +259,7 @@ } :deep(.ant-select) { - min-width: 140px; + width: 200px; } .bgc { @@ -284,4 +284,4 @@ box-shadow: none; } } - \ No newline at end of file + diff --git a/src/components/secondaryScreen/secondMap/components/userInfoModal/temperature.vue b/src/components/secondaryScreen/secondMap/components/userInfoModal/temperature.vue index 2ef5940..d98000a 100644 --- a/src/components/secondaryScreen/secondMap/components/userInfoModal/temperature.vue +++ b/src/components/secondaryScreen/secondMap/components/userInfoModal/temperature.vue @@ -107,14 +107,14 @@ let xArr = []; let yArr = []; let yArr1 = []; - maxInfo.value = result.maxValue ? result.maxValue : '/'; - middleInfo.value = result.avgValue ? result.avgValue : '/'; - minInfo.value = result.minValue ? result.minValue : '/'; + maxInfo.value = result.maxValueB ? result.maxValueB : '/'; + middleInfo.value = result.avgValueB ? result.avgValueB : '/'; + minInfo.value = result.minValueB ? result.minValueB : '/'; if (type === '1') return; result.viewDataList.map((item) => { xArr.push(item.date); - yArr.push(item.value ? item.value : 0); - yArr1.push(item.value2 ? item.value2 : 0); + yArr.push(item.ydata1 ? item.ydata1 : 0); + yArr1.push(item.ydata2 ? item.ydata2 : 0); }); echart = echarts.init(chartRef.value); const option = { @@ -205,4 +205,4 @@ initEchart('0'); }); - \ No newline at end of file + From 626fbf908588e8b16bf90fa063efe63f24c398e3 Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Wed, 27 Dec 2023 14:44:13 +0800 Subject: [PATCH 2/5] =?UTF-8?q?update=201.=E5=8E=8B=E5=8A=9B=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/secondaryScreen/secondMap/secondMapApi.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/secondaryScreen/secondMap/secondMapApi.ts b/src/components/secondaryScreen/secondMap/secondMapApi.ts index ccea892..9487a54 100644 --- a/src/components/secondaryScreen/secondMap/secondMapApi.ts +++ b/src/components/secondaryScreen/secondMap/secondMapApi.ts @@ -45,7 +45,7 @@ export const queryHeartRateStatisticsPageApi = (params: any) => post(Api.queryHe export const queryBloodOxygenStatisticsApi = (params: any) => post(Api.queryBloodOxygenStatistics, params); export const queryBloodOxygenStatisticsPageApi = (params: any) => post(Api.queryBloodOxygenStatisticsPage, params); // 压力 -export const queryStressStatisticsApi = (params: any) => post(Api.queryBloodOxygenStatisticsPage, params); +export const queryStressStatisticsApi = (params: any) => post(Api.queryStressStatistics, params); export const queryStressStatisticsPageApi = (params: any) => post(Api.queryStressStatisticsPage, params); // 睡眠 export const querySleepStatisticsApi = (params: any) => post(Api.querySleepStatistics, params); @@ -58,4 +58,3 @@ export const queryExercisePageApi = (params: any) => post(Api.queryExercisePage, // 步数 export const queryStepStatisticsApi = (params: any) => post(Api.queryStepStatistics, params); export const queryStepStatisticsPageApi = (params: any) => post(Api.queryStepStatisticsPage, params); - From a0ffce1fa7cbba862967a6082ffba419727da2bb Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Wed, 27 Dec 2023 16:05:46 +0800 Subject: [PATCH 3/5] =?UTF-8?q?update=201.=E7=9D=A1=E7=9C=A0=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=EF=BC=9A=E6=B7=B1=E7=9D=A1=E3=80=81=E6=B5=85=E6=B0=B4?= =?UTF-8?q?=E9=A2=A0=E5=80=92=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../secondMap/components/userInfoModal/sleep.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/secondaryScreen/secondMap/components/userInfoModal/sleep.vue b/src/components/secondaryScreen/secondMap/components/userInfoModal/sleep.vue index 93c58cb..19377a9 100644 --- a/src/components/secondaryScreen/secondMap/components/userInfoModal/sleep.vue +++ b/src/components/secondaryScreen/secondMap/components/userInfoModal/sleep.vue @@ -155,7 +155,7 @@ if (type.value === 1) { str = tar1.value > 0 ? '深睡' : '浅睡'; } else { - str = '浅睡' + ' : ' + (tar.value ? tar.value : 0) + '
' + '深睡' + ' : ' + (tar1.value ? tar1.value : 0); + str = '深睡' + ' : ' + (tar.value ? tar.value : 0) + '
' + '浅睡' + ' : ' + (tar1.value ? tar1.value : 0); } return str; }, @@ -242,4 +242,4 @@ initEchart('0'); }); - \ No newline at end of file + From 63eb01d64170d861b03009f75be29ef28618f873 Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Wed, 27 Dec 2023 17:55:35 +0800 Subject: [PATCH 4/5] =?UTF-8?q?update=201.=E7=94=A8=E6=88=B7=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=B7=A6=E4=BE=A7=E6=B2=A1=E6=9C=89=E5=B7=A5=E5=8F=B7?= =?UTF-8?q?=202.=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../secondMap/components/userInfoModal/userInfoModal.vue | 5 +++-- .../secondMap/components/watchListDialog.vue | 8 +++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/secondaryScreen/secondMap/components/userInfoModal/userInfoModal.vue b/src/components/secondaryScreen/secondMap/components/userInfoModal/userInfoModal.vue index e90cc6f..f92c035 100644 --- a/src/components/secondaryScreen/secondMap/components/userInfoModal/userInfoModal.vue +++ b/src/components/secondaryScreen/secondMap/components/userInfoModal/userInfoModal.vue @@ -3,7 +3,8 @@