...
|
...
|
@@ -37,8 +37,9 @@ if (kidsType) { |
|
|
|
|
|
$curNav = $navList.children('.focus');
|
|
|
|
|
|
navHammer = new Hammer($navList[0]);
|
|
|
navHammer.on('tap', function(e) {
|
|
|
if (kidsType) {
|
|
|
navHammer = new Hammer($navList[0]);
|
|
|
navHammer.on('tap', function(e) {
|
|
|
var $this = $(e.target).closest('li'),
|
|
|
$goods = $('.goods-list'),
|
|
|
$content;
|
...
|
...
|
@@ -59,7 +60,9 @@ navHammer.on('tap', function(e) { |
|
|
$curNav = $this;
|
|
|
|
|
|
$(document).trigger('scroll'); //Trigger lazyLoad
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
|
|
|
|
|
|
function search() {
|
|
|
if (loading) {
|
...
|
...
|
|