1$(document).ready(function () { 2 3 // å¯¼èªæ èå 4 $(".headMenu>li").hover(function () { 5 var that=this; 6 $(that).addClass("showMenu").siblings().removeClass("showMenu"); 7 $(that).children('div').slideDown(400); 8 },function(){ 9 var that=this; 10 $(that).children('div').stop(true,true).slideUp(400); 11 }); 12 13 $(".aboutCompanyLeft>li").hover(function () { 14 var that=this; 15 $(that).children("a").addClass("showAcolor"); 16 // $(that).parent().next(".aboutCompanyRight").children("div").eq($(that).index()).addClass("showAboutCompanyRight").siblings().removeClass("showAboutCompanyRight"); 17 },function () { 18 var that=this; 19 $(that).children("a").removeClass("showAcolor"); 20 }); 21 $(".menuProduct>ul>li").hover(function () { 22 var that=this; 23 $(that).addClass("showProduct").siblings().removeClass("showProduct"); 24 $(".menuItemList>ul").eq($(that).index()).addClass("showProductList").siblings().removeClass("showProductList"); 25 }); 26 $(".menuItemList>ul>li").bind('click',function () { 27 var that=this; 28 if($(that).find('div').css('display')=='none'){ 29 $(that).find("div").slideDown(800); 30 $(that).children("a").css({"color":"#3a8edc"}); 31 $(that).children("a").children("i").attr("class","iconfont icon-xialasanjiao"); 32 }else{ 33 var that=this; 34 $(that).find("div").stop(true,true).slideUp(800); 35 $(that).children("a").css({"color":"#343434"}); 36 $(that).children("a").children("i").attr("class","iconfont icon-xialasanjiao-copy") 37 } 38 }); 39 40 // sideåºå 41 $('.text_childTitle>ul>li').click(function(){ 42 var that=this; 43 if($(that).children('ul').css('display')=='none'){ 44 $(that).children('ul').slideDown(800); 45 }else{ 46 $(that).children('ul').stop(true,true).slideUp(800); 47 } 48 }) 49 50 51 52 $(".news_right .titled ul li").hover(function () { 53 var that=this; 54 var hr=$(that).find("a").attr("href"); 55 $(that).addClass("showHref").siblings().removeClass("showHref"); 56 $(".newsCont>div").eq($(that).index()).addClass("showNewsList").siblings().removeClass("showNewsList"); 57 $(that).parents('.titled').find('.fr').children('a').attr("href",hr) 58 }) 59 // æ´å¤ 60 $('.titled ul li').mouseenter(function () { 61 var that=this; 62 $(that).addClass('showHref').siblings().removeClass('showHref') 63 }); 64 // å ³äºæä»¬----ä¸å¡èç³» 65 $('.ixlink li').mouseenter(function(){ 66 var cindex = $(this).index(); 67 $('.ixlink').removeClass('action-0 action-1 action-2 action-3'); 68 $(this).parent().addClass('action-'+cindex); 69 $('.ixlink .hide').removeClass('show'); 70 $(this).find('.hide').addClass('show'); 71 $(this).find('.bg').css({ 72 'background-position': 'bottom right' 73 }) 74 }); 75 $('.ixlink').mouseleave(function(){ 76 $('.ixlink').removeClass('action-0 action-1 action-2 action-3'); 77 $('.ixlink .hide').removeClass('show'); 78 $(this).find('.bg').css({ 79 'background-position': 'bottom center' 80 }) 81 }); 82 83 84 // çå¬ä¸å¡å¨è¯¢çtextareaé¿åº¦ 85 $(".sub_text>textarea").bind('input',function () { 86 var txtNum=$(this).val().length; 87 $(this).next("span").text(txtNum) 88 }); 89 // æ ·æ¬æ°æ®åº 90 $('.demoData>a').click(function () { 91 $(this).addClass("color10078be").siblings().removeClass("color10078be"); 92 $(".graph>div").eq($(this).index()).addClass("showGraph").siblings().removeClass("showGraph") 93 }) 94 95 // pagecolumn.html 96 setTimeout(function(){ 97 $('.pbtxts').addClass('animation'); 98 },100); 99//ç½ç«å°å¾ 100// tab忢 101 $('.itemWebIntro>li').hover(function () { 102 var that=this; 103 // $(that).addClass('showWebIntro').siblings().removeClass('showWebIntro'); 104 $(that).find('i').attr('class','iconfont icon-xialasanjiao'); 105 if($(that).find('.itemWebIntroChildren').css('display')=='none'){ 106 $(that).find('.itemWebIntroChildren').fadeIn(); 107 } 108 },function () { 109 var that=this; 110 $(that).find('i').attr('class','iconfont icon-xialasanjiao-copy'); 111 if($(that).find('.itemWebIntroChildren').css('display')=='block'){ 112 $(that).find('.itemWebIntroChildren').fadeOut(); 113 } 114 }) 115 116 117 // å表è¯è®º 118 $('.subTo>input').bind('click',function(){ 119 var uname=trim($('.uname').val()); 120 var uphone=trim($('.uphone').val()); 121 var utext=trim($('.utext').val()); 122 var code=trim($('.code').val()); 123 if(uname==''){ 124 alert('Warm tips, please fill in the name!') 125 return; 126 } 127 if(uphone==''){ 128 alert('Warm tips, please fill in the phone') 129 return; 130 } 131 if(utext==''){ 132 alert('Warm tips, please fill in the contents') 133 return; 134 } 135 if(code==''){ 136 alert('Warm tips, please fill in the code') 137 return; 138 } 139 140 var mytest=/^1(3|4|5|7|8)\d{9}$/; 141 var email=/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/; 142 143 if(!mytest.test(uphone)){ 144 alert('Warm tips, Phone number format error') 145 return; 146 } 147 $.ajax({ 148 type: 'POST', 149 url:'/comment_save$ajax.htm?type=1' , 150 data:{ 151 content:utext, 152 phone:uphone, 153 name:uname, 154 code:code 155 }, 156 success:function(res){ 157 console.log(res) 158 if(res.result==true){ 159 alert("We have received your message and will contact you shortly. Thank y
159ou!") 160 setTimeout(function(){ 161 window.location.reload(); 162 },1000) 163 } 164 } 165 }) 166 167 168 169 170 171 }); 172 173 if($('.textListRight').offset() ==null){ 174 var secOffsetTop = 0; 175 }else{ 176 var secOffsetTop = $('.textListRight').offset().top; 177 } 178 window.onscroll=function(){ 179 var this_scrollTop = $(this).scrollTop(); 180 if(this_scrollTop>secOffsetTop){ 181 $('.textListRight').css({ 182 'top':this_scrollTop-secOffsetTop, 183 }) 184 }else{ 185 $('.textListRight').css({ 186 'top':'0', 187 }) 188 } 189 }; 190 191 192}); 193 194//å¯ä»¥æ»å¨ 195function allow(){ 196 $("boby").css({"height":"auto", "overflow-y":"scroll","overflow-x":"hidden"}); 197 $("html").css({ "height":"auto", "overflow-y":"scroll"}) 198} 199//ç¦æ¢åºå±æ»å¨ 200function stop(){ 201 $("boby").css({"height":"100%", "overflow":"hidden"}); 202 $("html").css({"height":"100%", "overflow":"hidden"}) 203} 204 205 206(function(){ 207 var bp = document.createElement('script'); 208 var curProtocol = window.location.protocol.split(':')[0]; 209 if (curProtocol === 'https'){ 210 bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; 211 } 212 else{ 213 bp.src = 'http://push.zhanzhang.baidu.com/push.js'; 214 } 215 var s = document.getElementsByTagName("script")[0]; 216 s.parentNode.insertBefore(bp, s); 217})(); 218 219
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.