notif({msg: data.info,type: "success",position: "center",time: 3000,width: '280',}); if(data.like == 0){ $this.removeClass('liked'); $this.html('  赞'); notif({msg: data.info,type: "success",position: "center",time: 3000,width: '280',}); $.each($('.follows_list .head_p_btn'),function(i){ if($(this).attr('data-uid')==data.uid)$(this).remove(); }); }else if(data.like ==1){ $this.addClass('liked'); notif({msg: data.info,type: "success",position: "center",time: 3000,width: '280',}); var html =''; $this.html('  '+data.count); $('.follows_list').prepend(html); } if ( data.BonusOpRs!=null && data.BonusOpRs.op_c_points>0) { var op_c_points = "+"+data.BonusOpRs.op_c_points }else if( data.BonusOpRs!=null && data.BonusOpRs.op_c_points<0){ var op_c_points = data.BonusOpRs.op_c_points }else{ var op_c_points =""; } if(data.like==1){ $this.myClickPop(op_c_points) }else{ $this.myClickPop(op_c_points,"#000") } }else{ //notif({msg: data.info,type: "error",position: "center",time: 3000,width: '280',}); popStatus(0,data.info,3); $('.bs-example-modal-LOGIN').modal('show'); } }, error: function(){ window.location.href="/Share/MyLogin/index" notif({msg: '服务器响应失败',type: "error",position: "center",time: 3000,width: '280',}); } }); } }); $('#view .view_close').click(function(){ //window.history.pushState('', '', 'http://art.me/Works/info/17'); $('#view').fadeOut(500); }); $('.cur_s').click(function(){ $('#view2').fadeOut(500); }); $('#view2 .view_close').click(function(){ //window.history.pushState('', '', 'http://art.me/Works/info/17'); $('#view2').fadeOut(500); }); var top = window.screen.height / 2 - 250; var left = window.screen.width / 2 - 300; /*title是标题,rLink链接,summary内容,site分享来源,pic分享图片路径,分享到新浪微博*/ function shareTSina(title,rLink,site,pic) { window.open("http://service.weibo.com/share/share.php?pic=" +encodeURIComponent(pic) +"&title=" + encodeURIComponent(title.replace(/ /g, " ").replace(/
/g, " "))+ "&url=" + encodeURIComponent(rLink), "分享至新浪微博", "height=500,width=600,top=" + top + ",left=" + left + ",toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no"); } /*,分享到qq空间*/ function shareQzone(title,rLink,summary,site,pic) { window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?title='+ encodeURIComponent(title)+'&url='+encodeURIComponent(rLink)+'&summary='+ encodeURIComponent(summary)+ '&site='+encodeURIComponent(site) ,'_blank','scrollbars=no,width=600,height=450,left=' + left + ',top=' + top + ',status=no,resizable=yes'); } /*,分享到人人*/ function shareRR(title,rLink,summary){ window.open('http://share.renren.com/share/buttonshare/post/1004?title='+encodeURIComponent(title)+'&url='+ encodeURIComponent(rLink)+'&content='+encodeURIComponent(summary),'_blank', 'scrollbars=no,width=600,height=450,left=' + left + ',top=' + top + ',status=no,resizable=yes'); } //开心网 function shareKX(title,rLink,summary){ window.open('http://www.kaixin001.com/repaste/bshare.php?rtitle='+encodeURIComponent(title)+ '&rurl='+encodeURIComponent(rLink)+ '&rcontent='+encodeURIComponent(summary),'_blank', 'scrollbars=no,width=600,height=450,left=' + left + ',top=' + top + ',status=no,resizable=yes'); } //腾讯微博 function shareToWb(title,rLink,site,pic){ window.open('http://v.t.qq.com/share/share.php?url='+encodeURIComponent(rLink)+ '&title='+encodeURI(title)+'&appkey='+encodeURI(site),'_blank', 'scrollbars=no,width=600,height=450,left=' + left + ',top=' + top + ',status=no,resizable=yes'); } });
公安备案号35020502000373 | 闽ICP备19018122号-2
Powered by 衍艺圈
topart.cn
投稿邮箱: topart_news@163.com | 客服支持: topart_cn@163.com

联系我们