|
|
@ -153,7 +153,8 @@ |
|
|
ad_modal_list: [], // ad广告列表 |
|
|
ad_modal_list: [], // ad广告列表 |
|
|
nav_bg_color: 'rgba(255,255,255,0)' ,// 导航背景颜色 |
|
|
nav_bg_color: 'rgba(255,255,255,0)' ,// 导航背景颜色 |
|
|
car_num: 0, |
|
|
car_num: 0, |
|
|
live_roomid: 0 |
|
|
|
|
|
|
|
|
live_roomid: 0, |
|
|
|
|
|
page_options: {} |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
// 注册组件 |
|
|
// 注册组件 |
|
|
@ -243,7 +244,8 @@ |
|
|
this.screenWidth = String(res.screenWidth); |
|
|
this.screenWidth = String(res.screenWidth); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
this.queryMicroData(); |
|
|
|
|
|
|
|
|
this.page_options = e; |
|
|
|
|
|
this.queryMicroData(e); |
|
|
this.init(e); |
|
|
this.init(e); |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
@ -365,10 +367,16 @@ |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
// 请求数据 |
|
|
// 请求数据 |
|
|
queryMicroData() { |
|
|
|
|
|
|
|
|
queryMicroData(e) { |
|
|
|
|
|
let par = {}; |
|
|
|
|
|
if(typeof this.page_options.id != 'undefined'){ |
|
|
|
|
|
par.id = this.page_options.id; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.$http |
|
|
this.$http |
|
|
.get({ |
|
|
.get({ |
|
|
api: 'api/micro/page/index' |
|
|
|
|
|
|
|
|
api: 'api/micro/page/index', |
|
|
|
|
|
data: par |
|
|
}) |
|
|
}) |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
if (res.statusCode == 200) { |
|
|
if (res.statusCode == 200) { |
|
|
|