Authored by Rock Zhang

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop

@@ -139,7 +139,7 @@ $('.maybe-like p').on('touchstart', function (e) { @@ -139,7 +139,7 @@ $('.maybe-like p').on('touchstart', function (e) {
139 139
140 //srcoll to load more 140 //srcoll to load more
141 $(window).scroll(function () { 141 $(window).scroll(function () {
142 - if ($(window).scrollTop() + winH >= $(document).height()) { 142 + if ($(window).scrollTop() + winH >= $(document).height() - 50) {
143 search(); 143 search();
144 } 144 }
145 }); 145 });
@@ -41,7 +41,7 @@ if ($('#float-layer-btn') && $('#float-layer-btn')[0]) { @@ -41,7 +41,7 @@ if ($('#float-layer-btn') && $('#float-layer-btn')[0]) {
41 e.srcEvent.stopPropagation(); 41 e.srcEvent.stopPropagation();
42 }); 42 });
43 43
44 - if (!window.cookie('_float-layer-app')) { 44 + if (typeof window.cookie === 'function' && !window.cookie('_float-layer-app')) {
45 $('#float-layer-app').show(); 45 $('#float-layer-app').show();
46 } else { 46 } else {
47 $('#float-layer-app').hide(); 47 $('#float-layer-app').hide();
@@ -77,7 +77,7 @@ @@ -77,7 +77,7 @@
77 img { 77 img {
78 display: block; 78 display: block;
79 width: 100%; 79 width: 100%;
80 - max-height: 368rem / $pxConvertRem; 80 + height: 368rem / $pxConvertRem;
81 } 81 }
82 82
83 .few-tag { 83 .few-tag {