diff --git a/backend/devices/test/templates/deviceTest.html b/backend/devices/test/templates/deviceTest.html index 36210337..4b33736c 100644 --- a/backend/devices/test/templates/deviceTest.html +++ b/backend/devices/test/templates/deviceTest.html @@ -14,7 +14,7 @@ } body { - font-family: 'Microsoft YaHei', Arial, sans-serif; + font-family: 'Noto Sans SC'; background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); color: #ffffff; min-height: 100vh; diff --git a/frontend/src/renderer/index.html b/frontend/src/renderer/index.html index 838d5d1a..c6979d8a 100644 --- a/frontend/src/renderer/index.html +++ b/frontend/src/renderer/index.html @@ -8,7 +8,7 @@ body { margin: 0; padding: 0; - font-family: 'Microsoft YaHei', sans-serif; + font-family: 'Noto Sans SC'; /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */ background:#191d28; } diff --git a/frontend/src/renderer/src/style.css b/frontend/src/renderer/src/style.css index 06c14be0..10257f27 100644 --- a/frontend/src/renderer/src/style.css +++ b/frontend/src/renderer/src/style.css @@ -7,7 +7,7 @@ } body { - font-family: 'Noto Sans SC', sans-serif; + font-family: 'Noto Sans SC'; background-color: #f5f5f5; color: #333; line-height: 1.6; diff --git a/frontend/src/renderer/src/views/Detection.vue b/frontend/src/renderer/src/views/Detection.vue index 7db4fb93..b84f67ab 100644 --- a/frontend/src/renderer/src/views/Detection.vue +++ b/frontend/src/renderer/src/views/Detection.vue @@ -7,12 +7,12 @@ font-size: 18px; font-weight: 700; font-style: normal; - color: #00CC00; + color: #3BF2C6; margin-left:20px">检测中...
{{ patientInfo.name }}
-
{{ patientInfo.gender }}
+
{{ patientInfo.gender }}
-
{{ calculateAge(patientInfo.birth_date) }}
+
{{ calculateAge(patientInfo.birth_date) }}
结束监测
@@ -54,15 +54,14 @@
-
+
{{ femtoboltStatus }}
-
+
深度相机视频流 + style="width: 100%;height: calc(100%);object-fit:contain;">
@@ -87,7 +86,7 @@
-
+
{{ imuStatus }}
@@ -172,7 +171,7 @@
-
+
{{ pressureStatus }}
@@ -309,7 +308,7 @@ -
+
{{ cameraStatus }}
@@ -317,11 +316,11 @@
camera1 + style="width: 100%; height: 100%; object-fit: contain; " />
camera2 + style="width: 100%; height: 100%; object-fit: contain; " />
@@ -345,7 +344,7 @@
+ :selectedPatient="patientInfo" v-if="isDiagnosticMessage"/>
@@ -2148,7 +2147,7 @@ function closePatientProfile(){ .detection-container-box { /* display: flex; */ height: 100vh; - background-color: #000000; + background-color: #191d28; color: #FFFFFF; } @@ -2159,7 +2158,7 @@ function closePatientProfile(){ .username-line { width: 2px; - height: 15px; + height: 22px; margin: 0 10px; background-color: #fff; } @@ -2167,7 +2166,6 @@ function closePatientProfile(){ .displaycontainer { width: 100%; height: 62px; - background: #000; display: flex; align-items: center; justify-content: space-between; @@ -2208,7 +2206,8 @@ function closePatientProfile(){ .body-posture-box{ width: 100%; height: 100%; - background: #282828; + background: linear-gradient(to bottom right, #1a1e2a, #222b38); + border: 1px solid #262d40; border-radius: 4px; } .body-header-box{ @@ -2227,7 +2226,7 @@ function closePatientProfile(){ .body-title-display{ width: 100%; height: 50px; - border-bottom: 1px solid #000; + /* border-bottom: 1px solid #000; */ display: flex; align-items: center; justify-content: space-between; @@ -2243,9 +2242,9 @@ function closePatientProfile(){ align-items: center; } .connecttext{ - font-weight: 700; + font-weight: 400; font-style: normal; - font-size: 16px; + font-size: 14px; } .body-header-bottombox{ @@ -2512,12 +2511,14 @@ function closePatientProfile(){ color: #FFFFFF; } .endbutton{ - width: 100px; - height: 36px; - background-color: rgba(255, 102, 0, 1); - border:1px solid rgba(255, 102, 0, 1); - font-size: 16px; - color: #FFFFFF; + width: 72px; + height: 29px; + background-color: rgba(11, 148, 213, 1); + border:1px solid rgba(11, 148, 213, 1); + font-weight: 400; + font-style: normal; + font-size: 14px; + color: #D7D7D7; margin-left:20px } diff --git a/frontend/src/renderer/src/views/DiagnosticMessage.vue b/frontend/src/renderer/src/views/DiagnosticMessage.vue index c004f442..5589232a 100644 --- a/frontend/src/renderer/src/views/DiagnosticMessage.vue +++ b/frontend/src/renderer/src/views/DiagnosticMessage.vue @@ -9,13 +9,16 @@
- + - + + + + - +
@@ -46,7 +49,7 @@ const props = defineProps({ selectedPatient: { required: false, type: Object, - default: null + default: {} }, }) @@ -63,11 +66,11 @@ const handleCancel = async () => { async function handleDiagnosticInfo(status) { try { // 检查是否有活跃的会话ID - if (!selectedPatient.value.sessionId) { + if (!props.selectedPatient.sessionId) { throw new Error('缺少会话Id') } // 调用后端API采集检测数据 - const response = await fetch(`${BACKEND_URL}/api/detection/${selectedPatient.value.sessionId}/save-info`, { + const response = await fetch(`${BACKEND_URL}/api/detection/${props.selectedPatient.sessionId}/save-info`, { method: 'POST', headers: { 'Content-Type': 'application/json' @@ -77,7 +80,7 @@ async function handleDiagnosticInfo(status) { treatment_info: diagnosticForm.treatment_info, suggestion_info: diagnosticForm.suggestion_info, status: status, - session_id: selectedPatient.value.sessionId, + session_id: props.selectedPatient.sessionId, }) }) if (!response.ok) { @@ -111,20 +114,20 @@ async function handleDiagnosticInfo(status) { + diff --git a/frontend/src/renderer/src/views/Login.vue b/frontend/src/renderer/src/views/Login.vue index e085e561..c22c534a 100644 --- a/frontend/src/renderer/src/views/Login.vue +++ b/frontend/src/renderer/src/views/Login.vue @@ -681,7 +681,7 @@ const copyPassword = async () => { /* 系统标题 */ .system-title { text-align: center; - font-family: "阿里妈妈数黑体 Bold", 阿里妈妈数黑体, sans-serif; + font-family: 'Noto Sans SC'; font-weight: 700; font-style: normal; font-size: 40px; @@ -717,7 +717,7 @@ const copyPassword = async () => { /* 卡片头部标题 */ .card-header { - font-family: 微软雅黑, sans-serif; + font-family: 'Noto Sans SC'; font-weight: 400; font-style: normal; font-size: 30px; @@ -807,7 +807,7 @@ const copyPassword = async () => { /* 注册按钮 */ .register-btn { - font-family: 微软雅黑, sans-serif; + font-family: 'Noto Sans SC'; font-weight: 400; font-style: normal; font-size: 14px; diff --git a/frontend/src/renderer/src/views/PatientProfile.vue b/frontend/src/renderer/src/views/PatientProfile.vue index 4fcf19cb..7d597bec 100644 --- a/frontend/src/renderer/src/views/PatientProfile.vue +++ b/frontend/src/renderer/src/views/PatientProfile.vue @@ -259,8 +259,8 @@
处理
- - + +
建议