...
|
...
|
@@ -94,6 +94,20 @@ $subNav.each(function () { |
|
|
}
|
|
|
});
|
|
|
|
|
|
$sideNav.children('ul').children('li').on('touchstart', function() {
|
|
|
$sideNav.children('ul').children('li').css('background', '#fff');
|
|
|
$(this).css('background', '#eee');
|
|
|
}).on('touchend touchcancel', function() {
|
|
|
$(this).css('background', '#fff');
|
|
|
});
|
|
|
|
|
|
// $sideNav.children('ul').children('li').each(function() {
|
|
|
// var liHammer = new Hammer($(this)[0]);
|
|
|
// liHammer.on('', function() {
|
|
|
|
|
|
// });
|
|
|
// });
|
|
|
|
|
|
//头部banner轮播
|
|
|
if ($('.banner-swiper').find('li').size() > 1) {
|
|
|
bannerSwiper = new Swiper('.banner-swiper', {
|
...
|
...
|
|