Files
YGChatCS/pages/index/components/module/DetailCardCompontent/index.vue
2025-09-21 14:26:04 +08:00

31 lines
800 B
Vue

<template>
<view class="container">
<template v-if="toolCall.picture && toolCall.picture.length > 0">
<ModuleTitle :title="图片详情" />
<ImageSwiper :images="toolCall.picture" />
</template>
<template v-if="toolCall.commodityList">
<DetailCardGoodsContentList :commodityList="toolCall.commodityList" />
</template>
</view>
</template>
<script setup>
import { defineProps } from "vue";
import ModuleTitle from "@/components/ModuleTitle/index.vue";
import ImageSwiper from "@/components/ImageSwiper/index.vue";
import DetailCardGoodsContentList from "../DetailCardGoodsContentList/index.vue";
const props = defineProps({
toolCall: {
type: Object,
default: {},
},
});
</script>
<style scoped lang="scss">
@import "./styles/index.scss";
</style>