<template>
  <view class="shop-card-list" v-if="list.length">
    <template  v-for="{chanpin,value:item} in list" :item="item">
      <cardVue v-if="chanpin == 'xxx'" :item="item" :key="item.chanpinId" class="sx-card-box"></cardVue>
    </template>
  </view>
  <view class="ezy-no-sj" v-else>
    <icon></icon>
    <text>暂无数据</text>
  </view>
</template>

<script setup>
import cardVue from '../cp1/card.vue';

const props = defineProps({
  list: {
    type: Array
  }
})
</script>