From af0f396ed86a2573f5e24271f1578cc9111d0e16 Mon Sep 17 00:00:00 2001
From: Cxx0822 <1556464090@qq.com>
Date: Sat, 22 Aug 2026 21:38:14 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E5=AD=98=E5=82=A8?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Home/BpPopup.vue | 12 +-
src/components/Home/GlucosePopup.vue | 12 +-
src/components/Home/RecordPopup.vue | 48 +-------
src/components/Home/SleepPopup.vue | 19 ++-
src/components/Home/SportPopup.vue | 20 ++--
src/components/Home/TempPopup.vue | 12 +-
src/components/Home/WeightPopup.vue | 15 +--
src/pages/index/index.vue | 8 ++
src/pages/record/record.vue | 134 +++++++++++----------
src/store/record.ts | 169 +++++++++++++++++++--------
src/utils/index.ts | 2 +-
src/utils/record.ts | 126 ++++++++++++++++++++
12 files changed, 369 insertions(+), 208 deletions(-)
create mode 100644 src/utils/record.ts
diff --git a/src/components/Home/BpPopup.vue b/src/components/Home/BpPopup.vue
index 23687b5..2dc94fc 100644
--- a/src/components/Home/BpPopup.vue
+++ b/src/components/Home/BpPopup.vue
@@ -65,7 +65,7 @@
title="时间"
prop="time"
is-link
- :value="formatTime(recordStore.bpForm.time)"
+ :value="formatDateTime(recordStore.bpForm.time)"
placeholder="请选择记录时间"
@click="showTimePicker = true"
/>
@@ -89,13 +89,14 @@