...
|
...
|
@@ -24,14 +24,14 @@ |
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="collage && isCollage" class="product-collage" @click="onGroupClick">
|
|
|
<div class="collage-tag">
|
|
|
拼团价:<span class="collage-price">¥{{product.collage_price}}</span>
|
|
|
</div>
|
|
|
<div class="collage-op">
|
|
|
去拼团<i class="iconfont icon-right"></i>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- <div v-if="collage && isCollage" class="product-collage" @click="onGroupClick">-->
|
|
|
<!-- <div class="collage-tag">-->
|
|
|
<!-- 拼团价:<span class="collage-price">¥{{product.collage_price}}</span>-->
|
|
|
<!-- </div>-->
|
|
|
<!-- <div class="collage-op">-->
|
|
|
<!-- 去拼团<i class="iconfont icon-right"></i>-->
|
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
...
|
...
|
@@ -105,12 +105,14 @@ export default { |
|
|
|
|
|
if (+this.product.productType === 2) {
|
|
|
className = 'ufo-tag';
|
|
|
} else if (this.isCollage) {
|
|
|
className = 'collage-tag';
|
|
|
}
|
|
|
|
|
|
return className;
|
|
|
},
|
|
|
salesPrice() {
|
|
|
return this.product.salesPrice;
|
|
|
return this.isCollage ? this.product.collage_price : this.product.salesPrice;
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
...
|
...
|
|