|
|
@ -40,13 +40,16 @@ import { h, ref } from 'vue';
|
|
|
|
import { CloudDownloadOutline } from '@vicons/ionicons5';
|
|
|
|
import { CloudDownloadOutline } from '@vicons/ionicons5';
|
|
|
|
import { precheckAttachment, getAttachment } from '@/api/user';
|
|
|
|
import { precheckAttachment, getAttachment } from '@/api/user';
|
|
|
|
|
|
|
|
|
|
|
|
const props = withDefaults(defineProps<{
|
|
|
|
const props = withDefaults(
|
|
|
|
attachments: Item.AttachmentProps[],
|
|
|
|
defineProps<{
|
|
|
|
price: number,
|
|
|
|
attachments: Item.AttachmentProps[];
|
|
|
|
}>(), {
|
|
|
|
price?: number;
|
|
|
|
|
|
|
|
}>(),
|
|
|
|
|
|
|
|
{
|
|
|
|
attachments: () => [],
|
|
|
|
attachments: () => [],
|
|
|
|
price: 0
|
|
|
|
price: 0,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
);
|
|
|
|
const showDownloadModal = ref(false);
|
|
|
|
const showDownloadModal = ref(false);
|
|
|
|
const downloadTip = ref<any>('');
|
|
|
|
const downloadTip = ref<any>('');
|
|
|
|
const attachmentID = ref(0);
|
|
|
|
const attachmentID = ref(0);
|
|
|
|