|
|
@ -26,9 +26,9 @@ |
|
|
|
return { |
|
|
|
topImg: '', |
|
|
|
typeList: [ |
|
|
|
{title: '景点', id: '616'}, |
|
|
|
{title: '线路', id: '617'}, |
|
|
|
{title: '特产', id: '618'}, |
|
|
|
{title: '景点', id: '105'}, |
|
|
|
{title: '线路', id: '106'}, |
|
|
|
{title: '特产', id: '107'}, |
|
|
|
], |
|
|
|
typeIndex: 0, |
|
|
|
list: [], |
|
|
@ -60,7 +60,7 @@ |
|
|
|
tag_id: this.typeList[this.typeIndex].id, |
|
|
|
offset: this.list.length, |
|
|
|
limit: this.limit, |
|
|
|
}, '/api/product/get_product_by_tag').then(res => { |
|
|
|
}, '/api/product/get_product_by_tag_partners').then(res => { |
|
|
|
if(res) { |
|
|
|
if(res.data.list.length < this.limit) this.isLoading = true |
|
|
|
this.list = this.list.concat(res.data.list) |
|
|
|