|
|
|
|
|
|
|
|
$.getJSON( |
|
|
$.getJSON( |
|
|
conf.openapi + "/documents/" + docid, |
|
|
conf.openapi + "/documents/" + docid, |
|
|
function (doc) { |
|
|
function (doc) { |
|
|
|
|
|
$('.autodoc_document_carousel').slick('unslick'); |
|
|
|
|
|
$('.autodoc_document_carousel').children().remove(); |
|
|
|
|
|
|
|
|
for (var i = 0; i < doc.pageId.length; i++) { |
|
|
for (var i = 0; i < doc.pageId.length; i++) { |
|
|
var item = $('.autodoc_document_template_carousel').clone(); |
|
|
var item = $('.autodoc_document_template_carousel').clone(); |
|
|
$(item).children('img').attr('data-lazy', |
|
|
$(item).children('img').attr('data-lazy', |