diff --git a/pages/activity/newGoods.vue b/pages/activity/newGoods.vue index a625882..e018469 100644 --- a/pages/activity/newGoods.vue +++ b/pages/activity/newGoods.vue @@ -76,10 +76,11 @@ const app = this; let pamars = { page: 1, - is_brand: 0, + is_brand: '', is_new: 1, - categoryId: 0, - order: '' + categoryId: '', + order: '', + is_in_store: 0 } Api.brandList(pamars) .then(result => { diff --git a/pages/index/index.vue b/pages/index/index.vue index 1738116..c203ff4 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -751,7 +751,7 @@ categoryId: '', is_brand: '', is_new: 1, - order: 1, + order: '', is_in_store: 0 } GoodsApi.brandList(param).then(res => { @@ -781,7 +781,7 @@ categoryId: '', is_brand: this.current == 0 ? 1 : '', is_new: '', - order: 1, + order: '', is_in_store: this.current == 0 ? 0 : 1 } GoodsApi.brandList(param).then(res => {