将 PWAInstallPrompt 组件中的 div 替换为 VCard

This commit is contained in:
jxxghp
2025-07-08 13:26:12 +08:00
parent 83c00b0544
commit 56e8f61bbf

View File

@@ -102,7 +102,7 @@ const instructions = computed(() => {
leave-from-class="translate-y-0 opacity-100"
leave-to-class="translate-y-full opacity-0"
>
<div v-if="shouldShowBanner && showBanner" class="pwa-install-banner">
<VCard v-if="shouldShowBanner && showBanner" class="pwa-install-banner">
<div class="banner-content">
<VIcon icon="mdi-cellphone-link" size="24" class="me-3" />
<div class="flex-grow-1">
@@ -116,7 +116,7 @@ const instructions = computed(() => {
<VIcon icon="mdi-close" />
</VBtn>
</div>
</div>
</VCard>
</Transition>
</Teleport>