Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
dd19dcd3
Commit
dd19dcd3
authored
May 09, 2019
by
Junling Bu
Browse files
chore[litemall-wx]: 查询页面调整
parent
95efbbec
Changes
2
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/search/search.js
View file @
dd19dcd3
...
...
@@ -104,7 +104,7 @@ Page({
that
.
setData
({
searchStatus
:
true
,
categoryFilter
:
false
,
goodsList
:
res
.
data
.
goodsL
ist
,
goodsList
:
res
.
data
.
l
ist
,
filterCategory
:
res
.
data
.
filterCategoryList
});
}
...
...
renard-wx/pages/search/search.js
View file @
dd19dcd3
...
...
@@ -17,7 +17,7 @@ Page({
defaultKeyword
:
{},
hotKeyword
:
[],
page
:
1
,
size
:
2
0
,
limit
:
1
0
,
categoryId
:
0
},
//事件处理函数
...
...
@@ -99,7 +99,7 @@ Page({
util
.
request
(
api
.
GoodsList
,
{
keyword
:
that
.
data
.
keyword
,
page
:
that
.
data
.
page
,
size
:
that
.
data
.
size
,
limit
:
that
.
data
.
limit
,
sort
:
that
.
data
.
currentSort
,
order
:
that
.
data
.
currentSortOrder
,
categoryId
:
that
.
data
.
categoryId
...
...
@@ -108,7 +108,7 @@ Page({
that
.
setData
({
searchStatus
:
true
,
categoryFilter
:
false
,
goodsList
:
res
.
data
.
goodsL
ist
,
goodsList
:
res
.
data
.
l
ist
,
filterCategory
:
res
.
data
.
filterCategoryList
});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment