Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
4 changed files
with
5 additions
and
11 deletions
@@ -52,14 +52,6 @@ if ($brandList.length > 0) { | @@ -52,14 +52,6 @@ if ($brandList.length > 0) { | ||
52 | }); | 52 | }); |
53 | } | 53 | } |
54 | 54 | ||
55 | -// $('#right-bar .con').find('b').unbind().on('tap', function() { | ||
56 | -// var index = $(this).index(); | ||
57 | - | ||
58 | -// if ($('.bar-' + index).size() > 0) { | ||
59 | -// document.body.scrollTop = parseInt($('.bar-' + index)[0].offsetTop) - parseInt(brandSwipe - 1); | ||
60 | -// } | ||
61 | -// }); | ||
62 | - | ||
63 | myHammer = new Hammer($('#right-bar .con').find('b').unbind()[0]); | 55 | myHammer = new Hammer($('#right-bar .con').find('b').unbind()[0]); |
64 | myHammer.on('tap', function(e) { | 56 | myHammer.on('tap', function(e) { |
65 | var index = $(this).index(); | 57 | var index = $(this).index(); |
@@ -99,11 +99,12 @@ $(window).scroll(function () { | @@ -99,11 +99,12 @@ $(window).scroll(function () { | ||
99 | } | 99 | } |
100 | return; | 100 | return; |
101 | } | 101 | } |
102 | + | ||
102 | $goodList.append(data); | 103 | $goodList.append(data); |
104 | + num = $goodList.find('.good-info').length; | ||
103 | 105 | ||
104 | //lazyLoad | 106 | //lazyLoad |
105 | - //lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy')); | ||
106 | - lazyLoad($('.good-info').find('img.lazy')); | 107 | + lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy')); |
107 | 108 | ||
108 | loading = false; | 109 | loading = false; |
109 | page++; | 110 | page++; |
@@ -33,6 +33,7 @@ | @@ -33,6 +33,7 @@ | ||
33 | line-height: 90rem / $pxConvertRem; | 33 | line-height: 90rem / $pxConvertRem; |
34 | @include background-image(linear-gradient(#323232, #414141)); | 34 | @include background-image(linear-gradient(#323232, #414141)); |
35 | position: relative; | 35 | position: relative; |
36 | + z-index: 100; | ||
36 | .iconfont { | 37 | .iconfont { |
37 | color: #fff; | 38 | color: #fff; |
38 | } | 39 | } |
@@ -3,7 +3,7 @@ use Yaf\Application; | @@ -3,7 +3,7 @@ use Yaf\Application; | ||
3 | 3 | ||
4 | define('SITE_MAIN', 'http://m.dev.yohobuy.com'); // 网站主域名 | 4 | define('SITE_MAIN', 'http://m.dev.yohobuy.com'); // 网站主域名 |
5 | define('OLD_MAIN', 'http://m.yohobuy.com'); // 网站旧域名 | 5 | define('OLD_MAIN', 'http://m.yohobuy.com'); // 网站旧域名 |
6 | -define('COOKIE_DOMAIN', '.m.dev.yohobuy.com'); // COOKIE作用域 | 6 | +define('COOKIE_DOMAIN', '.dev.yohobuy.com'); // COOKIE作用域 |
7 | define('SUB_DOMAIN', '.dev.yohobuy.com'); // 子域名后缀 | 7 | define('SUB_DOMAIN', '.dev.yohobuy.com'); // 子域名后缀 |
8 | define('USE_CACHE', false); // 缓存的开关 | 8 | define('USE_CACHE', false); // 缓存的开关 |
9 | define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录 | 9 | define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录 |
-
Please register or login to post a comment