...
|
...
|
@@ -2,11 +2,14 @@ |
|
|
* Created by Administrator on 2016/4/13.
|
|
|
*/
|
|
|
var $ = require('jquery'),
|
|
|
Swiper = require('yoho.iswiper'),
|
|
|
$receive = $('.main-right-receive'),
|
|
|
$mask = $('.floor-mask'),
|
|
|
$message = $('.floor-message'),
|
|
|
$tooltip = $('.floor-tooltip');
|
|
|
|
|
|
var bannerSwiper;
|
|
|
|
|
|
$receive.on('click', function() {
|
|
|
var $curDom = $(this);
|
|
|
|
...
|
...
|
@@ -47,4 +50,17 @@ $('.coupon-floor a').on('click', function() { |
|
|
if ($(this).attr('href').length <= 0) {
|
|
|
return false;
|
|
|
}
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
});
|
|
|
|
|
|
if ($('.banner-swiper').find('li').size() > 1) {
|
|
|
bannerSwiper = new Swiper('.banner-swiper', {
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
|
|
loop: true,
|
|
|
autoplay: 3000,
|
|
|
autoplayDisableOnInteraction: false,
|
|
|
paginationClickable: true,
|
|
|
slideElement: 'li',
|
|
|
pagination: '.banner-top .pagination-inner'
|
|
|
});
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|