fix type label and style

This commit is contained in:
Timi
2026-09-22 16:24:21 +08:00
parent 18ec0c4dc2
commit 0efd724f02
4 changed files with 6 additions and 6 deletions
@@ -87,7 +87,7 @@ const props = withDefaults(defineProps<Props>(), {
required: false, required: false,
showAdd: true, showAdd: true,
showRemove: true, showRemove: true,
showTypeLabel: true, showTypeLabel: false,
showViewerActions: true showViewerActions: true
}); });
@@ -203,12 +203,10 @@ function removeCurrentPhoto(): void {
.type { .type {
display: flex; display: flex;
justify-content: start; align-items: start;
margin-left: 1.5rem;
flex-direction: column; flex-direction: column;
justify-content: start;
.button {
text-indent: 1.5em;
}
} }
.button { .button {
+1
View File
@@ -42,6 +42,7 @@
:show-add="false" :show-add="false"
:show-remove="false" :show-remove="false"
:submit="submitPhotoItems" :submit="submitPhotoItems"
show-type-label
title="照片列表" title="照片列表"
/> />
</card-container> </card-container>
+1
View File
@@ -80,6 +80,7 @@
:show-viewer-actions="!isCustomerBound" :show-viewer-actions="!isCustomerBound"
:add-actions="photoAddActions" :add-actions="photoAddActions"
:loading="isPhotoUploading" :loading="isPhotoUploading"
show-type-label
@add="openPhotoPicker('OTHER')" @add="openPhotoPicker('OTHER')"
@action="handlePhotoAction" @action="handlePhotoAction"
@capture-photo="capturePhoto" @capture-photo="capturePhoto"