From 615e0b8f9adf3e8cb41dfedb7b9fc03a703ae587 Mon Sep 17 00:00:00 2001 From: Timi Date: Mon, 3 Aug 2026 23:45:27 +0800 Subject: [PATCH] fix customer invite photo --- src/components/CustomerProfileCard.vue | 19 +++++++++++++------ src/pages/management/CustomerDetail.vue | 13 ++++--------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/src/components/CustomerProfileCard.vue b/src/components/CustomerProfileCard.vue index 7224bae..b57f9bd 100644 --- a/src/components/CustomerProfileCard.vue +++ b/src/components/CustomerProfileCard.vue @@ -1,6 +1,6 @@ @@ -43,6 +45,11 @@ const customerTelephone = computed(() => customer.value?.telephone || ""); const photoURL = computed(() => customer.value ? getCustomerPhotoURL(customer.value) : ""); const photoViewerImages = computed(() => photoURL.value ? [photoURL.value] : []); +function handlePhotoClick(event: MouseEvent): void { + event.stopPropagation(); + openPhotoViewer(); +} + function openPhotoViewer(): void { if (!photoURL.value) { return; diff --git a/src/pages/management/CustomerDetail.vue b/src/pages/management/CustomerDetail.vue index e21e671..abaf1d1 100644 --- a/src/pages/management/CustomerDetail.vue +++ b/src/pages/management/CustomerDetail.vue @@ -6,14 +6,14 @@ /> - + @@ -575,13 +575,8 @@ watch(() => route.params.id, async () => { } .birthdate-trigger { - padding: 0; - border: 0; - color: var(--td-text-color-primary); - font: inherit; - background: transparent; text-align: right; - text-decoration: underline dotted; + text-decoration: underline; text-underline-offset: .2rem; }