Commit b90981bd by 李嘉林

商品筛选

parent db631f4a
......@@ -62,7 +62,7 @@ const componentOptions = {
brandIdList: [], //品牌
brandActiveNameList: [],
goodsSpecificationIds: [],
randomNumber: random_string(6),
randomNumber: "",
},
},
// 数据监听器
......@@ -77,6 +77,7 @@ const componentOptions = {
_this.setData({
submitFliterVal: val.submitFliterVal,
})
console.log(_this.data.submitFliterVal,'----------submitFliterVal')
_this.init();
}
this.init();
......@@ -139,10 +140,11 @@ const componentOptions = {
if(item == 99) {
// 展示筛选弹窗
// wx.showToast({title:"暂未开发", icon:"error"})
let _this = this;
app.openFilterGoods({
submitFliterVal: this.data.submitFliterVal,
randomNumber: this.data.randomNumber,
hideBrandSelectFlag: this.data.datas.componentData.filterBrand.length>0?true:false,
submitFliterVal: _this.data.submitFliterVal,
randomNumber: _this.data.randomNumber,
hideBrandSelectFlag: _this.data.datas.componentData.filterBrand.length>0?true:false,
});
// this.opt.bus.$emit("openGoodsFilters",{
// submitFliterVal: this.submitFliterVal,
......@@ -170,6 +172,7 @@ const componentOptions = {
titleIcon,
mainColor: app.themeColor["--main-color"],
"submitFliterVal.brandIdList": filterBrand,
randomNumber: random_string(6),
});
console.log(this.data.titleIcon, "----------------------------68");
let ids = this.getStorageSync(`ids`);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment