var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); // JavaScript Document //加入收藏夹,兼容多种浏览器 function bookmark(obj){ var title=document.title; var url=document.location.href; //firefox & Opera if (window.sidebar || window.opera && window.print) { obj.rel = "sidebar"; obj.title = title; obj.href = url; } //IE else if( document.all ) { window.external.AddFavorite(url, title); } //Chrome浏览器下 else{ alert('对不起,您的浏览器不支持此操作,请按Ctrl+D添加至收藏夹!'); } } /*焦点图*/ (function(a){a.fn.extend({soChange:function(b){b=a.extend({thumbObj:null,botPrev:null,botNext:null,changeType:"fade",thumbNowClass:"current",thumbOverEvent:true,slideTime:1000,autoChange:true,clickFalse:true,overStop:true,changeTime:5000,delayTime:200},b||{});var h=a(this);var i;var k=h.size();var e=0;var g;var c;var f;function d(){if(e!=g){if(b.thumbObj!=null){a(b.thumbObj).removeClass(b.thumbNowClass).eq(g).addClass(b.thumbNowClass)}if(b.slideTime<=0){h.eq(e).hide();h.eq(g).show()}else{if(b.changeType=="fade"){h.eq(e).fadeOut(b.slideTime);h.eq(g).fadeIn(b.slideTime)}else{h.eq(e).slideUp(b.slideTime);h.eq(g).slideDown(b.slideTime)}}e=g;if(b.autoChange==true){clearInterval(c);c=setInterval(j,b.changeTime)}}}function j(){g=(e+1)%k;d()}h.hide().eq(0).show();if(b.thumbObj!=null){i=a(b.thumbObj);i.removeClass(b.thumbNowClass).eq(0).addClass(b.thumbNowClass);i.click(function(){g=i.index(a(this));d();if(b.clickFalse==true){return false}});if(b.thumbOverEvent==true){i.mouseenter(function(){g=i.index(a(this));f=setTimeout(d,b.delayTime)});i.mouseleave(function(){clearTimeout(f)})}}if(b.botNext!=null){a(b.botNext).click(function(){if(h.queue().length<1){j()}return false})}if(b.botPrev!=null){a(b.botPrev).click(function(){if(h.queue().length<1){g=(e+k-1)%k;d()}return false})}if(b.autoChange==true){c=setInterval(j,b.changeTime);if(b.overStop==true){h.mouseenter(function(){clearInterval(c)});h.mouseleave(function(){c=setInterval(j,b.changeTime)})}}}})})(jQuery); //选项卡 function TabMove(name,cursel,n){ n = n || 50; for (i=1;i<=n;i++){ var menu=document.getElementById(name+"Tab"+i); var con=document.getElementById(name+"_"+i); menu.className=i==cursel?"current":""; con.style.display=i==cursel?"block":"none"; } } $(function(){ var w = $(".updatePic li img").width()*3;//容器宽度 $(".updatePic li img").each(function(){//如果有很多图片,我们可以使用each()遍历 var img_w = $(this).width();//图片宽度 var img_h = $(this).height();//图片高度 if(img_w>w){ //如果图片宽度超出容器宽度--要撑破了 var height = (w*img_h)/img_w; $(this).css({"width":w,"height":height});//设置缩放后的宽度和高度 } }); }); //--------------侧边工具栏 B---------------------- //工具条屏幕智能定位 function SQ_bar_position(num){ var obj=$('.tools_bar,.top'); var mainBody=990;//设定页面主体宽度 var obj_width=133;//设定工具条宽度 var win=$(window).width(); //alert(win); 1903 var pVal=((win-mainBody)/2)+mainBody; obj.css('left',pVal); if(win<=mainBody+266){ if(obj.width()==133){ obj.css({'left':'auto','right':pVal-mainBody}); } } if(num==1){ if(win<=mainBody+266){ if(obj.width()==133){ obj.css({'left':'auto','right':pVal-mainBody}); } } } } $(function(){ //显示右侧工具条 $('.tools_bar,.top').fadeIn(600); //监听工具条定位 SQ_bar_position(1); $(window).resize(function(){ SQ_bar_position(); }); }) //控制字体大小 function setFont(size){ $(".msgPart_1 p,.replyMsg_part p,.newAddMsg").css("font-size",size+"px"); } //选择合适的分类 function changeothers(){ if($('.regCon p select option:selected').val() =="others"){ $(".regCon p .custom").show(); }else{ $(".regCon p .custom").hide(); } } //返回顶部 function goTop(){ $('html,body').animate({scrollTop:0},300); } //--------------侧边工具栏 E---------------------- //滑动 function SlideView(e){ for (var r=document.getElementById(e).getElementsByTagName('dl'),c=clearInterval,i=-1,p=r[0],j; j=r[++i];) { j.style.width=(i?38:350)+'px'; j.onmouseover=function (){clearTimeout(j);var i=this;j=setTimeout(function() {if(p!=i)_(p,350,38)(p=i,38,350)},200)}; } function _(el,f,t){ c(el.$1);el.className=f>t?'':'current'; return el.$1=setInterval(function (){el.style.width=(f+=Math[f>t?'floor':'ceil']((t-f)*.3))+'px';if (f==t)c(el.$1)},50),_ } }; $(function(){ $(window).scroll(function(){ var goTop = $(document).scrollTop(); if(goTop>50){ $(".top").show(); }else { $(".top").hide(); } }); //天气预报 $(".weatherMsg1 .details,.weatherMain").mouseover(function(){ $(".weatherMain").addClass("on"); }) $(".weatherMsg1 .details,.weatherMain").mouseout(function(){ $(".weatherMain").removeClass("on"); }) //首页鼠标效果 $(".index_infoFocus dt").mouseover(function(){ $(this).hide().siblings("dt").show(); $(this).next("dd").show().siblings("dd").hide(); }) //内容滚动效果 var scrtime1; var scrtime2; $(".index_inticeList").hover( function(){ clearInterval(scrtime1); }, function(){ scrtime1 = setInterval(function(){ var news = $(".index_inticeList ul"); var liHeight = news.find("li:last").height(); news.animate({marginTop : liHeight+ 10 +"px"},800,function(){ news.find("li:last").prependTo(news) news.find("li:first").hide(); news.css({marginTop:0}); news.find("li:first").fadeIn(500); }); },3000); }).trigger("mouseleave"); $(".index_RollBox").hover(function(){ clearInterval(scrtime2); }, function(){ scrtime2 = setInterval(function(){ var news = $(".index_RollBox ul"); var liHeight = news.find("li:last").height(); news.animate({marginTop : liHeight+ 10 +"px"},800,function(){ news.find("li:last").prependTo(news) news.find("li:first").hide(); news.css({marginTop:0}); news.find("li:first").fadeIn(500); }); },3000); }).trigger("mouseleave"); /*知青达人 $(".zqdrBox li").hover( function(){ $(this).css("width","217").find(".zqMsg").show(); $(this).find(".zqIconBox .zqTit").hide(); $(this).find(".zqIconBox .zqName").show(); $(this).next("li").hide(); }, function(){ $(this).css("width","100").find(".zqMsg").hide(); $(this).find(".zqIconBox .zqTit").show(); $(this).find(".zqIconBox .zqName").hide(); $(this).next("li").show(); } ); $(".zqdrBox li.last").hover( function(){ $(this).prev("li").hide(); $(this).next("li").show(); }, function(){ $(this).prev("li").show(); } ); */ //鼠标放上去显示标题 $(".index_freeList li,.index_healthR li,.index_nursing_homes ul li,.index_travelL .index_travelHover").hover( function(){ $(this).find("span").slideDown(); }, function(){ $(this).find("span").slideUp(); } ); //人才服务展开/收缩 // $('#rcService').click(function(){ // $(this).toggleClass('fold').parents(".leftMenuBox").find('.show').slideToggle(300); // }); $('#grMsg').click(function(){ $(this).toggleClass('fold').parents(".leftMenuBox").find('.new_show').slideToggle(300); }); $('#order').click(function(){ $(this).toggleClass('fold').parents(".leftMenuBox").find('.orderList').slideToggle(300); }); $('#card').click(function(){ $(this).toggleClass('fold').parents(".leftMenuBox").find('.cardList').slideToggle(300); }); //个人中心基本资料编辑 $(".per_messageList .amendBtn").click(function(){ $(this).parents(".per_messageList").hide(); $(this).parents(".per_messageList").next(".per_editList").show(); $(this).parents(".per_messageList").find(".amendBtn").hide(); }); $(".per_editList .saveBtn").click(function(){ $(this).parents(".per_editList").hide(); $(this).parents(".per_editList").prev(".per_messageList").show(); $(this).parents(".per_editList").prev(".per_messageList").find(".amendBtn").show(); }); //我的活动 $(".new_activityCon li .new_activityL").hover( function(){ $(this).find(".a1").hide(); $(this).find(".a2").show(); }, function(){ $(this).find(".a2").hide(); $(this).find(".a1").show(); } ); //摄影大赛 $(".uploadPhotoList .operateBtnBox .edit").click(function(){ $(this).parents(".uploadPhotoList").find(".editBox").hide(); if($(this).parents(".uploadPhotoList").find(".uploadConBox").show()){ $(this).parents(".uploadPhotoList").find(".edit").hide(); }; }); $(".uploadPhotoList .operateBtnBox .del").click(function(){ $(this).parents(".uploadPhotoList").hide(); }); //视频 $('.videoPlayCon').each(function(i){ $(this).css('z-index',100-i); $(this).find(".action").toggle( function () { $(".videolist").addClass("zk").find("embed").css("width","970"); $(".videoMenu").hide(); $(this).addClass("on"); }, function () { $(".videolist").removeClass("zk").find("embed").css("width","700"); $(".videoMenu").show(); $(this).removeClass("on"); } ); }); //显示/隐藏下拉菜单 begin $(".select font").hover( function(){ $(this).addClass("over"); }, function(){ if($(this).next("span").is(":hidden")){ $(this).removeClass("over"); } } ); //个人广场右侧头像效果 $(".userNameBtn").hover( function(){ $(this).find(".hoverTu").addClass("over"); }, function(){ $(this).find(".hoverTu").removeClass("over"); } ); //展开/隐藏 $(".yesCircleOperate .showAll").toggle( function () { $(".YCOlist2").show(300); $(this).addClass("over"); $(this).find("a").html("收起列表"); }, function () { $(".YCOlist2").hide(300); $(this).removeClass("over"); $(this).find("a").html("展开全部"); } ); $(".oldPeopleBox .showAll").toggle( function () { $(".oldPeopleList2").show(300); $(this).addClass("over"); $(this).find("a").html("查看更多养老院信息"); }, function () { $(".oldPeopleList2").hide(300); $(this).removeClass("over"); $(this).find("a").html("收起养老院信息"); } ); //详细 $(".YCOtop p span .xx .btn,.circleTopCon2 .xx .btn").click(function(){ $(".YCOmsgBox").show(300); }); $(".YCOmsg .tit .close").click(function(){ $(".YCOmsgBox").hide(300); }); $(".centerCon .question").hover( function(){ $(this).find(".YCOmsgBox").show(); }, function(){ $(this).find(".YCOmsgBox").hide(); } ); $(".ls").click(function(){ $(this).parents(".uploadConBox").prevAll(".uploadPic").find(".font_style em").css("font-family","隶书"); $(this).addClass("hit"); $(this).parents(".uploadConBox").find("p.sort .chooseFont em.xk").removeClass("hit"); $(this).parents(".uploadConBox").find("p.sort .chooseFont em.st").removeClass("hit"); }); $(".xk").click(function(){ $(this).parents(".uploadConBox").prevAll(".uploadPic").find(".font_style em").css("font-family","华文行楷"); $(this).addClass("hit"); $(this).parents(".uploadConBox").find("p.sort .chooseFont em.ls").removeClass("hit"); $(this).parents(".uploadConBox").find("p.sort .chooseFont em.st").removeClass("hit"); }); $(".st").click(function(){ $(this).parents(".uploadConBox").prevAll(".uploadPic").find(".font_style em").css("font-family","黑体"); $(this).addClass("hit"); $(this).parents(".uploadConBox").find("p.sort .chooseFont em.xk").removeClass("hit"); $(this).parents(".uploadConBox").find("p.sort .chooseFont em.ls").removeClass("hit"); }); //圈子首页-热门图片 begin $(".picShow li,.bigPicShow,.hotVideoBoxL li,.popular_videoConR li,.popular_bigVideo,.popular_videoConLeft li").hover( function(){ $(this).find(".hotPicTitle").slideDown(300); }, function(){ $(this).find(".hotPicTitle").slideUp(300); } ); $(".oldPeopleList li").hover( function(){ $(this).find("em").slideDown(300); }, function(){ $(this).find("em").slideUp(300); } ); $(".select font").click(function(){ $(this).next("span").slideDown(200); }); $(".select font").blur(function(){ $(this).next("span").animate({'opacity':1},200).slideUp(200,function(){ $(this).prev("em").removeClass("over"); }); }); $(".select span a").click(function(){ $(this).parent("span").prev("font").html($(this).html()); }); //显示/隐藏下拉菜单 end //输入框字体颜色变化 $(":input").click(function(){ $(this).css("color","#666"); }); $(".aload_Btn,.login_btn,.reg_btn,.confirm_btn,.insert_btn,.gksh_radiogrp_btn,.popbtn,.fbzw,.circle_makePostMain #videobutton,.editorBox .ps_btn,.submit_msgBox .submit_msg").click(function(){ $(this).css("color","#fff"); }); $(".save_btn,.reg_btn").click(function(){ $(this).css("color","#a14e04"); }); $(".issueTit .ps_btn").click(function(){ $(this).css("color","#ff6c00"); }); $(".replyTextarea").click(function(){ $(this).css("color","#de0078"); }); $(".singBox .singL .new_regCon .reg_btn").click(function(){ $(this).css("color","#e9e5b6"); }); $(".iCon").click(function(){ $(this).css("border","1px solid #838383"); }); $(".iCon").blur(function(){ $(this).css("border","1px solid #ccc"); }); $("#getCode.iCon,#getCodeTime.iCon").click(function(){ $(this).css("border","1px solid #fff"); }); $("#getCode.iCon,#getCodeTime.iCon").blur(function(){ $(this).css("border","1px solid #fff"); }); /*回复留言框状态 $(".htMsg textarea").click(function(){ $(this).addClass("selected").animate({"height":100,"opacity":1},250); }); $(".htMsg textarea").blur(function(){ $(this).removeClass("selected").animate({"height":60,"opacity":0.6},250); });*/ //栏目切换 $(".columnBox dt").first().addClass("over").next("dd").show().siblings("dd").hide(); $(".columnBox dt").mouseover(function(){ $(this).addClass("over").siblings("dt").removeClass("over"); $(this).next("dd").show().siblings("dd").hide(); }); /* //验证码*/ /* $(".getCode").click(function(){ $("#getCode").hide(); $("#getCodeTime").show(); }); */ //活动报名 $(".meetApplyBox .bm").click(function(){ $(".bmInfoBox").show(); }); $(".meetApplyBox .meetBtn").click(function(){ $(".bmInfoBox").hide(); }); //是否知青 $("#chk label").click(function(){ //所有label选项 $("#chk label").find("span").removeClass("selected"); $("#chk label").find("input").attr('checkbox','false'); //当前label选项 $(this).find("span").addClass("selected"); $(this).find("input").attr('checkbox','true'); }); $("#nature label").click(function(){ //所有label选项 $("#nature label").find("span").removeClass("selected"); $("#nature label").find("input").attr('checkbox','false'); //当前label选项 $(this).find("span").addClass("selected"); $(this).find("input").attr('checkbox','true'); }); $('.zxVideoList li .video,.clubList li .video,.videoBox .hoverV,.ykVideoList li .video').hover( function(){ $(this).addClass("over"); }, function(){ $(this).removeClass("over"); }); //视频活动页加载更多 $(".ykVideoBox .ykVideoMore").toggle( function () { $(".more2").slideDown(200); }, function () { $(".more3").slideDown(200); $(this).hide(); $(this).parent(".ykVideoBox .ykVideoMore").find(".pages").show(); } ); //我的信息修改验证码 $(".centerCon p .alter").click(function(){ $(".centerCon p .new_wriCode").show(); $(".centerCon p .new_phoneNum").hide(); $(".centerCon .writeCode").show(); }); /////////////////广场舞////////////////////// //初始 if($(this).find('.askCon .t1').html('请上传参赛视频')){ $(".sideBar").css("height","550"); } $('.teamList li').hover( function(){ $(this).addClass("selected"); }, function(){ $(this).removeClass("selected"); }); //有领队的时候 $(".askCon .last").find(".t1").click(function(){ $(".t2").show().siblings(".t1").hide(); $(".sideBar").css("height","800"); $(".loadVMsg").hide(); $(".recommendVideo_lead").show().find(".teamList li em").hide(); }); $(".teamList li em").hide(); $(".askCon .last").find(".t2").click(function(){ if(personCount<5){ alert("您好,您的团队人数少于5人,请您添加团队成员!"); window.location.href="myDanceUser.html"; return; } $(".t2").show().siblings(".t1").hide(); $(".sideBar").css("height","800"); $(".loadVMsg").hide(); $(".recommendVideo_lead").show().find(".teamList li em").show(); }); //无领队的时候 $(".askCon .last").find(".t3").click(function(){ $(".t3").show().siblings(".t1,.t2").hide(); $(".sideBar").css("height","800"); $(".loadVMsg").hide(); $(".recommendVideo_lead").hide(); $(".recommendVideo_nolead").show(); }); //推荐操作 $('.teamMy').find(".teamList em").click( function () { if($(this).hasClass("selected")){ $(this).removeClass("selected").parent(".teamList li").find("span").removeClass("selected"); showPop('#alertV',''); $(".circleBox2").show().siblings(".circleBox").hide(); $(".circleBox2").show().siblings(".circleBox3").hide(); }else if($(this).hasClass("selected1")){ showPop('#alertV',''); $(".circleBox3").show().siblings(".circleBox,.circleBox2").hide(); //$(".circleBox3").show().siblings(".circleBox").hide(); $(".circleBox3 .circleBtn a").css({ float: "none", margin: "0 auto" }); }else{ $(this).addClass("selected"); showPop('#alertV',''); //alert(3); $(".circleBox").show().siblings(".circleBox2").hide(); $(".circleBox").show().siblings(".circleBox3").hide(); } } ); //推荐 $(".circleBox .tips_Btn").click(function(){ $(this).parents(".circleBox").hide(); hidePop('#alertV',''); $(".teamList li em[class][class='selected']").parent(".teamList li").find("span").addClass("selected"); }); //取消推荐 $(".circleBox2 .tips_Btn").click(function(){ $(this).parents(".circleBox").hide(); //$(this).parents(".popWrap").hide(); hidePop('#alertV',''); $(".teamList li em[class][class='selected']").parent(".teamList li").find("span").removeClass("selected"); }); //不能取消推荐 $(".circleBox3 .tips_Btn").click(function(){ $(this).parents(".circleBox3").hide(); //$(this).parents(".popWrap").hide(); hidePop('#alertV',''); }); $(".circleBox .close,.circleBox .tips_Btn2").click(function(){ $(this).parents(".circleBox").hide(); //$(this).parents(".popWrap").hide(); hidePop('#alertV',''); $(".teamList li em[class][class='selected']").removeClass("selected"); if(".teamList li[class][class='']"){ $(this).removeClass("selected"); $(".teamList em").removeClass("selected"); } }); $(".circleBox2 .close,.circleBox2 .tips_Btn2").click(function(){ $(this).parents(".circleBox2").hide(); //$(this).parents(".popWrap").hide(); hidePop('#alertV',''); }); }); //显示提示框 function issueShow(){ $(".issueTips").fadeIn(200).delay(1000).fadeOut(300); } //通用弹出层触发动作 begin function showPop(id,className){ $(".bgIframe").css({ "filter":"alpha(opacity=0)", "opacity":"0" }); $(".bgDiv").css({ "filter":"alpha(opacity=50)", "opacity":"0.5" }); $(id).addClass(className).fadeIn(10,function(){ var popHeight = $(''+id+'.popWrap,'+id+' .popWrap_sub,'+id+' .popIframe'); var h=$(''+id+' .popBox').height();//获取高度 popHeight.height(h+12); $(".bgIframe,.bgDiv").fadeIn(200); }); return false; } //显示提示框 function alertTips(id,className){ $(".bgIframe").css({ "filter":"alpha(opacity=0)", "opacity":"0" }); $(".bgDiv").css({ "filter":"alpha(opacity=50)", "opacity":"0.5" }); $(id).addClass(className).fadeIn(10,function(){ var popHeight = $(''+id+'.popWrap,'+id+' .popWrap_sub,'+id+' .popIframe'); var h=$(''+id+' .popBox').height();//获取高度 popHeight.height(h+12); $(".popWrap").delay(1000).fadeOut(300); $(".bgIframe,.bgDiv").fadeIn(200).delay(1000).fadeOut(300); }); return false; } //关闭弹层窗口 function hidePop(id,className){ $(''+id+',.bgIframe,.bgDiv').fadeOut(function(){ $(this).removeClass(className); $(''+id+'.popWrap,'+id+' .popWrap_sub,'+id+' .popIframe').height(''); }) } //---------- end //是否知青 $(function(){ showCont(); $("input[name=zq_type]").click(function(){ showCont(); }); }); function showCont(){ switch($("input[name=zq_type]:checked").attr("id")){ case "yesZq": $("#zqMessage2").hide(); $("#zqMessage1").show(); break; case "noZq": $("#zqMessage1").hide(); $("#zqMessage2").show(); break; default: break; } } //手机APP下载说明 $(function(){ $('.app_part1 h2').fadeIn(1500); $('.app_part1 p').fadeIn(2000); $('.item1').animate({left:55},800); $('.item2').animate({right:250},900); $('.item3').animate({right:58},1200); if($('body').find('div').hasClass('app_part2')){ var positionVal_2=$('.app_part2').offset().top-400; } if($('body').find('div').hasClass('app_part3')){ var positionVal_3=$('.app_part3').offset().top-400; } if($('body').find('div').hasClass('app_part4')){ var positionVal_4=$('.app_part4').offset().top-400; } if($('body').find('div').hasClass('app_part5')){ var positionVal_5=$('.app_part5').offset().top-600; } $(window).scroll(function(){ var scrollTop=$(window).scrollTop(); if(scrollTop>positionVal_2){ $('.app_part2 h2').animate({left:0},800); $('.app_part2 p').animate({left:0},800); $('.item4').animate({right:105},600); $('.item5').fadeIn(2000); $('.item6').fadeIn(2000); } if(scrollTop>positionVal_3){ $('.app_part3 h2').animate({right:0},800); $('.app_part3 p').animate({right:0},800); $('.item7').animate({left:105},600); $('.item8').fadeIn(4000); $('.item9').fadeIn(4000); } if(scrollTop>positionVal_4){ $('.app_part4 h2').animate({left:0},800); $('.app_part4 p').animate({left:0},800); $('.item10').animate({right:105},600); $('.item11').fadeIn(2000); $('.item12').fadeIn(2000); } if(scrollTop>positionVal_5){ $('.app_part5 h2').animate({right:0},800); $('.app_part5 p').animate({right:0},800); $('.item13').animate({left:105},600); $('.item14').fadeIn(2000); $('.item15').fadeIn(2000); } }); }); } /* FILE ARCHIVED ON 13:56:32 Mar 25, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 08:00:03 Oct 06, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.817 exclusion.robots: 0.041 exclusion.robots.policy: 0.027 esindex: 0.014 cdx.remote: 212.515 LoadShardBlock: 252.549 (3) PetaboxLoader3.datanode: 150.311 (4) load_resource: 207.561 PetaboxLoader3.resolve: 145.457 */