|
|
|
@ -36,16 +36,16 @@ |
|
|
|
page: 1, |
|
|
|
isPage: true, |
|
|
|
pageSize: 20, |
|
|
|
channel_id: 0 |
|
|
|
category_id: 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(e){ |
|
|
|
this.channel_id = e.channel_id |
|
|
|
this.category_id = e.category_id |
|
|
|
this.getActivityList(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getActivityList(){ |
|
|
|
this.$http(this.API.API_PRODUCTLIST,{page:this.page,channel_id: this.channel_id}).then(res => { |
|
|
|
this.$http(this.API.API_PRODUCTLIST,{page:this.page,category_id: this.category_id}).then(res => { |
|
|
|
let isPage = res.data.next_page_url == null?false:true; |
|
|
|
this.isPage = isPage; |
|
|
|
let list = res.data.data; |
|
|
|
|