From c8b504ce03cbaa32d86472a702a1e176f5df2d4c Mon Sep 17 00:00:00 2001
From: white <1293616053@qq.com>
Date: Fri, 5 Jul 2024 18:02:10 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E6=AD=A5=E6=95=B0?=
=?UTF-8?q?=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/index/index.vue | 47 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 84547fa..ebdc14c 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -15,6 +15,33 @@
+
+
+ 卡路里
+
+ {{dataLists.step.calorie}}
+
+
+
+ 步数
+
+ {{dataLists.step.step}}
+
+
+
+ 距离
+
+ {{dataLists.step.distance}}
+
+
+
+
+ {{dataLists.updataDate}}
+
+
+
+
+
{{getNameByKey('bloodGlucose')}}
@@ -246,6 +273,11 @@
}
}
}
+ .row {
+ display: flex;
+ align-items: center;
+ justify-content: space-around;
+ }
.content-item {
margin: 30rpx;
padding: 30rpx;
@@ -260,6 +292,13 @@
font-size: 38rpx;
font-weight: 800;
}
+ .row-time {
+ position: absolute;
+ bottom: 30rpx;
+ right: 30rpx;
+ font-size: 28rpx;
+ color: grey;
+ }
.bg {
position: absolute;
bottom: 0rpx;
@@ -275,6 +314,14 @@
color: grey;
padding: 20rpx 0rpx 20rpx 0rpx;
}
+ .row-date {
+ font-size: 46rpx;
+ font-weight: 800;
+ display: flex;
+ align-items: baseline;
+ justify-content: center;
+ }
+
.date {
font-size: 46rpx;
font-weight: 800;