Authored by 李奇

fixed:tf-goods组件修改

... ... @@ -15,7 +15,7 @@
type: String
},
pageParam: {
type: String
type: String,
},
index: {
type: [String, Number]
... ... @@ -43,6 +43,12 @@
PRD_SKN: this.productSkn // 商品SKN (可选)
};
_.each(param, (v, k) => {
if (param.k === '') {
delete param[k];
}
});
this.$parent.addIntoWaiting(param);
}
this.isVisiable = visible;
... ...
... ... @@ -2,7 +2,8 @@
<div class="product-new" :class="{'no-header': noheader}">
<header-box title="NEW ARRIVAL"></header-box>
<filter-box :val="order" :filter="filterConfig" v-if="enableOrder"></filter-box>
<product-list :data="productList" :state="listState" class="list-items"></product-list>
<product-list :data="productList" :state="listState" class="list-items"
:report-page-name="pageName"></product-list>
<shopping-bag :cart-count="cartCount" v-if="isApp"></shopping-bag>
</div>
</template>
... ... @@ -51,8 +52,7 @@
cartCount: 0,
// for yas report
pageName: 'FP_BLK_New_h5',
pageParam: ''
pageName: 'FP_BLK_New_h5'
};
},
computed: {
... ...