fix type label and style
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user