<template>
  <div class="w-full pb-[12px]">
    <template v-if="toolCall.picture && toolCall.picture.length">
      <ModuleTitle :title="图片详情" />
      <ImageSwiper :images="toolCall.picture" thumbnailBottom="12px" />
    </template>

    <template v-if="toolCall.commodityList">
      <DetailCardGoodsContentList :commodityList="toolCall.commodityList" />
    </template>
  </div>
</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>
