sxList.vue 477 B

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