diff --git a/frontend/src/renderer/src/views/Detection.vue b/frontend/src/renderer/src/views/Detection.vue index 8e85ff80..d383574a 100644 --- a/frontend/src/renderer/src/views/Detection.vue +++ b/frontend/src/renderer/src/views/Detection.vue @@ -189,7 +189,7 @@ -
+
@@ -924,6 +924,7 @@ const contenGridRef =ref(null) // 实时检查整体box const wholeBodyRef = ref(null) // 身体姿态ref const camera1Ref = ref(null) const camera2Ref = ref(null) +const pressureRef = ref(null) const historyDialogVisible = ref(false) // 患者信息(从页面获取或通过API获取) const patientInfo = ref({ @@ -1993,6 +1994,13 @@ async function saveDetectionData() { pressure_image = tempInfo.value.pressure_data.foot_pressure.pressure_image foot_data = tempInfo.value.pressure_data.foot_pressure.pressure_zones } + + let pressureBox = pressureRef.value?.getBoundingClientRect() + let titile_height = 24 + pressure_image =[ + Math.round(pressureBox.x), Math.round(pressureBox.y)+ titile_height, + Math.round(pressureBox.width), Math.round(pressureBox.height) + ] let foot1_image="" if(tempInfo.value.camera1_frame != null && tempInfo.value.camera1_frame.image != null ){ diff --git a/frontend/src/renderer/src/views/PhotoAlbum.vue b/frontend/src/renderer/src/views/PhotoAlbum.vue index 4ca498fe..7192fbd0 100644 --- a/frontend/src/renderer/src/views/PhotoAlbum.vue +++ b/frontend/src/renderer/src/views/PhotoAlbum.vue @@ -1,44 +1,69 @@ @@ -91,17 +114,20 @@ function closeImageDetails(){ // 关闭图片对比页面 } .PhotoAlbum-imgul{ width: 100%; - height: calc(100% - 140px); + height: calc(100% - 160px); /* background: red; */ - margin-top: 10px; + margin-top: 20px; + padding:0px 57px; display: flex; flex-wrap:wrap ; align-content: flex-start; + overflow: auto; } .PhotoAlbum-imgbox{ - width: 23%; - height: 100%; + width: 274px; + height: 185px; + margin-bottom: 5px; } .PhotoAlbum-imgactive{ width: 100%; @@ -120,4 +146,18 @@ function closeImageDetails(){ // 关闭图片对比页面 justify-content: space-between; align-items: center; } +.delButton{ + width: 80px; + height: 40px; + background-color: rgba(89, 113, 148, 1); + font-family: 'Noto Sans SC', sans-serif; + font-weight: 400; + font-style: normal; + font-size: 14px; + color: rgba(255, 255, 255, 0.6); + border-radius: 4px; + display: flex; + justify-content: center; + align-items: center; +} \ No newline at end of file