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;