From d447355e6d08e3a48ea6fd0df132e3120ede6a16 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 26 一月 2024 10:31:17 +0800
Subject: [PATCH] 优化细节

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

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 1ab8ffb..12bf9b3 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -53,8 +53,10 @@
                     <div style="height: 77%;">
                         <div style="display: grid;grid-template-columns: minmax(250px, 40%) 1fr; height: 100%; padding-left: 20px;padding-top: 20px;">
                             <!-- 头像 -->
-                            <div  :style="{backgroundImage:`url(${patientInfo.patientAvatarIcon})`}" style="background-size:100% 100%;height: 100%;">
-
+                            <div  :style="{backgroundImage:`url(${patientInfo.patientAvatarIcon})`}" style="background-size:100% 100%;height: 100%;" >
+                              <div style="width:140px; height: 50px; line-height: 50px; font-size: 25px; background: #DFB144;color: #FFFFFF; font-weight: 500; text-align: center; border-radius: 0px 8px 0px 30px; float: right;">
+                                {{patientInfo.name}}
+                              </div>
                             </div>
                             <div style="display: grid;place-items: center;font-size: 120px;font-family: AlibabaPuHuiTi, AlibabaPuHuiTi;font-weight: 800;color: #65AAF6;">
                                 <template v-if="configData.deviceType==='体重秤'">
@@ -581,7 +583,7 @@
   const xAxisData: any[]=[]
   const series=[
     {
-      name: '透前伸缩压',
+      name: '透前收缩压',
       type: 'line',
       color:'#E6A23C',
       smooth: true,
@@ -595,7 +597,7 @@
       data: <any>[]
     },
     {
-      name: '透后伸缩压',
+      name: '透后收缩压',
       type: 'line',
       color:'#606266',
       smooth: true,
@@ -603,7 +605,7 @@
     },{
       name: '透后舒张压',
       type: 'line',
-      color:'#E6A23C',
+      color:'#F56C6C',
       smooth: true,
       data: []
     }
@@ -619,7 +621,7 @@
         series[2].data.push(e.透后伸缩压)
         series[3].data.push(e.透后舒张压)
       })
-      const legendData=['透前伸缩压', '透前舒张压', '透后伸缩压','透后舒张压']
+      const legendData=['透前收缩压', '透前舒张压', '透后收缩压','透后舒张压']
       huatu2(series,xAxisData,legendData,'血压趋势图')
     }
   })

--
Gitblit v1.8.0