From 8e00bd4dc7fdbcebe84ab76442fd926166ccd987 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期六, 23 十一月 2024 14:00:50 +0800
Subject: [PATCH] 修改样式

---
 src/views/home/index.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 3bf2ed6..e6fd31a 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -54,7 +54,7 @@
                         <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="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;">
+                              <div style="width:140px; height: 50px; line-height: 50px; font-size: 25px; background: #D09200;color: #FFFFFF; font-weight: 500; text-align: center; border-radius: 0px 8px 0px 30px; float: right;">
                                 {{patientInfo.name}}
                               </div>
                             </div>
@@ -75,7 +75,7 @@
                 <div style="height: 31%; margin-top: 20px;border-radius: 12px;" >
                     <el-row style="height: 100%;background:rgba(246, 244, 244, 0.3);border-radius: 12px;opacity: 0.9;">
                         <el-col :span="8">
-                            <div class="textwenben" style="height: 28%; font-size: 25px;background-color: #DFB144; border-radius: 12px 0 0 0;">
+                            <div class="textwenben" style="height: 28%; font-size: 25px;background-color: #D09200; border-radius: 12px 0 0 0;">
                               <template v-if="configData.deviceType==='体重秤'">
                                 <template v-if="patientInfo.isAfterMed===0&&!configData.gantiziShow">
                                   机号/床位号
@@ -91,7 +91,7 @@
                                 
                               </template>
                             </div>
-                            <div class="textwenben" style="height: 70%; font-size: 80px; color: #DFB144;">
+                            <div class="textwenben" style="height: 70%; font-size: 80px; color: #D09200;font-weight: 800;">
                               <template v-if="configData.deviceType==='体重秤'">
                                   <template v-if="patientInfo.isAfterMed===0&&!configData.gantiziShow">
                                     {{ patientInfo.deviceNo }}
@@ -129,11 +129,12 @@
                                 
                               </template>
                             </div>
-                            <div class="textwenben" style="height: 70%; font-size: 80px; color: #41B593;
+                            <div class="textwenben" style="height: 70%; font-size: 80px; color: #41B593; font-weight: 800;
                               border-left: #FFFFFF solid 2px;border-right: #FFFFFF solid 2px;">
                                 <template v-if="configData.deviceType==='体重秤'">
                                   <template v-if="patientInfo.isAfterMed===0">
                                     {{patientInfo.lastTimeAfterWeight}}
+                                    99
                                   </template>
                                   <template v-else>{{tzjs}}</template>
                                     <!-- 体重减少(kg) -->
@@ -292,6 +293,8 @@
 import {initPort as seca102} from '@/samples/deviceApi/seca102'
 import {initPort as seca101Banger} from '@/samples/deviceApi/seca101Banger'
 import {initPort as liangjiang} from '@/samples/deviceApi/liangjiang'
+import {initPort as xinanguojiTZC} from '@/samples/deviceApi/xinanguojiTZC'
+
 // 引入模块
 import config from '../../../package.json'
 import { Delete, Download, Plus, ZoomIn } from '@element-plus/icons-vue'
@@ -1019,6 +1022,8 @@
         zhiRongHehui(configData.value.tzcPortPath,configData.value.tzcBaudRate)
       }else if(configData.value.tzc_type==='lianjiang'){
         liangjiang(configData.value.tzcPortPath,1200)
+      }else if(configData.value.tzc_type==='xinanguojiTZC'){
+        xinanguojiTZC(configData.value.tzcPortPath,9600)
       }
       else{
         zhiRongT605(configData.value.tzcPortPath,configData.value.tzcBaudRate)

--
Gitblit v1.8.0