|
|
|
|
|
|
|
|
$(item).children('img').attr('data-lazy', |
|
|
$(item).children('img').attr('data-lazy', |
|
|
conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=200"); |
|
|
conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=200"); |
|
|
|
|
|
|
|
|
$(item).children('span').html(i); |
|
|
|
|
|
console.log(item); |
|
|
|
|
|
|
|
|
$(item).children('span').html(i+1); |
|
|
$('.autodoc_document_carousel').append(item); |
|
|
$('.autodoc_document_carousel').append(item); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
$('.autodoc_document_carousel').slick({ |
|
|
$('.autodoc_document_carousel').slick({ |
|
|
lazyLoad: 'ondemand', |
|
|
lazyLoad: 'ondemand', |
|
|
slidesToShow: 4, |
|
|
slidesToShow: 4, |
|
|
slidesToScroll: 4, |
|
|
|
|
|
centerMode: true |
|
|
|
|
|
|
|
|
slidesToScroll: 4 |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
} |
|
|
} |