src/views/index/components/commendContent.vue
@@ -8,10 +8,10 @@ v-for="(item, index) in commendData" :key="index" > <img :src="'/httpImage/' + item.logoUrl" alt="" /> <ImageShow :src="item.logoUrl"> </ImageShow> <div class="title">{{ item.productName }}</div> <div class="des limitoRow2">{{ item.description }}</div> <price :priceNew="item.priceBase"></price> <div class="des limitRow2">{{ item.description }}</div> <price :priceNew="item.priceBase ? item.priceBase : 0"></price> <div class="button" @click="buyProduct(item.productName)">立即购买</div> </div> </div>