|
|
|
@ -147,22 +147,6 @@ |
|
|
|
|
console.log(this.shopsList); |
|
|
|
|
}) |
|
|
|
|
.finally(() => this.loading = false) |
|
|
|
|
|
|
|
|
|
// try { |
|
|
|
|
// const { data } = await getshopsList({ |
|
|
|
|
// cId: this.categoryId, |
|
|
|
|
// page: this.page++, |
|
|
|
|
// limit: this.limit, |
|
|
|
|
// keyword: this.search, |
|
|
|
|
// }); |
|
|
|
|
|
|
|
|
|
// this.shopsList = this.shopsList.concat(data); |
|
|
|
|
// console.log(this.shopsList); |
|
|
|
|
// this.finished = data.length < this.limit; |
|
|
|
|
// this.loadTitle = this.finished ? "已全部加载完" : "上拉加载更多"; |
|
|
|
|
// } catch (err) { |
|
|
|
|
// console.log(err); |
|
|
|
|
// } |
|
|
|
|
}, |
|
|
|
|
toShop(item) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|