1function shoucang(obj,cpid){ 2 $.post("/index/ajax/shoucang.html",{ cpid: cpid},function(data){ 3 if(data==1){ 4 layer.msg('å·²æ¶èï¼',{time: 1000}); 5 }else if(data==2){ 6 $(obj).html('<i class="fa-star"></i>å·²æ¶è'); 7 layer.msg('æ¶èæåï¼',{time: 1000}); 8 }else{ 9 layer.msg('ç»å½åæè½æ¶èï¼',{time: 1000}); 10 } 11 },"json"); 12} 13$(function(){ 14 $("#logout").click(function(){ 15 $.post("/index/member/logout.html",function(data){ 16 layer.msg(data.msg,{ 17 time: 1000, 18 },function(){ 19 if(data.url!=''){ 20 window.location.href = data.url; 21 } 22 }); 23 },"json"); 24 }); 25 $("#logout1").click(function(){ 26 $.post("/index/member/logout.html",function(data){ 27 layer.msg(data.msg,{ 28 time: 1000, 29 },function(){ 30 if(data.url!=''){ 31 parent.location.href = data.url; 32 } 33 }); 34 },"json"); 35 }); 36});
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.