fix sku image preview

This commit is contained in:
Timi
2026-09-22 16:16:47 +08:00
parent e35a76437b
commit 8681af531d
+3
View File
@@ -86,6 +86,8 @@
height="min(80vh, 48rem)"
left-button-text="关闭"
right-button-text=""
:z-index="skuDetailPopupZIndex"
:overlay-props="{ zIndex: skuDetailPopupZIndex - 1 }"
@left-button-click="closeSkuDetail"
>
<div v-if="selectedSku" class="sku-popup">
@@ -156,6 +158,7 @@ const product = ref<Product>();
const isLoading = ref(false);
const selectedSku = ref<ProductSku>();
const skuDetailVisible = ref(false);
const skuDetailPopupZIndex = 1000;
const attachmentItemList = computed<PhotoItem[]>(() => (product.value?.attachmentList || [])
.filter(item => !!item.id)
.map(item => ({