Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
7 changed files
with
8 additions
and
10 deletions
framework @ 119c247f
@@ -129,8 +129,8 @@ class SearchData | @@ -129,8 +129,8 @@ class SearchData | ||
129 | 's_t_asc' => 'shelve_time:asc', | 129 | 's_t_asc' => 'shelve_time:asc', |
130 | 's_p_asc' => 'sales_price:asc', | 130 | 's_p_asc' => 'sales_price:asc', |
131 | 's_p_desc' => 'sales_price:desc', | 131 | 's_p_desc' => 'sales_price:desc', |
132 | - 's_d_desc' => 'discount:desc', | ||
133 | - 's_d_asc' => 'discount:asc', | 132 | + 'p_d_desc' => 'discount:desc', |
133 | + 'p_d_asc' => 'discount:asc', | ||
134 | 'skn_desc' => 'product_skn:desc', | 134 | 'skn_desc' => 'product_skn:desc', |
135 | 'skn_asc' => 'product_skn:asc', | 135 | 'skn_asc' => 'product_skn:asc', |
136 | 'activities_desc' => 'activities.order_by:desc', | 136 | 'activities_desc' => 'activities.order_by:desc', |
@@ -61,7 +61,7 @@ class ListProcess | @@ -61,7 +61,7 @@ class ListProcess | ||
61 | $filters = array('classify' => array()); | 61 | $filters = array('classify' => array()); |
62 | 62 | ||
63 | // 返回数据中有没有gender时要添加gender | 63 | // 返回数据中有没有gender时要添加gender |
64 | - // $data['gender'] = array('2,3'=>'GIRLS','1,3'=>'BOYS'); | 64 | + $data['gender'] = array('2,3'=>'GIRLS','1,3'=>'BOYS'); |
65 | 65 | ||
66 | $num = 1; | 66 | $num = 1; |
67 | foreach ($data as $key => $val) { | 67 | foreach ($data as $key => $val) { |
@@ -12,7 +12,6 @@ var $ = require('jquery'), | @@ -12,7 +12,6 @@ var $ = require('jquery'), | ||
12 | 12 | ||
13 | var navHammer, | 13 | var navHammer, |
14 | winH = $(window).height(), | 14 | winH = $(window).height(), |
15 | - loadMoreH = $('#load-more').height(), | ||
16 | $goodList = $('#goods-list'), | 15 | $goodList = $('#goods-list'), |
17 | searching = false, | 16 | searching = false, |
18 | page = 0, | 17 | page = 0, |
@@ -140,7 +139,7 @@ $('.maybe-like p').on('touchstart', function (e) { | @@ -140,7 +139,7 @@ $('.maybe-like p').on('touchstart', function (e) { | ||
140 | 139 | ||
141 | //srcoll to load more | 140 | //srcoll to load more |
142 | $(window).scroll(function () { | 141 | $(window).scroll(function () { |
143 | - if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH - 50) { | 142 | + if ($(window).scrollTop() + winH >= $(document).height()) { |
144 | search(); | 143 | search(); |
145 | } | 144 | } |
146 | }); | 145 | }); |
@@ -74,7 +74,7 @@ if ($('.swiper-container .swiper-slide').length > 1) { | @@ -74,7 +74,7 @@ if ($('.swiper-container .swiper-slide').length > 1) { | ||
74 | autoplay: 3000, | 74 | autoplay: 3000, |
75 | autoplayDisableOnInteraction: false, | 75 | autoplayDisableOnInteraction: false, |
76 | paginationClickable: true, | 76 | paginationClickable: true, |
77 | - pagination: '.swiper-pagination' | 77 | + pagination: '.banner-top .pagination-inner' |
78 | }); | 78 | }); |
79 | } | 79 | } |
80 | 80 |
@@ -86,7 +86,7 @@ if ($('.swiper-container .swiper-slide').length > 1) { | @@ -86,7 +86,7 @@ if ($('.swiper-container .swiper-slide').length > 1) { | ||
86 | autoplay: 3000, | 86 | autoplay: 3000, |
87 | autoplayDisableOnInteraction: false, | 87 | autoplayDisableOnInteraction: false, |
88 | paginationClickable: true, | 88 | paginationClickable: true, |
89 | - pagination: '.swiper-pagination' | 89 | + pagination: '.banner-top .pagination-inner' |
90 | }); | 90 | }); |
91 | } | 91 | } |
92 | 92 |
@@ -17,15 +17,14 @@ | @@ -17,15 +17,14 @@ | ||
17 | overflow: hidden; | 17 | overflow: hidden; |
18 | 18 | ||
19 | .brand-logo { | 19 | .brand-logo { |
20 | - display: table-cell; | ||
21 | width: 100%; | 20 | width: 100%; |
22 | height: 128rem / $pxConvertRem; | 21 | height: 128rem / $pxConvertRem; |
23 | line-height: 128rem / $pxConvertRem; | 22 | line-height: 128rem / $pxConvertRem; |
24 | text-align: center; | 23 | text-align: center; |
25 | font-size: 0; | 24 | font-size: 0; |
26 | - vertical-align: middle; | ||
27 | 25 | ||
28 | img { | 26 | img { |
27 | + vertical-align: middle; | ||
29 | max-width: 100%; | 28 | max-width: 100%; |
30 | max-height: 100%; | 29 | max-height: 100%; |
31 | } | 30 | } |
-
Please register or login to post a comment