♻️ Continued to migrate components

This commit is contained in:
2025-11-29 02:12:12 +08:00
parent 040e19025e
commit 54bf8cf915
10 changed files with 102 additions and 97 deletions

View File

@@ -14,28 +14,16 @@
class="carousel-container rounded-lg overflow-hidden"
:style="carouselStyle"
>
<v-card width="100%" height="100%" class="transition-all duration-300" border>
<v-carousel
<n-carousel height="100%" show-arrow>
<n-carousel-item
v-for="attachment in attachments"
:key="attachment.id"
height="100%"
hide-delimiter-background
show-arrows="hover"
hide-delimiters
progress="primary"
cover
>
<v-carousel-item
v-for="attachment in attachments"
:key="attachment.id"
height="100%"
cover
>
<attachment-item
original
class="h-full"
:item="attachment"
/>
</v-carousel-item>
</v-carousel>
</v-card>
<attachment-item original class="h-full" :item="attachment" />
</n-carousel-item>
</n-carousel>
</div>
<!-- Mixed content: vertical scrollable -->
@@ -60,7 +48,6 @@ const props = defineProps<{
maxHeight?: number
}>()
const isAllImages = computed(
() =>
props.attachments.length > 0 &&