diff --git a/pages/cart/index.vue b/pages/cart/index.vue index ba3a754..9c655ee 100644 --- a/pages/cart/index.vue +++ b/pages/cart/index.vue @@ -104,7 +104,7 @@ {{item.cmmdty_model}} --> - + + - + @@ -298,19 +297,25 @@ tabbar: [], multiArray: [{ value: 'JD', - name: 'JD' + name: '京东 ' }, { value: 'SN', - name: 'SN' + name: '苏宁' }, { value: 'GC', - name: 'GC' + name: '工厂' }, { value: 'CC', - name: 'CC ' + name: '仓储' }, { value: 'ZC', - name: 'ZC' + name: '自采' + }, { + value: 'TM', + name: '天猫' + }, { + value: 'PF', + name: '批发平台' }], multiIndex: -1, blheight: 0, @@ -478,20 +483,21 @@ if (this.isActive) { categoryId = this.isActive } else { - categoryId = this.isBanrdActive >0? this.isBanrdActive : ((app.options.categoryId || app.options.categoryId != undefined) ? app.options + categoryId = this.isBanrdActive > 0 ? this.isBanrdActive : ((app.options.categoryId || app.options + .categoryId != undefined) ? app.options .categoryId : 0) } const param = { sortType: app.sortType != 'city' ? app.sortType : '', sortPrice: Number(app.sortPrice), - categoryId:categoryId, + categoryId: categoryId, merchantId: app.options.merchantId, // goodsName: app.options.search || '', page: pageNo, // keywords: keywords.length > 0 ? keywords.join(',') : '', keyword: app.options.search || '', - is_grad: app.is_grad - // goods_source: this.multiIndex > -1 ? this.multiArray[this.multiIndex].value : '' + is_grad: app.is_grad, + goods_source: this.multiIndex > -1 ? this.multiArray[this.multiIndex].value : '' } return new Promise((resolve, reject) => { GoodsApi.list(param) diff --git a/pages/index/index.vue b/pages/index/index.vue index 1efbe12..9d6b7ff 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -289,7 +289,7 @@ {{item.cmmdty_model}} --> - + - +