fix store diary style

This commit is contained in:
Timi
2026-09-01 14:07:23 +08:00
parent 2d94abfb32
commit 9043f7600d
6 changed files with 314 additions and 65 deletions
+4
View File
@@ -22,6 +22,7 @@
/>
</t-button>
<div
v-if="showTypeLabel"
class="type-label white glass-black clip-text"
v-text="getAttachTypeText(item.attachType)"
/>
@@ -165,6 +166,7 @@ interface Props {
showViewerActions?: boolean;
showAdd?: boolean;
showRemove?: boolean;
showTypeLabel?: boolean;
submit?: (photoItems: PhotoItem[]) => Promise<void>;
title?: string;
}
@@ -181,6 +183,7 @@ type ViewerPhotoItem = PhotoItem & {
};
const ATTACH_TYPE_TEXT_MAP: Record<string, string> = {
ADDITIONAL: "附加照片",
PHOTO: "照片",
POINT_CARD: "积分卡",
OTHER: "其他文件"
@@ -196,6 +199,7 @@ const props = withDefaults(defineProps<Props>(), {
required: false,
showAdd: true,
showRemove: true,
showTypeLabel: true,
showViewerActions: true
});