Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
ccbikai
2015-11-12 15:17:47 +0800
Commit
f39524764bf0060da38ae3993156781ba4cbf09e
2 parents
b05d2490
dc7c2865
Merge branch 'hotfix' of
http://git.dev.yoho.cn/web/yohobuy
into hotfix
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
11 deletions
static/js/product/list.js
static/js/product/newsale/discount.js
static/js/product/newsale/newarrival.js
template/m.yohobuy.com/actions/product/newsale/new.phtml
template/m.yohobuy.com/actions/product/newsale/sale.phtml
template/m.yohobuy.com/partials/product/list.phtml
static/js/product/list.js
View file @
f395247
...
...
@@ -41,7 +41,8 @@ var defaultOpt = {
size
:
$
(
'#size'
).
val
(),
price
:
$
(
'#price'
).
val
(),
discount
:
$
(
'#discount'
).
val
(),
query
:
$
(
'#query'
).
val
()
query
:
$
(
'#query'
).
val
(),
style
:
$
(
'#style'
).
val
()
};
var
$listNav
=
$
(
'#list-nav'
),
...
...
static/js/product/newsale/discount.js
View file @
f395247
...
...
@@ -34,7 +34,8 @@ var defaultOpt = {
color
:
$
(
'#color'
).
val
(),
size
:
$
(
'#size'
).
val
(),
price
:
$
(
'#price'
).
val
(),
discount
:
$
(
'#discount'
).
val
()
discount
:
$
(
'#discount'
).
val
(),
style
:
$
(
'#style'
).
val
()
};
var
$listNav
=
$
(
'#list-nav'
),
...
...
static/js/product/newsale/newarrival.js
View file @
f395247
...
...
@@ -41,7 +41,8 @@ var defaultOpt = {
limit
:
$
(
'#limit'
).
val
(),
channel
:
$
(
'#channel'
).
val
(),
p_d
:
$
(
'#p_d'
).
val
(),
dayLimit
:
1
dayLimit
:
1
,
style
:
$
(
'#style'
).
val
()
};
var
storeOpt
=
$
.
extend
({},
defaultOpt
);
//存储默认筛选条件以便重置
...
...
template/m.yohobuy.com/actions/product/newsale/new.phtml
View file @
f395247
...
...
@@ -85,11 +85,11 @@
{
{#if
limit
}
}
<input
id=
"limit"
type=
"hidden"
value=
{
{limit
}
}>
{
{/if
}
}
{
{#if
page
}
}
<input
id=
"page"
type=
"hidden"
value=
{
{page
}
}>
{
{/if
}
}
{
{#if
style
}
}
<input
id=
"style"
type=
"hidden"
value=
{
{style
}
}>
{
{/if
}
}
{
{>
product/suspend-cart
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/product/newsale/sale.phtml
View file @
f395247
...
...
@@ -93,14 +93,14 @@
<input
id=
"limit"
type=
"hidden"
value=
{
{limit
}
}>
{
{/if
}
}
{
{#if
page
}
}
<input
id=
"page"
type=
"hidden"
value=
{
{page
}
}>
{
{/if
}
}
{
{#if
discount
}
}
<input
id=
"discount"
type=
"hidden"
value=
{
{discount
}
}>
{
{/if
}
}
{
{#if
style
}
}
<input
id=
"style"
type=
"hidden"
value=
{
{style
}
}>
{
{/if
}
}
{
{>
product/suspend-cart
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/product/list.phtml
View file @
f395247
...
...
@@ -130,5 +130,9 @@
<input
id=
"query"
type=
"hidden"
value=
{
{query
}
}>
{
{/if
}
}
{
{#if
style
}
}
<input
id=
"style"
type=
"hidden"
value=
{
{style
}
}>
{
{/if
}
}
{
{>
product/suspend-cart
}
}
{
{/
goodList
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment