|
@@ -146,16 +146,6 @@ var homeData = new Vue({
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
- GetNavigationMenu : function(){//获取顶部导航分类
|
|
|
|
- var _self = this;
|
|
|
|
- PublicApi.GetNavigationMenu({},function(response){
|
|
|
|
- if(response.code == 0){
|
|
|
|
- _self.topMenuList = response.data.topMenuList;
|
|
|
|
- }else{
|
|
|
|
- CAIMEI.Alert(response.msg, '确定');
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
GetHomeRightData: function(){
|
|
GetHomeRightData: function(){
|
|
var _self = this;
|
|
var _self = this;
|
|
PublicApi.GetHomeRightData({ source: 1 },function(response){
|
|
PublicApi.GetHomeRightData({ source: 1 },function(response){
|
|
@@ -255,11 +245,8 @@ var homeData = new Vue({
|
|
if(userInfo){
|
|
if(userInfo){
|
|
this.userId = JSON.parse(userInfo).userId;
|
|
this.userId = JSON.parse(userInfo).userId;
|
|
}
|
|
}
|
|
- this.GetNavigationMenu();
|
|
|
|
this.GetBanners();
|
|
this.GetBanners();
|
|
this.GetHomeFloorData();
|
|
this.GetHomeFloorData();
|
|
-
|
|
|
|
-
|
|
|
|
},
|
|
},
|
|
mounted: function() {
|
|
mounted: function() {
|
|
// this.getAdvertising();
|
|
// this.getAdvertising();
|