$(function(){ //城市选择下拉列表及显示隐藏 /* $(".u_top_left1").mousemove(function(){ $(".u_top_list").show(); $(".u_top_list").mousemove(function(){ $(".u_top_list").show(); }).mouseout(function(){ $(".u_top_list").hide(); }); }).mouseout(function(){ $(".u_top_list").hide(); }); $(".u_top_list h1").each(function(i){ $(".u_top_list h1:eq("+i+")").click(function(){ $(".u_top_left1 h2").text($(".u_top_list h1:eq("+i+")").text()); $(".u_top_list").hide(); }); }); */ //微信显示隐藏 $(".wexin").mousemove(function(){ $(".we_tun").show(); }).mouseout(function(){ $(".we_tun").hide(); }); //招聘,选项内容,class选中切换 $(".Job_right1 h1 a").each(function(i){ $(".Job_right1 h1 a:eq("+i+")").mousemove(function(){ for(var j=0;j<(".Job_right_xia").length;j++){ $(".Job_right_xia").eq(j).hide(); $(".Job_right1 h1 a:eq("+j+")").addClass("GW_w").removeClass("GW_x"); } $(".Job_right_xia").eq(i).show(); $(".Job_right1 h1 a:eq("+i+")").addClass("GW_x").removeClass("GW_w"); }); }); //联盟快讯,选项内容,class选中切换 $(".News_tab h1 a").each(function(i){ $(".News_tab h1 a:eq("+i+")").mousemove(function(){ for(var j=0;j<(".U_News").length;j++){ $(".U_News").eq(j).hide(); $(".News_tab h1 a:eq("+j+")").addClass("New_w").removeClass("New_x"); } $(".U_News").eq(i).show(); $(".News_tab h1 a:eq("+i+")").addClass("New_x").removeClass("New_w"); }); }); /*招聘列表筛选功能,行业选择鼠标移上去,样式变化*/ $(".HY_Name").each(function(i){ $(".HY_Name:eq("+i+")").mousemove(function(){ $(".HY_Name:eq("+i+")").addClass("xp_xx").removeClass("xp_ww"); }).mouseout(function(){ $(".HY_Name:eq("+i+")").addClass("xp_ww").removeClass("xp_xx"); }); }); //招聘筛条件选中class $(".condition2 h1").each(function(i){ $(".condition2 h1:eq("+i+")").click(function(){ // 全部隐藏 for(var j=0;j<$(".condition2 h1").length;j++){ $(".condition2 h1:eq("+j+")").removeClass("zhye_x").addClass("zhye_w"); } $(".condition2 h1:eq("+i+")").addClass("zhye_x").removeClass("zhye_w"); }); }); /*关闭已选条件*/ $(".close").each(function(i){ $(".close:eq("+i+")").click(function(){ $(".Sele").eq(i).hide(); }); }); /*岗位详情页面-关闭温馨提示*/ $(".close2").click(function(){ $(".Cozy").hide(); }); /*企业详情页---企业简介与岗位招聘切换*/ $(".QYHstate h1 a").each(function(i){ $(".QYHstate h1 a:eq("+i+")").mousemove(function(){ for(var j=0;j<(".Tbb_actv").length;j++){ $(".Tbb_actv").eq(j).hide(); $(".QYHstate h1 a:eq("+j+")").addClass("JxZa_w").removeClass("JxZa_x"); } $(".Tbb_actv").eq(i).show(); $(".QYHstate h1 a:eq("+i+")").addClass("JxZa_x").removeClass("JxZa_w"); }); }); });