Commit dd19dcd3 authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-wx]: 查询页面调整

parent 95efbbec
...@@ -104,7 +104,7 @@ Page({ ...@@ -104,7 +104,7 @@ Page({
that.setData({ that.setData({
searchStatus: true, searchStatus: true,
categoryFilter: false, categoryFilter: false,
goodsList: res.data.goodsList, goodsList: res.data.list,
filterCategory: res.data.filterCategoryList filterCategory: res.data.filterCategoryList
}); });
} }
......
...@@ -17,7 +17,7 @@ Page({ ...@@ -17,7 +17,7 @@ Page({
defaultKeyword: {}, defaultKeyword: {},
hotKeyword: [], hotKeyword: [],
page: 1, page: 1,
size: 20, limit: 10,
categoryId: 0 categoryId: 0
}, },
//事件处理函数 //事件处理函数
...@@ -99,7 +99,7 @@ Page({ ...@@ -99,7 +99,7 @@ Page({
util.request(api.GoodsList, { util.request(api.GoodsList, {
keyword: that.data.keyword, keyword: that.data.keyword,
page: that.data.page, page: that.data.page,
size: that.data.size, limit: that.data.limit,
sort: that.data.currentSort, sort: that.data.currentSort,
order: that.data.currentSortOrder, order: that.data.currentSortOrder,
categoryId: that.data.categoryId categoryId: that.data.categoryId
...@@ -108,7 +108,7 @@ Page({ ...@@ -108,7 +108,7 @@ Page({
that.setData({ that.setData({
searchStatus: true, searchStatus: true,
categoryFilter: false, categoryFilter: false,
goodsList: res.data.goodsList, goodsList: res.data.list,
filterCategory: res.data.filterCategoryList filterCategory: res.data.filterCategoryList
}); });
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment