Showing
1 changed file
with
0 additions
and
39 deletions
@@ -266,45 +266,6 @@ define('channel', function(require, exports) { | @@ -266,45 +266,6 @@ define('channel', function(require, exports) { | ||
266 | }); | 266 | }); |
267 | } | 267 | } |
268 | 268 | ||
269 | - $('.dib').on('click', 'a', function() { | ||
270 | - bannerSwipe.slide($(this).index()); | ||
271 | - }) | ||
272 | - | ||
273 | - if ($('.slide-box').find('.box').size() <= 1) { | ||
274 | - $('.slide-navigator').hide(); | ||
275 | - $('.slide-control').hide(); | ||
276 | - } | ||
277 | - | ||
278 | - $('.cooperation-slide-prev').addClass('disable'); | ||
279 | - cooperateSwiper = new swiper('.cooperation-slide-box', { | ||
280 | - wrapperClass: 'slide-wrap', | ||
281 | - slideClass: 'box', | ||
282 | - slidesPerView: 'auto', | ||
283 | - onSlideChangeStart: function() { | ||
284 | - var swiperLen = $('.cooperation-slide-box').find('.box').size(); | ||
285 | - $('.cooperation-slide-prev,.cooperation-slide-next').removeClass('disable'); | ||
286 | - if (cooperateSwiper.activeIndex === swiperLen - 1) { | ||
287 | - $('.cooperation-slide-next').addClass('disable'); | ||
288 | - } else if (cooperateSwiper.activeIndex === 0) { | ||
289 | - $('.cooperation-slide-prev').addClass('disable'); | ||
290 | - } | ||
291 | - } | ||
292 | - }); | ||
293 | - | ||
294 | - $('.cooperation-slide-prev').on('click', function(e) { | ||
295 | - e.preventDefault(); | ||
296 | - cooperateSwiper.swipePrev(); | ||
297 | - }); | ||
298 | - $('.cooperation-slide-next').on('click', function(e) { | ||
299 | - e.preventDefault(); | ||
300 | - cooperateSwiper.swipeNext(); | ||
301 | - }); | ||
302 | - if (parseInt($("#right_banner").attr("num")) > 0) { | ||
303 | - $("#img_flow").find(".layout-item").eq(2).before($("#right_banner").html()); | ||
304 | - } | ||
305 | - setFlowLayout(); | ||
306 | - | ||
307 | - | ||
308 | /** | 269 | /** |
309 | * 将 资讯页面的 固定 banner 位插入资讯右侧 | 270 | * 将 资讯页面的 固定 banner 位插入资讯右侧 |
310 | */ | 271 | */ |
-
Please register or login to post a comment