1$(function () { 2 /*å³ä¾§timeéç¹*/ 3 $(".content_match_fixed a").click(function () { 4 $(this).addClass("active").siblings().removeClass("active"); 5 }); 6 7 /*è±è¶ listââtab*/ 8 $(".corp_list_title ul").each(function () { 9 $(this).children("li").eq(0).addClass("hover"); 10 }); 11 $(".corp_list_title>ul>li").click(function () { 12 var _index = $(this).index(); 13 $(this).addClass("hover").siblings().removeClass("hover"); 14 $(this) 15 .parent() 16 .parent() 17 .siblings(".corp_list_sub") 18 .children("div") 19 .eq(_index) 20 .show() 21 .siblings() 22 .hide(); 23 }); 24}); 25 26function dateFormat(format, time) { 27 if (time) { 28 // æ¶é´æ³è¿è¡è½¬æ¢ å¦è®¤è®¤ä¸ºæ¯Date对象 29 if (typeof time === "number" || typeof time === "string") { 30 time = new Date(time); 31 } 32 } else { 33 time = new Date(); 34 } 35 var o = { 36 "m+": time.getMonth() + 1, //month 37 "d+": time.getDate(), //day 38 "h+": time.getHours(), //hour 39 "i+": time.getMinutes(), //minute 40 "s+": time.getSeconds(), //second 41 "q+": Math.floor((time.getMonth() + 3) / 3), //quarter 42 e: time.getMilliseconds(), //millisecond 43 }; 44 if (/(y+)/.test(format)) { 45 format = format.replace( 46 RegExp.$1, 47 (time.getFullYear() + "").substr(4 - RegExp.$1.length) 48 ); 49 } 50 for (var k in o) { 51 if (new RegExp("(" + k + ")").test(format)) { 52 format = format.replace( 53 RegExp.$1, 54 RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length) 55 ); 56 } 57 } 58 return format; 59} 60 61// å¨ææ·»å è·åç´ææº js 62function addScript(url){ 63 var script = document.createElement('script'); 64 script.setAttribute('type','text/javascript'); 65 script.setAttribute('src',url); 66 document.getElementsByTagName('body')[0].appendChild(script); 67} 68 69 70
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.