Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2015-10-28 19:19:42 +0800
Commit
44a9e0671ee82eabd640492c0992869ebad56f46
1 parent
866b43e0
add attr query to search
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
static/js/product/list.js
template/m.yohobuy.com/actions/product/index/index.phtml
static/js/product/list.js
View file @
44a9e06
...
...
@@ -30,7 +30,8 @@ var defaultOpt = {
color
:
$
(
'#color'
).
val
(),
size
:
$
(
'#size'
).
val
(),
price
:
$
(
'#price'
).
val
(),
discount
:
$
(
'#discount'
).
val
()
discount
:
$
(
'#discount'
).
val
(),
query
:
$
(
'#query'
).
val
()
};
var
$listNav
=
$
(
'#list-nav'
),
...
...
template/m.yohobuy.com/actions/product/index/index.phtml
View file @
44a9e06
...
...
@@ -122,6 +122,10 @@
{
{#if
discount
}
}
<input
id=
"discount"
type=
"hidden"
value=
{
{discount
}
}>
{
{/if
}
}
{
{#if
query
}
}
<input
id=
"query"
type=
"hidden"
value=
{
{query
}
}>
{
{/if
}
}
{
{/
goodList
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment