/**
 * Created by Administrator on 2018/3/16.
 */
window.onload = function(){
    //高度自适应
    // $(".contact").css("height",window.screen.width/3.5);
    // $(".contact img").css("height",window.screen.width/3.5);

    //中英文之间的转化
    $("#eng").click(function(){
        $(".footer_title p:first-child").html("Fujian Shengteng Knltting Textlle Co.,Ltd.");
        $(".footer_top li:first-child").html("Contacts:LINXUEGUI (General Manager)");
        $(".footer_top li:nth-child(2)").html("Tel:+86 0591-28761238");
        $(".footer_top li:nth-child(3)").html("Mobile:13599097555");
        $(".footer_top li:last-child").html("Fax:+86 0591-28761296");
        $(".footer_bottom li:first-child").html("E-mail:fjshengteng@163.com");
        $(".footer_bottom li:last-child").html("Add:shenjutengda,Songxia Town,Changle City,Fujian Province,China");
        $(this).css("background","#5E97F5");
        $("#chn").css("background","transparent");
    });
    $("#chn").click(function(){
        $(".footer_title p:first-child").html("福建升腾针纺有限公司");
        $(".footer_top li:first-child").html("联系人:林雪贵(总经理)");
        $(".footer_top li:nth-child(2)").html("手机号码:13599097555");
        $(".footer_top li:nth-child(3)").html("电话:0591-28761238");
        $(".footer_top li:last-child").html("传真:0591-28761296");
        $(".footer_bottom li:first-child").html("邮箱:fjshengteng@163.com");
        $(".footer_bottom li:last-child").html("公司地址:福建省长乐市松下镇龙纺工业区");
        $(this).css("background","#5E97F5");
        $("#eng").css("background","transparent");
    });
};