Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
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
hf
2015-12-07 19:13:52 +0800
Commit
5fa380f429eb8cf6e5c16072f8212e96a75f70e8
2 parents
25f783de
49ee6cc3
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
library/Plugin/DataProcess/ListProcess.php
static/js/me/fav.js
static/js/product/detail/desc.js
static/js/product/detail/detail.js
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Newsale.php
library/Plugin/DataProcess/ListProcess.php
View file @
5fa380f
...
...
@@ -247,6 +247,9 @@ class ListProcess
private
static
function
priceRange
(
$data
)
{
// 首先对价格进行排序
ksort
(
$data
,
SORT_NUMERIC
);
$result
=
array
(
'title'
=>
'价格'
,
'name'
=>
'所有价格'
,
...
...
static/js/me/fav.js
View file @
5fa380f
...
...
@@ -112,7 +112,6 @@ function loadData($parent, url, page) {
}
else
{
return
;
}
window
.
rePosFooter
();
//},1000);
}
...
...
static/js/product/detail/desc.js
View file @
5fa380f
...
...
@@ -18,6 +18,8 @@ var introUrl = $('#introUrl').val(),
var
sizeSwiper
,
refSwiper
;
var
UA
=
navigator
.
userAgent
.
toLowerCase
().
toString
();
//判断是否要显示向左滑动提示
function
hiddenTips
(
$ele
)
{
var
offsetContainer
,
...
...
@@ -69,7 +71,9 @@ function search() {
hiddenTips
(
$
(
'#size-swiper-container'
));
hiddenTips
(
$
(
'#reference-swiper-container'
));
if
(
UA
.
indexOf
(
'mqqbrowser'
)
>
0
)
{
$
(
'.detail > div'
).
removeClass
(
'column'
).
addClass
(
'oldbox'
);
}
searching
=
false
;
end
=
true
;
loading
.
hideLoadingMask
();
...
...
static/js/product/detail/detail.js
View file @
5fa380f
...
...
@@ -16,7 +16,7 @@ var goodsDiscountEl = document.getElementById('goodsDiscount'),
goodsDiscountHammer
=
goodsDiscountEl
&&
new
Hammer
(
goodsDiscountEl
);
var
$cart
=
$
(
'.cart-bar'
);
var
UA
=
navigator
.
userAgent
.
toLowerCase
().
toString
();
require
(
'./desc'
);
require
(
'./comments-consults'
);
...
...
@@ -82,7 +82,6 @@ $.ajax({
}
});
if
(
UA
.
indexOf
(
'mqqbrowser'
)
>
-
1
)
{
$
(
'.detail > div'
).
removeClass
(
'column'
).
addClass
(
'oldbox'
);
}
require
(
'./like'
);
...
...
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Newsale.php
View file @
5fa380f
...
...
@@ -177,7 +177,7 @@ class NewsaleController extends AbstractAction
$color
=
$this
->
get
(
'color'
,
null
);
$size
=
$this
->
get
(
'size'
,
null
);
$price
=
$this
->
get
(
'price'
,
null
);
$p_d
=
$this
->
get
(
'discount'
,
null
)
;
$p_d
=
'0.1,0.3'
;
$dayLimit
=
$this
->
get
(
'dayLimit'
,
null
);
$limit
=
$this
->
get
(
'limit'
,
60
);
$page
=
$this
->
get
(
'page'
,
1
);
...
...
Please
register
or
login
to post a comment