1$(function(){ 2//å init éçJSä»£ç æ¾å¨è¿éï¼ï¼ è°ç¨æ¹æ³ 3 utils.select(".select-top", ".select-bot"); 4 var searchUrl = "https://www.nongjx.com/chanpin-0_p0.html"; 5 $(".select-bot").find("li").click(function() { 6 var str = $(this).text(); 7 switch (str) { 8 case "产å": 9 searchUrl = "https://www.nongjx.com/chanpin-0_p0.html"; 10 break; 11 case "ä¾åº": 12 searchUrl = "https://supply.nongjx.com/sale/t0_p0/"; 13 break; 14 case "æ±è´": 15 searchUrl = "https://www.nongjx.com/offer_buy/t0/list_p0.html"; 16 break; 17 case "ç½è¯¾": 18 searchUrl = "https://webinar.nongjx.com/course/list_chid0_tid0_t0_fid0_ch0_fldsort00.html"; 19 break; 20 case "èµè®¯": 21 searchUrl = "https://www.nongjx.com/news/t0/list_p0.html"; 22 break; 23 case "ä¼è®¯": 24 searchUrl = "https://www.nongjx.com/company_news/t0/list_p0.html"; 25 break; 26 case "ä¼ä¸": 27 searchUrl = "https://www.nongjx.com/company/a_t0/list_p0.html"; 28 break; 29 case "å±ä¼": 30 searchUrl = "https://www.nongjx.com/exhinew/t0/list_p0.html"; 31 break; 32 case "ä¸é¢": 33 searchUrl = "https://www.nongjx.com/topics/t0/list.html"; 34 break; 35 case "ææ¯": 36 searchUrl = "https://www.nongjx.com/tech_news/t0/list_p0.html"; 37 break; 38 case "èµæ": 39 searchUrl = "https://www.nongjx.com/technology/t0/list_p0.html"; 40 break; 41 case "æ ·æ¬": 42 searchUrl = "https://www.nongjx.com/sample/t0/list_p0.html"; 43 break; 44 case "åç": 45 searchUrl = "https://www.nongjx.com/brands/t0/list_p0.html"; 46 break; 47 case "è§é¢": 48 searchUrl = "https://www.nongjx.com/video/t0/list_p0.html"; 49 break; 50 default: 51 searchUrl = "https://www.nongjx.com/chanpin-0_p0.html"; 52 break; 53 } 54 }); 55 utils.focusBlur($("input[name='K']")); 56 $("#searchForm").submit(function () { 57 var searchStr = $(this).find("input").val(); 58 if(searchStr=="æ°´è´¨åæ65项-ç¹å³ä¾§æç´¢-æ ¼æå¯çæå®å¤ææ°´æ ·ï¼"&&searchUrl.indexOf("chanpin")>0) 59 { 60 window.open("http://www.glkr17.com/Products-17100856.html"); 61 return false; 62 } 63 searchStr = searchStr.replace("æ°´è´¨åæ65项-ç¹å³ä¾§æç´¢-æ ¼æå¯çæå®å¤ææ°´æ ·ï¼", ""); 64 if (searchStr == "请è¾å ¥å ³é®å") { 65 searchStr = ""; 66 } 67 if (searchUrl.indexOf('chanpin') > -1) { 68 var classidBykey = Vivian.GetClassIDByKey(searchStr).value; 69 searchUrl = "/chanpin-" + classidBykey + "_p0.html"; 70 } 71 $(this).find("input").val(searchStr); 72 $(this).attr("method", "post"); 73 $(this).attr("target", "_blank"); 74 $(this).attr("action", searchUrl); 75 }); 76})
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.