From aae6e720ea01ce3e9a0ebc892b52ae103a56f472 Mon Sep 17 00:00:00 2001 From: ChenQiuYu Date: Mon, 19 May 2025 13:23:42 +0800 Subject: [PATCH] dev --- src/components/charge/PatientCard.vue | 15 ++++++--------- src/components/outpatient/MedicalHistory.vue | 1 + 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/components/charge/PatientCard.vue b/src/components/charge/PatientCard.vue index fc1fdf0..444c200 100644 --- a/src/components/charge/PatientCard.vue +++ b/src/components/charge/PatientCard.vue @@ -99,7 +99,6 @@ defineExpose({init, clear}) font-size: 18px; color: #333333; font-style: normal; - margin-right: 10px; white-space: nowrap; /* 防止文本换行 */ overflow: hidden; /* 隐藏溢出的文本 */ text-overflow: ellipsis; /* 显示省略号 */ @@ -114,16 +113,14 @@ defineExpose({init, clear}) .avatar-info-phone-num { width: 100%; display: flex; - justify-content: space-between; - + .avatar-info-phone { + flex: 1; + min-width: 0; + height: 20px; + line-height: 20px; + } .avatar-info-num { margin-left: 28px; - - .avatar-info-phone { - height: 20px; - line-height: 20px; - } - .caret-num { color: #4D6DE4; font-style: normal; diff --git a/src/components/outpatient/MedicalHistory.vue b/src/components/outpatient/MedicalHistory.vue index 3f9b3b3..3ae0684 100644 --- a/src/components/outpatient/MedicalHistory.vue +++ b/src/components/outpatient/MedicalHistory.vue @@ -43,6 +43,7 @@ const copyItem = (item: any) => { emit('copyItem', item) } const copyGoods = (item: any) => { + console.log(item,'item') emit('copyGoods', item) } defineExpose({init,clearList})