添加了获取直播列表的接口
This commit is contained in:
parent
edd71ab1a4
commit
113144b716
@ -236,6 +236,10 @@ export default {
|
||||
type: type,
|
||||
status: status,
|
||||
});
|
||||
},
|
||||
// 获取直播列表
|
||||
tabLiveList(){
|
||||
return vm.$u.post('api/Specialci/tabLiveList')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -216,8 +216,14 @@
|
||||
this.getRecommendList();
|
||||
this.getSwiper();
|
||||
this.getZhiBoSwiper();
|
||||
this.tabLiveList();
|
||||
},
|
||||
methods: {
|
||||
tabLiveList(){
|
||||
this.$u.api.tabLiveList().then((res)=>{
|
||||
console.log(res)
|
||||
})
|
||||
},
|
||||
getSwiper() {
|
||||
this.$u.api.getIndexSwiper().then(res => {
|
||||
if (res.errCode == 0) {
|
||||
@ -266,4 +272,4 @@
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user