1$(document).ready(function () { 2 //é¡¶é¨äºç»´ç 3 $(".code-cont").mouseover(function () { 4 $(this).find(".cj-app").show(); 5 }).mouseout(function () { 6 $(this).find(".cj-app").hide(); 7 }); 8 9 if (!navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)) { 10 $(".login-cont button,.login-cont .single li,.login-cont .change,.reset1 button,.reset2 button,.reset3 button,.reset2 .btn,.title .login a,.info>a,.revise button,.modify button,.coords .button,.center .columns li,.center .more,.center .que a, .center .answer a,.mReset button").mouseover(function () { 11 $(this).addClass("hover"); 12 }).mouseout(function () { 13 $(this).removeClass("hover"); 14 }); 15 } 16 17 //checkbox 18 $(".checkbox").click(function () { 19 if ($(this).hasClass("checked")) { 20 $(this).removeClass("checked"); 21 $(this).find("input").removeAttr("checked"); 22 } else { 23 $(this).addClass("checked"); 24 $(this).find("input").attr("checked", "checked"); 25 } 26 }); 27 28 // ç»å½æ³¨å忢 29 $(".login-cont .login-tab li:first-child").click(function () { 30 $("#loginVerfyCode").trigger("click"); 31 $(".login-cont").removeClass("showRegister"); 32 }); 33 $(".login-cont .login-tab li:last-child").click(function () { 34 $("#mobileVerfyCode").trigger("click"); 35 $(".login-cont").addClass("showRegister"); 36 }); 37 38 //çä¿¡éªè¯ç ç»å½ 39 // $(".login-cont .account a.l").on("click",function(){ 40 // $(this).closest(".account").hide().siblings(".account").show(); 41 // }); 42 43 44 //å½åæ¾ç¤º 1:è´¦å·å¯ç ç»å½ï¼2ï¼çä¿¡éªè¯ç ç»å½ç»å½ï¼3ï¼æµ·å¤ææºå·ç»å½ï¼4ï¼æ³¨å 45 46 //çä¿¡éªè¯ç ç»å½ 47 $(".msg_login").click(function () { 48 $(".account").hide() 49 $('.account2').show() 50 loginShowItem = 2; 51 getCaptcha($(".captcha_login2")) 52 }) 53 54 //è´¦æ·ç»å½ 55 $(".a_p_login").click(function () { 56 $(".account").hide() 57 $('.account1').show() 58 loginShowItem = 1; 59 getCaptcha($(".captcha_login")) 60 }) 61 62 //æµ·å¤ææºå·ç»å½ 63 $(".log_type").click(function () { 64 $(".account").hide() 65 $('.account3').show() 66 loginShowItem = 3; 67 getCaptcha($(".captcha_login3")) 68 }) 69 70 71 // //ç»å½æ¹å¼åæ¢ 72 // $(".login .hint").click(function(){ 73 // if($(this).closest(".login").hasClass("showAccount")){ 74 // $(this).closest(".login").removeClass("showAccount"); 75 // }else{ 76 // $(this).closest(".login").addClass("showAccount"); 77 // } 78 // }); 79 // 80 // //æ³¨åæ¹å¼åæ¢ 81 // $(".register .change").click(function(){ 82 // if($(this).closest(".register").hasClass("showEmail")){ 83 // $(this).closest(".register").removeClass("showEmail"); 84 // }else{ 85 // $(this).closest(".register").addClass("showEmail"); 86 // } 87 // }); 88 89 90 //æ³¨åæµç§°æç¤º 91 $(".register .name input").focus(function () { 92 $(this).closest(".name").find(".tip").hide(); 93 }).blur(function () { 94 if ($(this).val() == "") { 95 $(this).closest(".name").find(".tip").show(); 96 } 97 }); 98 99 //ç¨æ·ä¸å¿çç¥çç 100 $(".strategy-list li").mouseover(function () { 101 $(this).siblings("li").removeClass("selected").find(".brief").stop(true).animate({height: "0"}, 250); 102 $(this).addClass("selected"); 103 $(this).find(".brief").stop(true).animate({height: "44"}, 250).css("display", "block"); 104 }); 105 cut($(".center .brief span"), 50); 106 107}); 108 109function cut(a, num) { 110 a.each(function () { 111 var maxwidth = num; 112 if ($(this).text().length > maxwidth) { 113 $(this).text($(this).text().substring(0, maxwidth)); 114 $(this).html($(this).html() + "..."); 115 } 116 }) 117} 118 119//表åæç¤ºæ¡ 120function ShowTip(obj, msg) { 121 if (navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)) { 122 layer.tips(msg, obj, { 123 tips: [1, '#d14b3d'], 124 time: 3000, 125 maxWidth: 220, 126 }); 127 } else { 128 layer.tips(msg, obj, { 129 tips: [2, '#d14b3d'], 130 time: 3000, 131 maxWidth: 220, 132 }); 133 } 134} 135//éè¡è¯-ä¿®æ¹å¯ç ï¼6-16ä½åæ¯åæ°åï¼ 136function passwordFormatVerify(str) { 137 var reg2 = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$/; 138 if (reg2.test(str)) return true; 139 else return false
vendor: 4 bytes, lines 139-140
139; 140}
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.