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
Plain Diff
Browse Files
Authored by
xuqi
2015-11-03 04:07:00 +0800
Commit
34f42d51fe8736b63453a146cf41c5c4a202f72e
2 parents
d2ae3d29
38bcf34e
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
10 deletions
framework
library/LibModels/Wap/Product/SearchData.php
library/Plugin/DataProcess/ListProcess.php
static/js/home/maybe-like.js
static/js/product/newsale/discount.js
static/js/product/newsale/newarrival.js
static/sass/home/_hot-brands.scss
framework
@
119c247f
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
Subproject commit
119c247f5cf929aa1e059e40609bb16dd6b58f05
...
...
library/LibModels/Wap/Product/SearchData.php
View file @
34f42d5
...
...
@@ -129,8 +129,8 @@ class SearchData
's_t_asc'
=>
'shelve_time:asc'
,
's_p_asc'
=>
'sales_price:asc'
,
's_p_desc'
=>
'sales_price:desc'
,
's_d_desc'
=>
'discount:desc'
,
's_d_asc'
=>
'discount:asc'
,
'p_d_desc'
=>
'discount:desc'
,
'p_d_asc'
=>
'discount:asc'
,
'skn_desc'
=>
'product_skn:desc'
,
'skn_asc'
=>
'product_skn:asc'
,
'activities_desc'
=>
'activities.order_by:desc'
,
...
...
library/Plugin/DataProcess/ListProcess.php
View file @
34f42d5
...
...
@@ -61,7 +61,7 @@ class ListProcess
$filters
=
array
(
'classify'
=>
array
());
// 返回数据中有没有gender时要添加gender
//
$data['gender'] = array('2,3'=>'GIRLS','1,3'=>'BOYS');
$data
[
'gender'
]
=
array
(
'2,3'
=>
'GIRLS'
,
'1,3'
=>
'BOYS'
);
$num
=
1
;
foreach
(
$data
as
$key
=>
$val
)
{
...
...
static/js/home/maybe-like.js
View file @
34f42d5
...
...
@@ -12,7 +12,6 @@ var $ = require('jquery'),
var
navHammer
,
winH
=
$
(
window
).
height
(),
loadMoreH
=
$
(
'#load-more'
).
height
(),
$goodList
=
$
(
'#goods-list'
),
searching
=
false
,
page
=
0
,
...
...
@@ -140,7 +139,7 @@ $('.maybe-like p').on('touchstart', function (e) {
//srcoll to load more
$
(
window
).
scroll
(
function
()
{
if
(
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
()
-
loadMoreH
-
50
)
{
if
(
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
())
{
search
();
}
});
\ No newline at end of file
...
...
static/js/product/newsale/discount.js
View file @
34f42d5
...
...
@@ -74,7 +74,7 @@ if ($('.swiper-container .swiper-slide').length > 1) {
autoplay
:
3000
,
autoplayDisableOnInteraction
:
false
,
paginationClickable
:
true
,
pagination
:
'.
swiper-pagination
'
pagination
:
'.
banner-top .pagination-inner
'
});
}
...
...
static/js/product/newsale/newarrival.js
View file @
34f42d5
...
...
@@ -86,7 +86,7 @@ if ($('.swiper-container .swiper-slide').length > 1) {
autoplay
:
3000
,
autoplayDisableOnInteraction
:
false
,
paginationClickable
:
true
,
pagination
:
'.
swiper-pagination
'
pagination
:
'.
banner-top .pagination-inner
'
});
}
...
...
static/sass/home/_hot-brands.scss
View file @
34f42d5
...
...
@@ -17,15 +17,14 @@
overflow
:
hidden
;
.brand-logo
{
display
:
table-cell
;
width
:
100%
;
height
:
128rem
/
$pxConvertRem
;
line-height
:
128rem
/
$pxConvertRem
;
text-align
:
center
;
font-size
:
0
;
vertical-align
:
middle
;
img
{
vertical-align
:
middle
;
max-width
:
100%
;
max-height
:
100%
;
}
...
...
Please
register
or
login
to post a comment