| 123456789101112131415161718192021222324 |
- <template>
- <view class="sx-card-list" v-if="list.length">
- <template v-for="{chanpin,value:item} in list">
- <cp1 v-if="chanpin == 'tujiemuti'" :item="item" :key="item.chanpinId"></cp1>
- <!-- <cp2 v-if="chanpin == 'tujiemuti333'" :item="item" :key="item.chanpinId"></cp2>-->
- </template>
- </view>
- <view class="ezy-no-sj" v-else>
- <icon></icon>
- <text>暂无数据</text>
- </view>
- </template>
- <script setup>
- import cp1 from '../cp1/card.vue';
- const props = defineProps({
- list: {
- type: Array
- }
- })
- </script>
|