liveh5-nuxt/app/pages/home/components/DetailPopup/index.vue
xingyy e30b993601 refactor: 将导入路径从波浪号(~)改为 @- 修改了多个文件中的导入路径,将 ~/ 替换为 @/
- 这个改动统一了项目中的导入路径格式,提高了代码的一致性和可维护性
2025-01-23 19:43:45 +08:00

24 lines
566 B
Vue

<script setup>
import xPopup from '@/components/x-popup/index.vue'
import ItemDetail from "@/components/itemDetail/index.vue";
import {goodStore} from "@/stores/goods/index.js";
const {
artWorkDetail
} = goodStore()
const props = defineProps({
show: {
type: Boolean,
default: false
}
})
const emit = defineEmits(['update:show'])
const handleClose = () => {
emit('update:show', false)
}
</script>
<template>
<xPopup :show="show" title="拍品详情" @update:show="handleClose">
<ItemDetail :detailInfo="artWorkDetail" />
</xPopup>
</template>