|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="sx-card-list" v-if="list.length">
|
|
<view class="sx-card-list" v-if="list.length">
|
|
|
<template v-for="{chanpin,value:item} in list" :item="item">
|
|
<template v-for="{chanpin,value:item} in list" :item="item">
|
|
|
- <cardVue v-if="chanpin == 'xxx'" :item="item" :key="item.chanpinId" class="sx-card-box"></cardVue>
|
|
|
|
|
|
|
+ <cardVue v-if="chanpin == 'ziranpindu'" :item="item" :key="item.chanpinId" class="sx-card-box"></cardVue>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -12,7 +12,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
- import cardVue from '../cp1/card.vue';
|
|
|
|
|
|
|
+ import cardVue from '../cp3/card.vue';
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
list: {
|
|
list: {
|