...
|
...
|
@@ -15,6 +15,18 @@ var $curContent = $contents.not('.hide'); |
|
|
|
|
|
var navHammer, ccHammer;
|
|
|
|
|
|
//初始化container高度
|
|
|
(function() {
|
|
|
var $header = $('.yoho-header'),
|
|
|
$search = $('#search-input');
|
|
|
|
|
|
var h = $(window).height() - $header.outerHeight() - $search.outerHeight() - $nav.outerHeight();
|
|
|
|
|
|
$categoryContainer.css('min-height', h);
|
|
|
|
|
|
$contents.height(h);
|
|
|
}());
|
|
|
|
|
|
$('#search-input').focus(function() {
|
|
|
$(this).blur();
|
|
|
});
|
...
|
...
|
|