From 522685d8c1e04873e4c352732eb1e79e6226ff32 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Tue, 2 Dec 2025 18:10:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B93d=E5=87=BA=E7=8E=B0=E5=8F=8C?= =?UTF-8?q?=E4=BA=BA=E5=A4=B4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/renderer/src/views/Detection.vue | 10 ++++++++-- frontend/src/renderer/src/views/model.vue | 5 ++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/frontend/src/renderer/src/views/Detection.vue b/frontend/src/renderer/src/views/Detection.vue index 105cce2e..7db4fb93 100644 --- a/frontend/src/renderer/src/views/Detection.vue +++ b/frontend/src/renderer/src/views/Detection.vue @@ -128,7 +128,7 @@ {{ headlist.rotation }}°
- +
@@ -2289,6 +2289,7 @@ function closePatientProfile(){ text-align: right; } .currencytext1{ + min-width: 100px; font-size: 24px; font-weight: 400; color: #FFFFFF; @@ -2298,11 +2299,15 @@ function closePatientProfile(){ font-style: normal; font-size: 30px; color: #FF6600; + text-align: r; } .currencytext3{ + width: 60px; font-size: 24px; font-weight: 700; + display: inline-block; color: #266FFF; + text-align: left; } .body-footbottom-box{ display: flex; @@ -2328,7 +2333,8 @@ function closePatientProfile(){ border-radius: 4px; display: flex; align-items: center; - justify-content: center; + justify-content: space-between; + padding: 0px 10px; } .body-footbottom-center{ width: 40%; diff --git a/frontend/src/renderer/src/views/model.vue b/frontend/src/renderer/src/views/model.vue index 0ecc37af..650c62e4 100644 --- a/frontend/src/renderer/src/views/model.vue +++ b/frontend/src/renderer/src/views/model.vue @@ -26,7 +26,7 @@ const props = defineProps({ rotation: { type: [Number, String], default: 0 }, tilt: { type: [Number, String], default: 0 }, pitch: { type: [Number, String], default: 0 }, - gender: { type: String, default: '男' } + gender: { type: String, default: '' } }) onMounted(() => { initThreeJS() @@ -90,7 +90,6 @@ function initThreeJS() { function loadModel() { const loader = new GLTFLoader(); - // 尝试加载Model.glb文件 const url = (props.gender === '女') ? femaleUrl : maleUrl; loader.load(url, @@ -198,7 +197,7 @@ watch( } catch {} model = null; } - loadModel(); + // loadModel(); } )