Authored by ccbikai

品牌一览顶部缝隙

@@ -12,9 +12,9 @@ var $ = require('jquery'), @@ -12,9 +12,9 @@ var $ = require('jquery'),
12 var swiper, 12 var swiper,
13 $brandList = $('.brand-list'); 13 $brandList = $('.brand-list');
14 14
15 -var searchH = $('.newbrand-search').height(),  
16 - headerH = $('.yoho-header').height(),  
17 - brandSwipe = parseInt(searchH) + parseInt(headerH); 15 +var searchH = $('.newbrand-search').outerHeight(),
  16 + headerH = $('.yoho-header').outerHeight(),
  17 + brandSwipe = parseInt(searchH) + parseInt(headerH) - 1;
18 18
19 var myHammer; 19 var myHammer;
20 20