jufubao-mall 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -271,11 +271,12 @@
|
|
|
271
271
|
})
|
|
272
272
|
},
|
|
273
273
|
toBrand(brand){
|
|
274
|
-
let {
|
|
275
|
-
let
|
|
274
|
+
let { params , brand_id} = brand;
|
|
275
|
+
let pa = Object.assign({brand_id}, params || {}) , otherP = '';
|
|
276
|
+
if(!this.$xdUniHelper.isEmpty(pa)) otherP = `&${this.$xdUniHelper.jsonToParams(pa)}`
|
|
276
277
|
if(brand.brand_type === 'sell'){
|
|
277
278
|
this.$xdUniHelper.navigateTo({
|
|
278
|
-
url: this.offlineBrandPath + `?consume_mode=SELL
|
|
279
|
+
url: this.offlineBrandPath + `?consume_mode=SELL&brand_type=MA${otherP}`
|
|
279
280
|
})
|
|
280
281
|
}else{
|
|
281
282
|
this.$xdUniHelper.navigateTo({
|