|
@@ -43,9 +43,9 @@ Component({
|
|
|
this.setData(Object.assign({
|
|
|
initialheight:initialheight
|
|
|
},stylemap));
|
|
|
- if(!this.data.brandrecommend.length){
|
|
|
- this.loadBrandRecommend();
|
|
|
- }
|
|
|
+ // if(!this.data.brandrecommend.length){
|
|
|
+ // this.loadBrandRecommend();
|
|
|
+ // }
|
|
|
},
|
|
|
/**
|
|
|
* 组件的方法列表
|
|
@@ -66,7 +66,7 @@ Component({
|
|
|
initiallist[item.initial].push(item);
|
|
|
}
|
|
|
})
|
|
|
- var inith = 392;
|
|
|
+ var inith = _self.data.brandrecommend.length?392:0;
|
|
|
var scale = app.globalData.scale;
|
|
|
for(var name in initiallist){
|
|
|
var l = initiallist[name].length;
|