|
@@ -13,7 +13,7 @@
|
|
|
<view class="goods-pros-t">
|
|
|
<view class="pros-img">
|
|
|
<image :src="pros.image" alt="" />
|
|
|
- <text class="tips" v-if="pros.giftType == 2 || pros.giftType == 1">赠品</text>
|
|
|
+ <text class="tips" v-if="pros.productType == 2 || pros.productType == 1">赠品</text>
|
|
|
</view>
|
|
|
<view class="pros-product">
|
|
|
<view class="producttitle">{{ pros.name }}</view>
|
|
@@ -63,7 +63,7 @@
|
|
|
|
|
|
<script>
|
|
|
export default{
|
|
|
- name:"goods",
|
|
|
+ name:'goods',
|
|
|
props:{
|
|
|
goodsData:{
|
|
|
type:Array
|
|
@@ -79,7 +79,7 @@
|
|
|
},
|
|
|
filters:{
|
|
|
NumFormat(value) {//处理金额
|
|
|
- return Number(value).toFixed(2);
|
|
|
+ return Number(value).toFixed(2)
|
|
|
},
|
|
|
},
|
|
|
watch: {
|