|
@@ -5,9 +5,9 @@ var homeData = new Vue({
|
|
|
data: {
|
|
|
userId:0,
|
|
|
asideNav: [],
|
|
|
- liveList:[],//右侧直播模块
|
|
|
- cmImageList:[],//右侧活动模块
|
|
|
- infoList:[],//右侧文章模块
|
|
|
+ // liveList:[],//右侧直播模块
|
|
|
+ // cmImageList:[],//右侧活动模块
|
|
|
+ // infoList:[],//右侧文章模块
|
|
|
popupFlag:false,
|
|
|
couponEntry:2,// 活动优惠券弹窗显示控制
|
|
|
homePageFloor:[]//楼层
|
|
@@ -98,19 +98,19 @@ var homeData = new Vue({
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- GetHomeRightData: function(){//模块加载
|
|
|
- var _self = this;
|
|
|
- PublicApi.GetHomeRightData({ source: 1 },function(response){
|
|
|
- if(response.code == 0){
|
|
|
- var data = response.data;
|
|
|
- _self.liveList = data.liveList;
|
|
|
- _self.cmImageList = data.cmImageList;
|
|
|
- _self.infoList = data.infoList;
|
|
|
- }else{
|
|
|
- CAIMEI.Alert(response.msg, '确定');
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
+ // GetHomeRightData: function(){//模块加载
|
|
|
+ // var _self = this;
|
|
|
+ // PublicApi.GetHomeRightData({ source: 1 },function(response){
|
|
|
+ // if(response.code == 0){
|
|
|
+ // var data = response.data;
|
|
|
+ // _self.liveList = data.liveList;
|
|
|
+ // _self.cmImageList = data.cmImageList;
|
|
|
+ // _self.infoList = data.infoList;
|
|
|
+ // }else{
|
|
|
+ // CAIMEI.Alert(response.msg, '确定');
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
GetHomeData: function(){//获取首页楼层
|
|
|
var _self = this;
|
|
|
PublicApi.GetHomeData({ source: 1,userId: _self.userId },function(response){
|