Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
2017-08-02 14:51:18 +0800
Commit
a78467ff0207984df077c220f93634d05bab3a45
2 parents
b0d26174
9edc3402
Merge remote-tracking branch 'origin/feature/shopEntry' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
public/js/product/list/product-list-with-filter.js
public/js/product/shop.classics.page.js
public/js/product/shop/shop-base.js
public/js/product/list/product-list-with-filter.js
View file @
a78467f
...
...
@@ -201,6 +201,9 @@ class ProductListWithFilter {
type
:
'GET'
,
url
:
this
.
filterUrl
,
data
:
this
.
filterParams
,
xhrFields
:
{
withCredentials
:
true
},
success
:
(
data
)
=>
{
if
(
!
data
)
{
return
false
;
...
...
public/js/product/shop.classics.page.js
View file @
a78467f
...
...
@@ -109,6 +109,9 @@ let defaultOpt = require('common/query-param');
order
:
'0'
,
channel
:
defaultOpt
.
channel
},
xhrFields
:
{
withCredentials
:
true
},
success
:
function
(
data
)
{
$
(
'.shop-index'
).
after
(
data
);
...
...
public/js/product/shop/shop-base.js
View file @
a78467f
...
...
@@ -578,6 +578,9 @@ $.ajax({
type
:
'GET'
,
url
:
location
.
protocol
+
'//m.yohobuy.com/product/search/filter'
,
data
:
defaultOpt
,
xhrFields
:
{
withCredentials
:
true
},
success
:
function
(
data
)
{
$goodsContainer
.
append
(
data
);
...
...
Please
register
or
login
to post a comment