|
|
@ -264,12 +264,11 @@ |
|
|
|
this.getNav(); |
|
|
|
this.getNav(); |
|
|
|
// uni.showTabBar(); |
|
|
|
// uni.showTabBar(); |
|
|
|
if (this.isLogin == true) { |
|
|
|
if (this.isLogin == true) { |
|
|
|
this.isAllSelect = true; //全不选 |
|
|
|
|
|
|
|
this.getCartList(); |
|
|
|
this.getCartList(); |
|
|
|
this.getCartNum(); |
|
|
|
this.getCartNum(); |
|
|
|
this.goodsHidden = true; |
|
|
|
this.goodsHidden = true; |
|
|
|
this.footerswitch = true; |
|
|
|
this.footerswitch = true; |
|
|
|
|
|
|
|
this.isAllSelect = true; //全不选 |
|
|
|
this.selectValue = []; //选中的数据 |
|
|
|
this.selectValue = []; //选中的数据 |
|
|
|
this.isShowAuth = false; |
|
|
|
this.isShowAuth = false; |
|
|
|
uni.setStorage({ |
|
|
|
uni.setStorage({ |
|
|
@ -680,8 +679,7 @@ |
|
|
|
item.list.forEach(p=>{ |
|
|
|
item.list.forEach(p=>{ |
|
|
|
newArr.forEach(i=>{ |
|
|
|
newArr.forEach(i=>{ |
|
|
|
if(p.product_id==i){ |
|
|
|
if(p.product_id==i){ |
|
|
|
console.log(i) |
|
|
|
|
|
|
|
p.check=true |
|
|
|
|
|
|
|
this.$set(p,'check',true) |
|
|
|
this.$set(p,'check',true) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|