@@ -13,7 +13,7 @@
<view class="goods-pros-t">
<view class="pros-img">
<image :src="pros.image" alt="" />
- <text class="tips" v-if="pros.productType ==2 || pros.productType ==1">赠品</text>
+ <text class="tips" v-if="pros.giftType ==2 || pros.giftType ==1">赠品</text>
</view>
<view class="pros-product">
<view class="producttitle">{{pros.name}}</view>
- <text class="tips" v-if="pros.productType == 2 || pros.productType == 1">赠品</text>
+ <text class="tips" v-if="pros.giftType == 2 || pros.giftType == 1">赠品</text>
<view class="producttitle">{{ pros.name }}</view>
@@ -22,7 +22,7 @@
<view class="pros-left">
@@ -504,7 +504,7 @@
productId:item.productId,
productNum:item.number,
presentNum:0,
- productType:item.productType
+ productType:item.giftType
})
return {shopId:el.shopId,note:el.note?el.note:'',productInfo:productInfo}
@@ -572,7 +572,7 @@