shuxueList.vue 536 B

123456789101112131415161718192021222324
  1. <template>
  2. <view class="sx-card-list" v-if="list.length">
  3. <template v-for="{chanpin,value:item} in list">
  4. <cp1 v-if="chanpin == 'tujiemuti'" :item="item" :key="item.chanpinId"></cp1>
  5. <!-- <cp2 v-if="chanpin == 'tujiemuti333'" :item="item" :key="item.chanpinId"></cp2>-->
  6. </template>
  7. </view>
  8. <view class="ezy-no-sj" v-else>
  9. <icon></icon>
  10. <text>暂无数据</text>
  11. </view>
  12. </template>
  13. <script setup>
  14. import cp1 from '../cp1/card.vue';
  15. const props = defineProps({
  16. list: {
  17. type: Array
  18. }
  19. })
  20. </script>