1/** 2 * Created by house on 2018/11/8. 3 */ 4 5 6 7 8 9$(function(){ 10 11 12 13 $('.banner').owlCarousel({ 14 items:1, 15 autoPlay: 5000, 16 navigation: false, 17 pagination : true, 18 itemsDesktop : [1199, 1], 19 itemsDesktopSmall : [979, 1], 20 itemsTablet : [768, 1], 21 itemsMobile : [479, 1], 22 addClassActive:true, 23 navigationText: ["", ""], 24 transitionStyle : "fade", 25 }); 26 27 $('#zhengshu_list').owlCarousel({ 28 items:4, 29 autoPlay: 5000, 30 navigation: false, 31 pagination : false, 32 itemsDesktop : [1199, 1], 33 itemsDesktopSmall : [979, 1], 34 itemsTablet : [768, 2], 35 itemsMobile : [479,2], 36 addClassActive:true, 37 navigationText: ["", ""], 38 //transitionStyle : "fade", 39 }); 40 41 42 43 //_toggle($('.chanpin .typelist .item'),$('.product .list_box .list')) 44 function _toggle(obj,obj2) { 45 obj.each(function (i) { 46 $(this).click(function () { 47 obj.each(function () { 48 $(this).removeClass('on') 49 }) 50 obj.eq(i).addClass('on') 51 // 52 obj2.each(function () { 53 $(this).removeClass('on') 54 }) 55 obj2.eq(i).addClass('on') 56 }) 57 }) 58 } 59 60 61 if($(window).width()>768){ 62 63 64 }else{ 65 66 $('#owl_news').owlCarousel({ 67 items:1, 68 autoPlay: 5000, 69 navigation: false, 70 pagination : false, 71 itemsDesktop : [1199, 1], 72 itemsDesktopSmall : [979, 1], 73 itemsTablet : [768, 1], 74 itemsMobile : [479,1], 75 addClassActive:true, 76 navigationText: ["", ""], 77 //transitionStyle : "fade", 78 }); 79 80 81 82 83 } 84}) 85 86
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.