From 2526c516ad55b5cc525f2faa1aae722df6ad9d03 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 09 九月 2022 12:59:57 +0800
Subject: [PATCH] up123

---
 src/views/home/index.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 8a5f84a..2099547 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -141,13 +141,14 @@
             }
         )
         watch(
-            () => weightInfo.value.resultTime,
+            () => weightInfo.value.result,
             () => {
                 settime()
-                console.log("体重变化了")
+                console.log("体重变化了",weightInfo.value)
                 // AudioRef2.value.play()
                 if (patientInfo.value.id === 0) {
                     AudioRef0.value.play()
+                    inputRef.value.focus();
                 }
                 else {
                     AudioRef2.value.play()
@@ -179,6 +180,7 @@
                     }
                     if (patientInfo.value.id === 0) {
                         AudioRef0.value.play()
+                        inputRef.value.focus();
                         settime()
                     } else {
                         AudioRef3.value.play()
@@ -498,6 +500,7 @@
 }
 .rowdiv{
   /* background: #769AFF; */
+  font-size: 300%;
   height: 15%;
   margin-top: 5%;
 }
@@ -507,7 +510,7 @@
 }
 .tilaft{
   text-align: left;
-  font-size: 2.5rem;
+  font-size: 300%;
   font-family: AlibabaPuHuiTi-Regular, AlibabaPuHuiTi;
   font-weight: 400;
   color: #333333;
@@ -528,7 +531,7 @@
   vertical-align:middle;
   width: 100%;
   text-align: center;
-  font-size: 120px;
+  font-size: 800%;
   font-family: DINAlternate-Bold, DINAlternate;
   font-weight: bold;
   color: #769AFF;
@@ -543,11 +546,10 @@
 .userinfo{
   padding-top: 6%;
   /* background: #769AFF; */
-  font-size: 2.5rem;
+  font-size: 300%;
   text-align: right;
 }
 .lableclass{
-  font-size: 2.5rem;
   text-align: right;
   font-weight: 400;
   color: #777777;
@@ -555,7 +557,6 @@
 
 }
 .textclass{
-  font-size: 2.5rem;
   text-align: left;
   font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
   font-weight: 500;

--
Gitblit v1.8.0