| 123456789101112131415161718192021222324 |
- <template>
- <view class="sx-card-list" v-if="list.length">
- <template v-for="{chanpin,value:item} in list" :item="item">
- <cardVue v-if="chanpin == 'ziranpindu'" :item="item" :key="item.chanpinId"></cardVue>
- <cp4 v-if="chanpin == 'chaojidanci'" :item="item" :key="item.chanpinId"></cp4>
- </template>
- <view class="ezy-no-more">没有更多</view>
- </view>
- <view class="ezy-no-sj" v-else>
- <icon></icon>
- <text>暂无数据</text>
- </view>
- </template>
- <script setup>
- import cardVue from '../cp3/card.vue';
- import cp4 from "../cp4/card.vue";
- const props = defineProps({
- list: {
- type: Array
- }
- })
- </script>
|