$(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, //设置为true,则开启loop(环路)模式,默认为false
// speed: 300,//滑动速度
// paginationClickable :true,
// autoplay: 5000,//自动切换的时间间隔(单位ms),不设定该参数slide不会自动切换。
// autoplayDisableOnInteraction : false, //用户操作swiper之后,是否禁止autoplay,默认为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");
});