$(function() {
$("#swiper").slick({
dots: false,
infinite: true,
slidesToScroll: 1,
lazyLoad: 'ondemand',
slidesToShow: 1,
lazyLoading: true,
autoplay: true,
centerMode: false,
arrows:false,
fade:true,
speed:1300,
autoplaySpeed:5000,
customPaging:function(slider, i) {
return '';
}
});
$("#special-list").slick({
dots: true,
infinite: true,
slidesToScroll: 1,
slidesToShow: 1,
autoplay: true,
arrows:false,
speed:1300,
autoplaySpeed:5000,
customPaging:function(slider, i) {
return '';
}
});
// var mySwiper = new Swiper('.swiper-container', {
// loop: true, //璁剧疆涓簍rue锛屽垯寮€鍚痩oop锛堢幆璺級妯″紡锛岄粯璁や负false
// speed: 300,//婊戝姩閫熷害
// paginationClickable :true,
// autoplay: 5000,//鑷姩鍒囨崲鐨勬椂闂撮棿闅旓紙鍗曚綅ms锛夛紝涓嶈瀹氳鍙傛暟slide涓嶄細鑷姩鍒囨崲銆
// autoplayDisableOnInteraction : false, //鐢ㄦ埛鎿嶄綔swiper涔嬪悗锛屾槸鍚︾姝utoplay锛岄粯璁や负true锛氬仠姝€
// //-- 濡傛灉闇€瑕佸垎椤靛櫒 --
// pagination:'.pagination',
//})
// $("#topiclist").slick({
// dots: false,
// infinite: false,
// slidesToScroll: 1,
// slidesToShow: 3,
// autoplay: false,
// arrows:false
// });
$(".contentdetail p img").each(function() {
$(this).parent().css("text-indent","0");
});
$(".contentdetail p table").each(function() {
$(this).parent().css("text-indent","0");
});
$("#maincontent img").css("margin","0 auto");
$("video").css("max-width","100%");
$("video").parent().css("text-indent","0 !important");
$("video").parent().parent().find("p").css("text-indent","0");
});