fix sku image preview
This commit is contained in:
@@ -86,6 +86,8 @@
|
|||||||
height="min(80vh, 48rem)"
|
height="min(80vh, 48rem)"
|
||||||
left-button-text="关闭"
|
left-button-text="关闭"
|
||||||
right-button-text=""
|
right-button-text=""
|
||||||
|
:z-index="skuDetailPopupZIndex"
|
||||||
|
:overlay-props="{ zIndex: skuDetailPopupZIndex - 1 }"
|
||||||
@left-button-click="closeSkuDetail"
|
@left-button-click="closeSkuDetail"
|
||||||
>
|
>
|
||||||
<div v-if="selectedSku" class="sku-popup">
|
<div v-if="selectedSku" class="sku-popup">
|
||||||
@@ -156,6 +158,7 @@ const product = ref<Product>();
|
|||||||
const isLoading = ref(false);
|
const isLoading = ref(false);
|
||||||
const selectedSku = ref<ProductSku>();
|
const selectedSku = ref<ProductSku>();
|
||||||
const skuDetailVisible = ref(false);
|
const skuDetailVisible = ref(false);
|
||||||
|
const skuDetailPopupZIndex = 1000;
|
||||||
const attachmentItemList = computed<PhotoItem[]>(() => (product.value?.attachmentList || [])
|
const attachmentItemList = computed<PhotoItem[]>(() => (product.value?.attachmentList || [])
|
||||||
.filter(item => !!item.id)
|
.filter(item => !!item.id)
|
||||||
.map(item => ({
|
.map(item => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user