1$('#content-lotes-destaques').hide(); 2$('#lote-mais-visitados').hide(); 3 4// function setLotesDestaques(lotes) { 5// //console.log(data); 6// lotes = shuffleArray(lotes); 7// $.each(lotes, function (i, data) { 8// if (count_lotes_destaque <= limit_lotes_destaque) { 9// count_lotes_destaque = count_lotes_destaque + 1; 10// 11// var link_leilao; 12// var link_lote; 13// 14// var lote_html = $('#lote-destaque-item').clone(); 15// 16// var lote_id = data.id; 17// //console.log(data.val()); 18// 19// var lote_destaque_id = 'lote-destaque-' + lote_id; 20// lote_html.attr("id", lote_destaque_id); 21// 22// //Data 23// lote_html.find('#nm_data').html(data.data_formatada); 24// 25// //Numero lote 26// lote_html.find("#lote-nu").html('LOTE ' + data.nu); 27// 28// //Titulo 29// lote_html.find("#lote-nm_titulo").html(data.nm_titulo); 30// 31// //Imagem do lote 32// if ((data.nm_path != undefined) && (data.nm_diretorioimg != undefined)) { 33// lote_html.find("#lote-img").attr("src", vlanceConfigContainer.urlBase + '/public/fotos/' + data.nm_diretorioimg + '/640x480/' + data.nm_path); 34// } else { 35// lote_html.find("#lote-img").attr("src", vlanceConfigContainer.urlBase + '/public/fotos/nao-disponivel.jpg'); 36// } 37// 38// lote_html.find("#lote-img").attr("alt", data.nm_descricao); 39// 40// if (data.nm_link != '') { 41// if (/^http/.test(data.nm_link)) { 42// link_leilao = data.nm_link; 43// } else { 44// link_leilao = 'http://' + data.nm_link; 45// } 46// lote_html.find('.link-lote').attr('target', '_blank'); 47// link_lote = link_leilao + '/lote/' + lote_id; 48// } else { 49// link_lote = '/leilao/index/leilao_id/' + data.leilao_id + '/lote/' + lote_id; 50// } 51// 52// lote_html.find(".link-lote").attr('href', link_lote); 53// 54// //Valor 55// //??? Dif ultimo / maior lance 56// var vl_lance = data.vl_maiorlance; 57// if (data.vl_lanceinicial > data.vl_maiorlance) { 58// var vl_lance = data.vl_lanceinicial; 59// } 60// vl_lance = numberToReal(vl_lance); 61// lote_html.find("#lote-vl_lance").html(vl_lance); 62// 63// if (data.nu_leilao > 0) { 64// console.log 65// var vl_lance_segundoleilao = data.vl_lanceinicial_segundoleilao; 66// vl_lance_segundoleilao = numberToReal(vl_lance_segundoleilao); 67// lote_html.find("#lote-vl_lance-segundoleilao").html('2º Leilão: ' + vl_lance_segundoleilao); 68// 69// lote_html.find("#lote-vl_lance").html('1º Leilão: ' + vl_lance); 70// if (data.nu_leilao == 2) { 71// lote_html.find("#lote-vl_lance").html('<strike>1º Leilão: ' + vl_lance + '</strike>'); 72// } 73// } 74// 75// $('#lotes-destaque').owlCarousel('add', lote_html[0].outerHTML).owlCarousel('update'); 76// } 77// }); 78// }
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.