success : function(data) // { // if (data.ok=='1') // { // // td.find('.checkcs').find("input").replaceWith(z); // td.find(".checkcs").html(z); // var htmls = "编辑"; // td.find('a').replaceWith(htmls); // } // } // }); // }); // $('.check_cs').on("click",".qxsave",function(){ // var td = $(this).parent(); // var is_cz = td.find("select").length; // var html = ''; // td.find(".save").remove(); // // if(is_cz==1) // // { // // var z = td.find("select").find('option:selected').val(); // // }else // // { // // var z = td.find("input").val(); // // } // var mpn_bm = $(this).attr('mpn_bm'); // var bt = $(this).attr('bt'); // var zzsbh = td.attr('zzsbh'); // var edit_html = "编辑"; // td.find(".checkcs").replaceWith(html); // $(this).replaceWith(edit_html); // }); function copy(a) { var text = $(a).attr('title'); var str = $(a).prev().text().trim(); var $temp = $(''); $('body').append($temp); $temp.val(str).select(); document.execCommand('copy'); $temp.remove(); $(".ant-message").show().delay(3000).fadeOut(); } $(".lb_hot").on('click',function() { var urll= $(this).attr('url'); console.log("https://www.chenkeiot.com"+urll); window.location.href="https://www.chenkeiot.com"+urll; })