sxList.vue 489 B

12345678910111213141516171819202122232425
  1. <template>
  2. <view class="sx-card-list" v-if="list.length">
  3. <template v-for="{chanpin,content:item} in list">
  4. {{list}}
  5. <jstxCard v-if="chanpin == 'jisuantexun'" :item="item" :key="item.ziliaoId"></jstxCard>
  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 jstxCard from './jstxCard.vue';
  15. const props = defineProps({
  16. list: {
  17. type: Object
  18. }
  19. })
  20. </script>
  21. <style>
  22. </style>