这里是校园通
当您加入高考资源网校园通时...
精品资源直接调用
优质教案备课简单
智能组卷出题高效

北京

10000过伙伴等着您

学校升学率直线上升

高考资源网

北京四中 北京101中学

云南师大附中 云南曲靖中学

福州一中 成都七中

衡水中学 石家庄一中

江苏启东中学

高考资源网校园通

你已经认为它值得加入

累计已有200人觉得高考资源网值得携手。

高考校园通点击进入
$(function() { $(".joinbtns").bind('click',function() { $(".joinbtns").unbind(); //TODO ajax var companyId = '18897'; jQuery.ajax({ type:'post', data:{companyId:companyId}, url:ctx+'/cs/joinCompany.json?type=1&companyId='+companyId, dataType:'json' }).done(function(result){ }); $(".companyinfo").css("color","").text("你已经认为它值得加入"); $(this).addClass("grey").find("span").text("谢谢你~"); var _num = $(".joinnumber").find("strong"); var oB=$("").text("+"+1); _num.append(oB); _num.find("b").animate({"top":"-15px","opacity":"1"},1000,function(){ _num.find("b").animate({"top":"-30px","opacity":"0"},500,function(){ _num.text(parseInt(_num.text())+1); $(".share-to-moments").fadeIn(); }); }); }); $(".share-to-moments").on('click',function() { $(this).hide(); }); }); var mySwiper = new Swiper('.swiper-container',{ mode: 'vertical', onInit:function(swiper, direction) { var index = swiper.activeIndex; var height = $(window).innerHeight(); var obj = $(".swiper-slide"); obj.not(".swiper-slide-visible").find(".lagou").addClass('hide'); obj.eq(index).find(".lagou").removeClass("hide"); }, onSlideChangeEnd:function(swiper, direction) { var index = swiper.activeIndex; var obj = $(".swiper-slide"); //companyHeightReset(); obj.eq(index).siblings().find(".lagou").addClass('hide'); obj.eq(index).find(".lagou").removeClass("hide"); } }); function shareTimeline(){ WeixinJSBridge.invoke('shareTimeline', { "img_url" : window.shareData.img, "img_width" : window.shareData.img_width, "img_height" : window.shareData.img_height, "link" : window.shareData.url, "desc" : window.shareData.content, "title" : window.shareData.title }, function(res) { validateShare(res); //_report('timeline', res.err_msg); }); } function sendAppMessage(){ WeixinJSBridge.invoke('sendAppMessage', { "img_url" : window.shareData.img, "img_width" : window.shareData.img_width, "img_height" : window.shareData.img_height, "link" : window.shareData.url, "desc" : window.shareData.content, "title" : window.shareData.title }, function(res) { //validateShare(res); //_report('send_msg', res.err_msg); }); } function validateShare(res) { if(res.err_msg != 'send_app_msg:cancel' && res.err_msg != 'share_timeline:cancel') { //分享成功 var companyId = '18897'; if(''){ var username = ''; jQuery.ajax({ url:ctx+'/cr/regist.json', type:'POST', data:{ companyId:companyId, username:username }, dataType:'json' }).done(function(result){ /* if (result.success) { }else{ } */ window.location.href="http://c.lagou.com/apply/success.html"; }); }else{ //分享成功 抽奖了 //window.location.href="http://c.lagou.com/fbDraw/index.html?source=18897"; //window.location.href="http://c.lagou.com/cs/shareCompany.html?source=18897"; //计数 jQuery.ajax({ type:'post', data:{companyId:companyId}, url:ctx+'/cs/joinCompany.json?type=2&companyId='+companyId, dataType:'json' }).done(function(result){ }); } } } var jiathis_config = { siteNum: 15, sm: "weixin,tsina,qzone,tqq,renren,tsohu,cqq,tieba,douban,t163,kaixin001,xiaoyou,hi,fb,tianya", summary: "", boldNum: 6, showClose: false, shortUrl: false, hideMore: false }