Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
444e4978c79dfe0270a287ec24c95ff83d7c72c3
1 parent
098d6cc9
列表页面价格排序 默认从低到高 code review by @liangzhifeng
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
static/js/product/list.js
static/js/product/newsale/discount.js
template/m.yohobuy.com/actions/product/newsale/sale.phtml
template/m.yohobuy.com/partials/product/list.phtml
static/js/product/list.js
View file @
444e497
...
...
@@ -45,7 +45,7 @@ var $listNav = $('#list-nav'),
end
:
false
},
price
:
{
order
:
0
,
order
:
1
,
reload
:
true
,
page
:
0
,
end
:
false
...
...
@@ -474,4 +474,3 @@ $listNav.on('touchstart', 'li', function() {
}).
on
(
'touchend touchcancel'
,
'li'
,
function
()
{
$listNav
.
find
(
'li'
).
removeClass
(
'bytouch'
);
});
...
...
static/js/product/newsale/discount.js
View file @
444e497
...
...
@@ -37,7 +37,7 @@ var $listNav = $('#list-nav'),
end
:
false
},
price
:
{
order
:
0
,
order
:
1
,
reload
:
true
,
page
:
0
,
end
:
false
...
...
template/m.yohobuy.com/actions/product/newsale/sale.phtml
View file @
444e497
...
...
@@ -15,8 +15,8 @@
<a
href=
"javascript:void(0);"
>
<span
class=
"spanTest"
>价格</span>
<span
class=
"icon"
>
<i
class=
"iconfont up"
>
615
;</i>
<i
class=
"iconfont down cur"
>
616
;</i>
<i
class=
"iconfont up cur"
>
615
;</i>
<i
class=
"iconfont down"
>
616
;</i>
</span>
</a>
</li>
...
...
@@ -53,4 +53,4 @@
{
{>
product/suspend-cart
}
}
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer
}
}
...
...
template/m.yohobuy.com/partials/product/list.phtml
View file @
444e497
...
...
@@ -61,8 +61,8 @@
<a
href=
"javascript:void(0);"
>
<span
class=
"nav-txt"
>价格</span>
<span
class=
"icon"
>
<i
class=
"iconfont up"
>
615
;</i>
<i
class=
"iconfont down cur"
>
616
;</i>
<i
class=
"iconfont up cur"
>
615
;</i>
<i
class=
"iconfont down"
>
616
;</i>
</span>
</a>
</li>
...
...
@@ -93,4 +93,4 @@
{
{>
product/query-param
}
}
{
{>
product/suspend-cart
}
}
{
{/
goodList
}
}
\ No newline at end of file
{
{/
goodList
}
}
...
...
Please
register
or
login
to post a comment